Browse Source

Follow header inclusion rule

adaptive-webui-19844
Chocobo1 9 years ago
parent
commit
05cbb35814
  1. 38
      src/gui/options_imp.cpp
  2. 9
      src/gui/options_imp.h

38
src/gui/options_imp.cpp

@ -28,38 +28,38 @@
* Contact : chris@qbittorrent.org * Contact : chris@qbittorrent.org
*/ */
#include <QTextStream> #include "options_imp.h"
#include <QFileDialog>
#include <QMessageBox> #include <cstdlib>
#include <QSystemTrayIcon>
#include <QApplication> #include <QApplication>
#include <QDialogButtonBox>
#include <QCloseEvent> #include <QCloseEvent>
#include <QDebug>
#include <QDesktopServices>
#include <QDesktopWidget> #include <QDesktopWidget>
#include <QDialogButtonBox>
#include <QFileDialog>
#include <QMessageBox>
#include <QSystemTrayIcon>
#include <QTranslator> #include <QTranslator>
#include <QDesktopServices>
#include <QDebug>
#include <cstdlib> #ifndef QT_NO_OPENSSL
#include <QSslCertificate>
#include <QSslKey>
#endif
#include "app/application.h" #include "app/application.h"
#include "base/preferences.h"
#include "base/utils/fs.h"
#include "base/scanfoldersmodel.h"
#include "base/bittorrent/session.h" #include "base/bittorrent/session.h"
#include "base/net/dnsupdater.h" #include "base/net/dnsupdater.h"
#include "base/unicodestrings.h" #include "base/preferences.h"
#include "base/scanfoldersmodel.h"
#include "base/torrentfileguard.h" #include "base/torrentfileguard.h"
#include "base/unicodestrings.h"
#include "base/utils/fs.h"
#include "addnewtorrentdialog.h"
#include "advancedsettings.h" #include "advancedsettings.h"
#include "guiiconprovider.h" #include "guiiconprovider.h"
#include "scanfoldersdelegate.h" #include "scanfoldersdelegate.h"
#include "addnewtorrentdialog.h"
#include "options_imp.h"
#ifndef QT_NO_OPENSSL
#include <QSslKey>
#include <QSslCertificate>
#endif
// Constructor // Constructor
options_imp::options_imp(QWidget *parent) options_imp::options_imp(QWidget *parent)

9
src/gui/options_imp.h

@ -33,6 +33,9 @@
#include "ui_options.h" #include "ui_options.h"
class QCloseEvent;
class AdvancedSettings;
// actions on double-click on torrents // actions on double-click on torrents
enum DoubleClickAction enum DoubleClickAction
{ {
@ -41,12 +44,6 @@ enum DoubleClickAction
NO_ACTION NO_ACTION
}; };
class AdvancedSettings;
QT_BEGIN_NAMESPACE
class QCloseEvent;
QT_END_NAMESPACE
class options_imp: public QDialog, private Ui_Preferences class options_imp: public QDialog, private Ui_Preferences
{ {
Q_OBJECT Q_OBJECT

Loading…
Cancel
Save