Follow header inclusion rule

This commit is contained in:
Chocobo1 2016-04-25 14:50:44 +08:00
parent 98215d2231
commit 05cbb35814
2 changed files with 25 additions and 28 deletions

View File

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

View File

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