mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 21:38:51 +03:00
Merge pull request #13948 from FranciscoPombal/pragmatism
Use #pragma once instead of include guards
This commit is contained in:
commit
c01d28a471
122 changed files with 122 additions and 488 deletions
|
@ -28,8 +28,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef APP_OPTIONS_H
|
#pragma once
|
||||||
#define APP_OPTIONS_H
|
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
@ -81,5 +80,3 @@ private:
|
||||||
|
|
||||||
QBtCommandLineParameters parseCommandLine(const QStringList &args);
|
QBtCommandLineParameters parseCommandLine(const QStringList &args);
|
||||||
void displayUsage(const QString &prgName);
|
void displayUsage(const QString &prgName);
|
||||||
|
|
||||||
#endif // APP_OPTIONS_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FILELOGGER_H
|
#pragma once
|
||||||
#define FILELOGGER_H
|
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -73,5 +72,3 @@ private:
|
||||||
QFile m_logFile;
|
QFile m_logFile;
|
||||||
QTimer m_flusher;
|
QTimer m_flusher;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // FILELOGGER_H
|
|
||||||
|
|
|
@ -66,8 +66,7 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef QTLOCALPEER_H
|
#pragma once
|
||||||
#define QTLOCALPEER_H
|
|
||||||
|
|
||||||
#include "qtlockedfile.h"
|
#include "qtlockedfile.h"
|
||||||
|
|
||||||
|
@ -99,5 +98,3 @@ protected:
|
||||||
private:
|
private:
|
||||||
static const char* ack;
|
static const char* ack;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // QTLOCALPEER_H
|
|
||||||
|
|
|
@ -66,8 +66,7 @@
|
||||||
****************************************************************************
|
****************************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef QTLOCKEDFILE_H
|
#pragma once
|
||||||
#define QTLOCKEDFILE_H
|
|
||||||
|
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
|
|
||||||
|
@ -112,5 +111,3 @@ namespace QtLP_Private
|
||||||
LockMode m_lock_mode;
|
LockMode m_lock_mode;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -18,8 +18,7 @@
|
||||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#ifndef STACKTRACE_WIN_H
|
#pragma once
|
||||||
#define STACKTRACE_WIN_H
|
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
|
@ -355,5 +354,3 @@ const QString straceWin::getBacktrace()
|
||||||
#pragma warning(pop)
|
#pragma warning(pop)
|
||||||
#pragma optimize("g", on)
|
#pragma optimize("g", on)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // STACKTRACE_WIN_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef STACKTRACEDIALOG_H
|
#pragma once
|
||||||
#define STACKTRACEDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -51,5 +50,3 @@ public:
|
||||||
private:
|
private:
|
||||||
Ui::StacktraceDialog *m_ui;
|
Ui::StacktraceDialog *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // STACKTRACEDIALOG_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BANDWIDTHSCHEDULER_H
|
#pragma once
|
||||||
#define BANDWIDTHSCHEDULER_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
@ -52,5 +51,3 @@ private:
|
||||||
QTimer m_timer;
|
QTimer m_timer;
|
||||||
bool m_lastAlternative;
|
bool m_lastAlternative;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // BANDWIDTHSCHEDULER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_CACHESTATUS_H
|
#pragma once
|
||||||
#define BITTORRENT_CACHESTATUS_H
|
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
|
@ -42,5 +41,3 @@ namespace BitTorrent
|
||||||
qreal readRatio = 0.0;
|
qreal readRatio = 0.0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BITTORRENT_CACHESTATUS_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FILTERPARSERTHREAD_H
|
#pragma once
|
||||||
#define FILTERPARSERTHREAD_H
|
|
||||||
|
|
||||||
#include <libtorrent/ip_filter.hpp>
|
#include <libtorrent/ip_filter.hpp>
|
||||||
|
|
||||||
|
@ -64,5 +63,3 @@ private:
|
||||||
QString m_filePath;
|
QString m_filePath;
|
||||||
lt::ip_filter m_filter;
|
lt::ip_filter m_filter;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // BITTORRENT_FILTERPARSERTHREAD_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_MAGNETURI_H
|
#pragma once
|
||||||
#define BITTORRENT_MAGNETURI_H
|
|
||||||
|
|
||||||
#include <libtorrent/add_torrent_params.hpp>
|
#include <libtorrent/add_torrent_params.hpp>
|
||||||
|
|
||||||
|
@ -65,5 +64,3 @@ namespace BitTorrent
|
||||||
lt::add_torrent_params m_addTorrentParams;
|
lt::add_torrent_params m_addTorrentParams;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BITTORRENT_MAGNETURI_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_PEERINFO_H
|
#pragma once
|
||||||
#define BITTORRENT_PEERINFO_H
|
|
||||||
|
|
||||||
#include <libtorrent/peer_info.hpp>
|
#include <libtorrent/peer_info.hpp>
|
||||||
|
|
||||||
|
@ -104,5 +103,3 @@ namespace BitTorrent
|
||||||
mutable QString m_country;
|
mutable QString m_country;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BITTORRENT_PEERINFO_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_SESSION_H
|
#pragma once
|
||||||
#define BITTORRENT_SESSION_H
|
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -801,5 +800,3 @@ namespace BitTorrent
|
||||||
Q_DECLARE_METATYPE(std::shared_ptr<lt::entry>)
|
Q_DECLARE_METATYPE(std::shared_ptr<lt::entry>)
|
||||||
const int sharedPtrLtEntryTypeID = qRegisterMetaType<std::shared_ptr<lt::entry>>();
|
const int sharedPtrLtEntryTypeID = qRegisterMetaType<std::shared_ptr<lt::entry>>();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // BITTORRENT_SESSION_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_SESSIONSTATUS_H
|
#pragma once
|
||||||
#define BITTORRENT_SESSIONSTATUS_H
|
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
|
@ -74,5 +73,3 @@ namespace BitTorrent
|
||||||
quint64 peersCount = 0;
|
quint64 peersCount = 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BITTORRENT_SESSIONSTATUS_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SPEEDMONITOR_H
|
#pragma once
|
||||||
#define SPEEDMONITOR_H
|
|
||||||
|
|
||||||
#ifndef Q_MOC_RUN
|
#ifndef Q_MOC_RUN
|
||||||
#include <boost/circular_buffer.hpp>
|
#include <boost/circular_buffer.hpp>
|
||||||
|
@ -86,5 +85,3 @@ private:
|
||||||
boost::circular_buffer<SpeedSample> m_speedSamples;
|
boost::circular_buffer<SpeedSample> m_speedSamples;
|
||||||
SpeedSample m_sum;
|
SpeedSample m_sum;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SPEEDMONITOR_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef STATISTICS_H
|
#pragma once
|
||||||
#define STATISTICS_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
@ -67,5 +66,3 @@ private:
|
||||||
|
|
||||||
QTimer m_timer;
|
QTimer m_timer;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // STATISTICS_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_TORRENTCREATORTHREAD_H
|
#pragma once
|
||||||
#define BITTORRENT_TORRENTCREATORTHREAD_H
|
|
||||||
|
|
||||||
#include <libtorrent/version.hpp>
|
#include <libtorrent/version.hpp>
|
||||||
|
|
||||||
|
@ -94,5 +93,3 @@ namespace BitTorrent
|
||||||
TorrentCreatorParams m_params;
|
TorrentCreatorParams m_params;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BITTORRENT_TORRENTCREATORTHREAD_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_TORRENTINFO_H
|
#pragma once
|
||||||
#define BITTORRENT_TORRENTINFO_H
|
|
||||||
|
|
||||||
#include <libtorrent/torrent_info.hpp>
|
#include <libtorrent/torrent_info.hpp>
|
||||||
|
|
||||||
|
@ -105,5 +104,3 @@ namespace BitTorrent
|
||||||
std::shared_ptr<lt::torrent_info> m_nativeInfo;
|
std::shared_ptr<lt::torrent_info> m_nativeInfo;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BITTORRENT_TORRENTINFO_H
|
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_TRACKER_H
|
#pragma once
|
||||||
#define BITTORRENT_TRACKER_H
|
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -106,5 +105,3 @@ namespace BitTorrent
|
||||||
QHash<InfoHash, TorrentStats> m_torrents;
|
QHash<InfoHash, TorrentStats> m_torrents;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BITTORRENT_TRACKER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BITTORRENT_TRACKERENTRY_H
|
#pragma once
|
||||||
#define BITTORRENT_TRACKERENTRY_H
|
|
||||||
|
|
||||||
#include <libtorrent/announce_entry.hpp>
|
#include <libtorrent/announce_entry.hpp>
|
||||||
|
|
||||||
|
@ -73,5 +72,3 @@ namespace BitTorrent
|
||||||
bool operator==(const TrackerEntry &left, const TrackerEntry &right);
|
bool operator==(const TrackerEntry &left, const TrackerEntry &right);
|
||||||
uint qHash(const TrackerEntry &key, uint seed);
|
uint qHash(const TrackerEntry &key, uint seed);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BITTORRENT_TRACKERENTRY_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FILESYSTEMWATCHER_H
|
#pragma once
|
||||||
#define FILESYSTEMWATCHER_H
|
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QFileSystemWatcher>
|
#include <QFileSystemWatcher>
|
||||||
|
@ -69,5 +68,3 @@ private:
|
||||||
QVector<QDir> m_watchedFolders;
|
QVector<QDir> m_watchedFolders;
|
||||||
QTimer m_watchTimer;
|
QTimer m_watchTimer;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // FILESYSTEMWATCHER_H
|
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef HTTP_CONNECTION_H
|
#pragma once
|
||||||
#define HTTP_CONNECTION_H
|
|
||||||
|
|
||||||
#include <QElapsedTimer>
|
#include <QElapsedTimer>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -66,5 +65,3 @@ namespace Http
|
||||||
QElapsedTimer m_idleTimer;
|
QElapsedTimer m_idleTimer;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HTTP_CONNECTION_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HTTP_IREQUESTHANDLER_H
|
#pragma once
|
||||||
#define HTTP_IREQUESTHANDLER_H
|
|
||||||
|
|
||||||
namespace Http
|
namespace Http
|
||||||
{
|
{
|
||||||
|
@ -42,5 +41,3 @@ namespace Http
|
||||||
virtual Response processRequest(const Request &request, const Environment &env) = 0;
|
virtual Response processRequest(const Request &request, const Environment &env) = 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HTTP_IREQUESTHANDLER_H
|
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HTTP_REQUESTPARSER_H
|
#pragma once
|
||||||
#define HTTP_REQUESTPARSER_H
|
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
|
@ -70,5 +69,3 @@ namespace Http
|
||||||
Request m_request;
|
Request m_request;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HTTP_REQUESTPARSER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HTTP_RESPONSEBUILDER_H
|
#pragma once
|
||||||
#define HTTP_RESPONSEBUILDER_H
|
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
|
@ -50,5 +49,3 @@ namespace Http
|
||||||
Response m_response;
|
Response m_response;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HTTP_RESPONSEBUILDER_H
|
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef HTTP_RESPONSEGENERATOR_H
|
#pragma once
|
||||||
#define HTTP_RESPONSEGENERATOR_H
|
|
||||||
|
|
||||||
class QByteArray;
|
class QByteArray;
|
||||||
class QString;
|
class QString;
|
||||||
|
@ -42,5 +41,3 @@ namespace Http
|
||||||
QString httpDate();
|
QString httpDate();
|
||||||
void compressContent(Response &response);
|
void compressContent(Response &response);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HTTP_RESPONSEGENERATOR_H
|
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#ifndef HTTP_SERVER_H
|
#pragma once
|
||||||
#define HTTP_SERVER_H
|
|
||||||
|
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
#include <QSslCertificate>
|
#include <QSslCertificate>
|
||||||
|
@ -67,5 +66,3 @@ namespace Http
|
||||||
QSslKey m_key;
|
QSslKey m_key;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HTTP_SERVER_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HTTP_TYPES_H
|
#pragma once
|
||||||
#define HTTP_TYPES_H
|
|
||||||
|
|
||||||
#include <QHostAddress>
|
#include <QHostAddress>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
@ -127,5 +126,3 @@ namespace Http
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // HTTP_TYPES_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ICONPROVIDER_H
|
#pragma once
|
||||||
#define ICONPROVIDER_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -51,5 +50,3 @@ protected:
|
||||||
|
|
||||||
static IconProvider *m_instance;
|
static IconProvider *m_instance;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ICONPROVIDER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef QBT_INDEXRANGE_H
|
#pragma once
|
||||||
#define QBT_INDEXRANGE_H
|
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
|
@ -169,5 +168,3 @@ private:
|
||||||
IndexType m_first;
|
IndexType m_first;
|
||||||
IndexDiffType m_size;
|
IndexDiffType m_size;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // QBT_INDEXRANGE_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef LOGGER_H
|
#pragma once
|
||||||
#define LOGGER_H
|
|
||||||
|
|
||||||
#include <boost/circular_buffer.hpp>
|
#include <boost/circular_buffer.hpp>
|
||||||
|
|
||||||
|
@ -103,5 +102,3 @@ private:
|
||||||
|
|
||||||
// Helper function
|
// Helper function
|
||||||
void LogMsg(const QString &message, const Log::MsgType &type = Log::NORMAL);
|
void LogMsg(const QString &message, const Log::MsgType &type = Log::NORMAL);
|
||||||
|
|
||||||
#endif // LOGGER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DNSUPDATER_H
|
#pragma once
|
||||||
#define DNSUPDATER_H
|
|
||||||
|
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
#include <QHostAddress>
|
#include <QHostAddress>
|
||||||
|
@ -84,5 +83,3 @@ namespace Net
|
||||||
QString m_password;
|
QString m_password;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // DNSUPDATER_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NET_DOWNLOADMANAGER_H
|
#pragma once
|
||||||
#define NET_DOWNLOADMANAGER_H
|
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QNetworkAccessManager>
|
#include <QNetworkAccessManager>
|
||||||
|
@ -159,5 +158,3 @@ namespace Net
|
||||||
connect(handler, &DownloadHandler::finished, context, slot);
|
connect(handler, &DownloadHandler::finished, context, slot);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // NET_DOWNLOADMANAGER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GEOIPDATABASE_H
|
#pragma once
|
||||||
#define GEOIPDATABASE_H
|
|
||||||
|
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
@ -100,5 +99,3 @@ private:
|
||||||
quint32 m_size;
|
quint32 m_size;
|
||||||
uchar *m_data;
|
uchar *m_data;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // GEOIPDATABASE_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NET_GEOIPMANAGER_H
|
#pragma once
|
||||||
#define NET_GEOIPMANAGER_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -73,5 +72,3 @@ namespace Net
|
||||||
static GeoIPManager *m_instance;
|
static GeoIPManager *m_instance;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // NET_GEOIPMANAGER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NET_PORTFORWARDER_H
|
#pragma once
|
||||||
#define NET_PORTFORWARDER_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -53,5 +52,3 @@ namespace Net
|
||||||
static PortForwarder *m_instance;
|
static PortForwarder *m_instance;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // NET_PORTFORWARDER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NET_PROXYCONFIGURATIONMANAGER_H
|
#pragma once
|
||||||
#define NET_PROXYCONFIGURATIONMANAGER_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -85,5 +84,3 @@ namespace Net
|
||||||
bool m_isProxyOnlyForTorrents;
|
bool m_isProxyOnlyForTorrents;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // NET_PROXYCONFIGURATIONMANAGER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NET_REVERSERESOLUTION_H
|
#pragma once
|
||||||
#define NET_REVERSERESOLUTION_H
|
|
||||||
|
|
||||||
#include <QCache>
|
#include <QCache>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
@ -60,5 +59,3 @@ namespace Net
|
||||||
QCache<QHostAddress, QString> m_cache; // <IP, HostName>
|
QCache<QHostAddress, QString> m_cache; // <IP, HostName>
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // NET_REVERSERESOLUTION_H
|
|
||||||
|
|
|
@ -30,8 +30,7 @@
|
||||||
* This code is based on QxtSmtp from libqxt (http://libqxt.org)
|
* This code is based on QxtSmtp from libqxt (http://libqxt.org)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SMTP_H
|
#pragma once
|
||||||
#define SMTP_H
|
|
||||||
|
|
||||||
#include <QAbstractSocket>
|
#include <QAbstractSocket>
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
|
@ -119,5 +118,3 @@ namespace Net
|
||||||
QString m_password;
|
QString m_password;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SMTP_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PREFERENCES_H
|
#pragma once
|
||||||
#define PREFERENCES_H
|
|
||||||
|
|
||||||
#include <QtContainerFwd>
|
#include <QtContainerFwd>
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
|
@ -403,5 +402,3 @@ public slots:
|
||||||
|
|
||||||
void apply();
|
void apply();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PREFERENCES_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef QBT_PROFILE_H
|
#pragma once
|
||||||
#define QBT_PROFILE_H
|
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
@ -82,5 +81,3 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
QString specialFolderLocation(SpecialFolder folder);
|
QString specialFolderLocation(SpecialFolder folder);
|
||||||
|
|
||||||
#endif // QBT_PROFILE_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef QBT_PROFILE_P_H
|
#pragma once
|
||||||
#define QBT_PROFILE_P_H
|
|
||||||
|
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
@ -132,5 +131,3 @@ namespace Private
|
||||||
QDir m_baseDir;
|
QDir m_baseDir;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // QBT_PROFILE_P_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SCANFOLDERSMODEL_H
|
#pragma once
|
||||||
#define SCANFOLDERSMODEL_H
|
|
||||||
|
|
||||||
#include <QAbstractListModel>
|
#include <QAbstractListModel>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
@ -110,5 +109,3 @@ private:
|
||||||
QList<PathData*> m_pathList;
|
QList<PathData*> m_pathList;
|
||||||
FileSystemWatcher *m_fsWatcher;
|
FileSystemWatcher *m_fsWatcher;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SCANFOLDERSMODEL_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SETTINGSSTORAGE_H
|
#pragma once
|
||||||
#define SETTINGSSTORAGE_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QReadWriteLock>
|
#include <QReadWriteLock>
|
||||||
|
@ -61,5 +60,3 @@ private:
|
||||||
QTimer m_timer;
|
QTimer m_timer;
|
||||||
mutable QReadWriteLock m_lock;
|
mutable QReadWriteLock m_lock;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SETTINGSSTORAGE_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SETTINGVALUE_H
|
#pragma once
|
||||||
#define SETTINGVALUE_H
|
|
||||||
|
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
@ -114,5 +113,3 @@ private:
|
||||||
const QString m_keyName;
|
const QString m_keyName;
|
||||||
T m_value;
|
T m_value;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SETTINGVALUE_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TORRENTFILTER_H
|
#pragma once
|
||||||
#define TORRENTFILTER_H
|
|
||||||
|
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
@ -102,5 +101,3 @@ private:
|
||||||
QString m_tag;
|
QString m_tag;
|
||||||
InfoHashSet m_hashSet;
|
InfoHashSet m_hashSet;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // TORRENTFILTER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TRISTATEBOOL_H
|
#pragma once
|
||||||
#define TRISTATEBOOL_H
|
|
||||||
|
|
||||||
class TriStateBool
|
class TriStateBool
|
||||||
{
|
{
|
||||||
|
@ -68,5 +67,3 @@ constexpr bool operator!=(const TriStateBool &left, const TriStateBool &right)
|
||||||
{
|
{
|
||||||
return !(left == right);
|
return !(left == right);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // TRISTATEBOOL_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TYPES_H
|
#pragma once
|
||||||
#define TYPES_H
|
|
||||||
|
|
||||||
#include <QtContainerFwd>
|
#include <QtContainerFwd>
|
||||||
|
|
||||||
|
@ -42,5 +41,3 @@ enum class ShutdownDialogAction
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef QMap<QString, QString> QStringMap;
|
typedef QMap<QString, QString> QStringMap;
|
||||||
|
|
||||||
#endif // TYPES_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef UTILS_FS_H
|
#pragma once
|
||||||
#define UTILS_FS_H
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Utility functions related to file system.
|
* Utility functions related to file system.
|
||||||
|
@ -79,5 +78,3 @@ namespace Utils
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // UTILS_FS_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef UTILS_GZIP_H
|
#pragma once
|
||||||
#define UTILS_GZIP_H
|
|
||||||
|
|
||||||
class QByteArray;
|
class QByteArray;
|
||||||
|
|
||||||
|
@ -40,5 +39,3 @@ namespace Utils
|
||||||
QByteArray decompress(const QByteArray &data, bool *ok = nullptr);
|
QByteArray decompress(const QByteArray &data, bool *ok = nullptr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // UTILS_GZIP_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef UTILS_MISC_H
|
#pragma once
|
||||||
#define UTILS_MISC_H
|
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
|
|
||||||
|
@ -108,5 +107,3 @@ namespace Utils
|
||||||
#endif // Q_OS_WIN
|
#endif // Q_OS_WIN
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // UTILS_MISC_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BASE_UTILS_NET_H
|
#pragma once
|
||||||
#define BASE_UTILS_NET_H
|
|
||||||
|
|
||||||
#include <QHostAddress>
|
#include <QHostAddress>
|
||||||
#include <QtContainerFwd>
|
#include <QtContainerFwd>
|
||||||
|
@ -57,5 +56,3 @@ namespace Utils
|
||||||
bool isSSLKeyValid(const QByteArray &data);
|
bool isSSLKeyValid(const QByteArray &data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // BASE_UTILS_NET_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef UTILS_RANDOM_H
|
#pragma once
|
||||||
#define UTILS_RANDOM_H
|
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
@ -39,5 +38,3 @@ namespace Utils
|
||||||
uint32_t rand(uint32_t min = 0, uint32_t max = std::numeric_limits<uint32_t>::max());
|
uint32_t rand(uint32_t min = 0, uint32_t max = std::numeric_limits<uint32_t>::max());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // UTILS_FS_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef UTILS_STRING_H
|
#pragma once
|
||||||
#define UTILS_STRING_H
|
|
||||||
|
|
||||||
#include <QChar>
|
#include <QChar>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
@ -74,5 +73,3 @@ namespace Utils
|
||||||
QString join(const QVector<QStringRef> &strings, const QString &separator);
|
QString join(const QVector<QStringRef> &strings, const QString &separator);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // UTILS_STRING_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef QBITTORRENT_UTILS_VERSION_H
|
#pragma once
|
||||||
#define QBITTORRENT_UTILS_VERSION_H
|
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
@ -212,5 +211,3 @@ namespace Utils
|
||||||
return !(left < right);
|
return !(left < right);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // QBITTORRENT_UTILS_VERSION_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ABOUTDIALOG_H
|
#pragma once
|
||||||
#define ABOUTDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -48,5 +47,3 @@ public:
|
||||||
private:
|
private:
|
||||||
Ui::AboutDialog *m_ui;
|
Ui::AboutDialog *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ABOUTDIALOG_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ADDNEWTORRENTDIALOG_H
|
#pragma once
|
||||||
#define ADDNEWTORRENTDIALOG_H
|
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
@ -122,5 +121,3 @@ private:
|
||||||
CachedSettingValue<QSize> m_storeDialogSize;
|
CachedSettingValue<QSize> m_storeDialogSize;
|
||||||
CachedSettingValue<QByteArray> m_storeSplitterState;
|
CachedSettingValue<QByteArray> m_storeSplitterState;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ADDNEWTORRENTDIALOG_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ADVANCEDSETTINGS_H
|
#pragma once
|
||||||
#define ADVANCEDSETTINGS_H
|
|
||||||
|
|
||||||
#include <libtorrent/version.hpp>
|
#include <libtorrent/version.hpp>
|
||||||
|
|
||||||
|
@ -86,5 +85,3 @@ private:
|
||||||
QComboBox m_comboBoxOSMemoryPriority;
|
QComboBox m_comboBoxOSMemoryPriority;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ADVANCEDSETTINGS_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AUTOEXPANDABLEDIALOG_H
|
#pragma once
|
||||||
#define AUTOEXPANDABLEDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
|
@ -57,5 +56,3 @@ protected:
|
||||||
private:
|
private:
|
||||||
Ui::AutoExpandableDialog *m_ui;
|
Ui::AutoExpandableDialog *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AUTOEXPANDABLEDIALOG_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef BANLISTOPTIONSDIALOG_H
|
#pragma once
|
||||||
#define BANLISTOPTIONSDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -59,5 +58,3 @@ private:
|
||||||
QSortFilterProxyModel *m_sortFilter;
|
QSortFilterProxyModel *m_sortFilter;
|
||||||
bool m_modified;
|
bool m_modified;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // BANLISTOPTIONSDIALOG_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CATEGORYFILTERMODEL_H
|
#pragma once
|
||||||
#define CATEGORYFILTERMODEL_H
|
|
||||||
|
|
||||||
#include <QAbstractItemModel>
|
#include <QAbstractItemModel>
|
||||||
|
|
||||||
|
@ -77,5 +76,3 @@ private:
|
||||||
bool m_isSubcategoriesEnabled;
|
bool m_isSubcategoriesEnabled;
|
||||||
CategoryModelItem *m_rootItem;
|
CategoryModelItem *m_rootItem;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CATEGORYFILTERMODEL_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CATEGORYFILTERPROXYMODEL_H
|
#pragma once
|
||||||
#define CATEGORYFILTERPROXYMODEL_H
|
|
||||||
|
|
||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
|
|
||||||
|
@ -49,5 +48,3 @@ private:
|
||||||
// we added another overload of index(), hence this using directive:
|
// we added another overload of index(), hence this using directive:
|
||||||
using QSortFilterProxyModel::index;
|
using QSortFilterProxyModel::index;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // CATEGORYFILTERPROXYMODEL_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef COOKIESDIALOG_H
|
#pragma once
|
||||||
#define COOKIESDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -57,5 +56,3 @@ private:
|
||||||
Ui::CookiesDialog *m_ui;
|
Ui::CookiesDialog *m_ui;
|
||||||
CookiesModel *m_cookiesModel;
|
CookiesModel *m_cookiesModel;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // COOKIESDIALOG_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef COOKIESMODEL_H
|
#pragma once
|
||||||
#define COOKIESMODEL_H
|
|
||||||
|
|
||||||
#include <QAbstractItemModel>
|
#include <QAbstractItemModel>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
|
@ -70,5 +69,3 @@ public:
|
||||||
private:
|
private:
|
||||||
mutable QList<QNetworkCookie> m_cookies;
|
mutable QList<QNetworkCookie> m_cookies;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // COOKIESMODEL_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DELETIONCONFIRMATIONDIALOG_H
|
#pragma once
|
||||||
#define DELETIONCONFIRMATIONDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -55,5 +54,3 @@ private slots:
|
||||||
private:
|
private:
|
||||||
Ui::DeletionConfirmationDialog *m_ui;
|
Ui::DeletionConfirmationDialog *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DELETIONCONFIRMATIONDIALOG_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DOWNLOADFROMURL_H
|
#pragma once
|
||||||
#define DOWNLOADFROMURL_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -54,5 +53,3 @@ private slots:
|
||||||
private:
|
private:
|
||||||
Ui::DownloadFromURLDialog *m_ui;
|
Ui::DownloadFromURLDialog *m_ui;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DOWNLOADFROMURL_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef EXECUTIONLOGWIDGET_H
|
#pragma once
|
||||||
#define EXECUTIONLOGWIDGET_H
|
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
|
@ -58,5 +57,3 @@ private:
|
||||||
Ui::ExecutionLogWidget *m_ui;
|
Ui::ExecutionLogWidget *m_ui;
|
||||||
LogFilterModel *m_messageFilterModel;
|
LogFilterModel *m_messageFilterModel;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // EXECUTIONLOGWIDGET_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef QBT_FSPATHEDIT_H
|
#pragma once
|
||||||
#define QBT_FSPATHEDIT_H
|
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
|
@ -149,5 +148,3 @@ private:
|
||||||
QString editWidgetText() const override;
|
QString editWidgetText() const override;
|
||||||
void setEditWidgetText(const QString &text) override;
|
void setEditWidgetText(const QString &text) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // QBT_FSPATHEDIT_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef QBT_GUI_FSPATHEDIT_P_H
|
#pragma once
|
||||||
#define QBT_GUI_FSPATHEDIT_P_H
|
|
||||||
|
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
#include <QFileIconProvider>
|
#include <QFileIconProvider>
|
||||||
|
@ -157,5 +156,3 @@ namespace Private
|
||||||
QString text() const;
|
QString text() const;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // QBT_GUI_FSPATHEDIT_P_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HIDABLETABWIDGET_H
|
#pragma once
|
||||||
#define HIDABLETABWIDGET_H
|
|
||||||
|
|
||||||
#include <QTabWidget>
|
#include <QTabWidget>
|
||||||
|
|
||||||
|
@ -48,5 +47,3 @@ private:
|
||||||
void paintEvent(QPaintEvent *event) override;
|
void paintEvent(QPaintEvent *event) override;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // HIDABLETABWIDGET_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPTIONS_IPSUBNETWHITELIST_H
|
#pragma once
|
||||||
#define OPTIONS_IPSUBNETWHITELIST_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -60,5 +59,3 @@ private:
|
||||||
QSortFilterProxyModel *m_sortFilter;
|
QSortFilterProxyModel *m_sortFilter;
|
||||||
bool m_modified;
|
bool m_modified;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // OPTIONS_IPSUBNETWHITELIST_H
|
|
||||||
|
|
|
@ -7,8 +7,7 @@
|
||||||
**
|
**
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef LINEEDIT_H
|
#pragma once
|
||||||
#define LINEEDIT_H
|
|
||||||
|
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
|
|
||||||
|
@ -28,5 +27,3 @@ protected:
|
||||||
private:
|
private:
|
||||||
QToolButton *m_searchButton;
|
QToolButton *m_searchButton;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LIENEDIT_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MACUTILITIES_H
|
#pragma once
|
||||||
#define MACUTILITIES_H
|
|
||||||
|
|
||||||
#include <objc/objc.h>
|
#include <objc/objc.h>
|
||||||
|
|
||||||
|
@ -44,5 +43,3 @@ namespace MacUtils
|
||||||
void displayNotification(const QString &title, const QString &message);
|
void displayNotification(const QString &title, const QString &message);
|
||||||
void openFiles(const QSet<QString> &pathsList);
|
void openFiles(const QSet<QString> &pathsList);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // MACUTILITIES_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef MAINWINDOW_H
|
#pragma once
|
||||||
#define MAINWINDOW_H
|
|
||||||
|
|
||||||
#include <QMainWindow>
|
#include <QMainWindow>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
@ -263,5 +262,3 @@ private:
|
||||||
bool m_hasPython;
|
bool m_hasPython;
|
||||||
QMenu *m_toolbarMenu;
|
QMenu *m_toolbarMenu;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MAINWINDOW_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OPTIONSDIALOG_H
|
#pragma once
|
||||||
#define OPTIONSDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -183,5 +182,3 @@ private:
|
||||||
QList<QString> m_addedScanDirs;
|
QList<QString> m_addedScanDirs;
|
||||||
QList<QString> m_removedScanDirs;
|
QList<QString> m_removedScanDirs;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // OPTIONSDIALOG_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef POWERMANAGEMENT_H
|
#pragma once
|
||||||
#define POWERMANAGEMENT_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -64,5 +63,3 @@ private:
|
||||||
IOPMAssertionID m_assertionID;
|
IOPMAssertionID m_assertionID;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // POWERMANAGEMENT_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef POWERMANAGEMENTINHIBITOR_H
|
#pragma once
|
||||||
#define POWERMANAGEMENTINHIBITOR_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -63,5 +62,3 @@ private:
|
||||||
|
|
||||||
bool m_useGSM;
|
bool m_useGSM;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // POWERMANAGEMENTINHIBITOR_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PREVIEWLISTDELEGATE_H
|
#pragma once
|
||||||
#define PREVIEWLISTDELEGATE_H
|
|
||||||
|
|
||||||
#include <QItemDelegate>
|
#include <QItemDelegate>
|
||||||
|
|
||||||
|
@ -43,5 +42,3 @@ private:
|
||||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override;
|
||||||
QWidget *createEditor(QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const override;
|
QWidget *createEditor(QWidget *, const QStyleOptionViewItem &, const QModelIndex &) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PREVIEWLISTDELEGATE_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PREVIEWSELECTDIALOG_H
|
#pragma once
|
||||||
#define PREVIEWSELECTDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
@ -86,5 +85,3 @@ private:
|
||||||
CachedSettingValue<QSize> m_storeDialogSize;
|
CachedSettingValue<QSize> m_storeDialogSize;
|
||||||
CachedSettingValue<QByteArray> m_storeTreeHeaderState;
|
CachedSettingValue<QByteArray> m_storeTreeHeaderState;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PREVIEWSELECTDIALOG_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PROGRAMUPDATER_H
|
#pragma once
|
||||||
#define PROGRAMUPDATER_H
|
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
|
@ -59,5 +58,3 @@ private:
|
||||||
QString m_updateUrl;
|
QString m_updateUrl;
|
||||||
bool m_invokedByUser;
|
bool m_invokedByUser;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PROGRAMUPDATER_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef DOWNLOADEDPIECESBAR_H
|
#pragma once
|
||||||
#define DOWNLOADEDPIECESBAR_H
|
|
||||||
|
|
||||||
#include <QBitArray>
|
#include <QBitArray>
|
||||||
#include <QtContainerFwd>
|
#include <QtContainerFwd>
|
||||||
|
@ -63,5 +62,3 @@ private:
|
||||||
QBitArray m_pieces;
|
QBitArray m_pieces;
|
||||||
QBitArray m_downloadedPieces;
|
QBitArray m_downloadedPieces;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DOWNLOADEDPIECESBAR_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PEERLISTSORTMODEL_H
|
#pragma once
|
||||||
#define PEERLISTSORTMODEL_H
|
|
||||||
|
|
||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
|
|
||||||
|
@ -47,5 +46,3 @@ public:
|
||||||
private:
|
private:
|
||||||
bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
|
bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PEERLISTSORTMODEL_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PEERLISTWIDGET_H
|
#pragma once
|
||||||
#define PEERLISTWIDGET_H
|
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
|
@ -109,5 +108,3 @@ private:
|
||||||
QHash<QHostAddress, QSet<QStandardItem *>> m_itemsByIP; // must be kept in sync with `m_peerItems`
|
QHash<QHostAddress, QSet<QStandardItem *>> m_itemsByIP; // must be kept in sync with `m_peerItems`
|
||||||
bool m_resolveCountries;
|
bool m_resolveCountries;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PEERLISTWIDGET_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PEERADDITION_H
|
#pragma once
|
||||||
#define PEERADDITION_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QVector>
|
#include <QVector>
|
||||||
|
@ -56,5 +55,3 @@ private:
|
||||||
Ui::PeersAdditionDialog *m_ui;
|
Ui::PeersAdditionDialog *m_ui;
|
||||||
QVector<BitTorrent::PeerAddress> m_peersList;
|
QVector<BitTorrent::PeerAddress> m_peersList;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PEERADDITION_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PIECEAVAILABILITYBAR_H
|
#pragma once
|
||||||
#define PIECEAVAILABILITYBAR_H
|
|
||||||
|
|
||||||
#include "piecesbar.h"
|
#include "piecesbar.h"
|
||||||
|
|
||||||
|
@ -56,5 +55,3 @@ private:
|
||||||
// scale int vector to float vector
|
// scale int vector to float vector
|
||||||
QVector<float> intToFloatVector(const QVector<int> &vecin, int reqSize);
|
QVector<float> intToFloatVector(const QVector<int> &vecin, int reqSize);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PIECEAVAILABILITYBAR_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PIECESBAR_H
|
#pragma once
|
||||||
#define PIECESBAR_H
|
|
||||||
|
|
||||||
#include <QColor>
|
#include <QColor>
|
||||||
#include <QImage>
|
#include <QImage>
|
||||||
|
@ -95,5 +94,3 @@ private:
|
||||||
bool m_hovered;
|
bool m_hovered;
|
||||||
QRect m_highlitedRegion; //!< part of the bar can be highlighted; this rectangle is in the same frame as m_image
|
QRect m_highlitedRegion; //!< part of the bar can be highlighted; this rectangle is in the same frame as m_image
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PIECESBAR_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PROPERTIESWIDGET_H
|
#pragma once
|
||||||
#define PROPERTIESWIDGET_H
|
|
||||||
|
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
@ -125,5 +124,3 @@ private:
|
||||||
LineEdit *m_contentFilterLine;
|
LineEdit *m_contentFilterLine;
|
||||||
int m_handleWidth;
|
int m_handleWidth;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PROPERTIESWIDGET_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PROPLISTDELEGATE_H
|
#pragma once
|
||||||
#define PROPLISTDELEGATE_H
|
|
||||||
|
|
||||||
#include "gui/progressbardelegate.h"
|
#include "gui/progressbardelegate.h"
|
||||||
|
|
||||||
|
@ -71,5 +70,3 @@ private:
|
||||||
|
|
||||||
PropertiesWidget *m_properties;
|
PropertiesWidget *m_properties;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PROPLISTDELEGATE_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PROPTABBAR_H
|
#pragma once
|
||||||
#define PROPTABBAR_H
|
|
||||||
|
|
||||||
#include <QHBoxLayout>
|
#include <QHBoxLayout>
|
||||||
|
|
||||||
|
@ -64,5 +63,3 @@ private:
|
||||||
QButtonGroup *m_btnGroup;
|
QButtonGroup *m_btnGroup;
|
||||||
int m_currentIndex;
|
int m_currentIndex;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PROPTABBAR_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SPEEDPLOTVIEW_H
|
#pragma once
|
||||||
#define SPEEDPLOTVIEW_H
|
|
||||||
|
|
||||||
#ifndef Q_MOC_RUN
|
#ifndef Q_MOC_RUN
|
||||||
#include <boost/circular_buffer.hpp>
|
#include <boost/circular_buffer.hpp>
|
||||||
|
@ -131,5 +130,3 @@ private:
|
||||||
TimePeriod m_period;
|
TimePeriod m_period;
|
||||||
int m_viewablePointsCount;
|
int m_viewablePointsCount;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SPEEDPLOTVIEW_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SPEEDWIDGET_H
|
#pragma once
|
||||||
#define SPEEDWIDGET_H
|
|
||||||
|
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
@ -80,5 +79,3 @@ private:
|
||||||
QMenu *m_graphsMenu;
|
QMenu *m_graphsMenu;
|
||||||
QList<QAction *> m_graphsMenuActions;
|
QList<QAction *> m_graphsMenuActions;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SPEEDWIDGET_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TRACKERLIST_H
|
#pragma once
|
||||||
#define TRACKERLIST_H
|
|
||||||
|
|
||||||
#include <QTreeWidget>
|
#include <QTreeWidget>
|
||||||
#include <QtContainerFwd>
|
#include <QtContainerFwd>
|
||||||
|
@ -95,5 +94,3 @@ private:
|
||||||
QTreeWidgetItem *m_PEXItem;
|
QTreeWidgetItem *m_PEXItem;
|
||||||
QTreeWidgetItem *m_LSDItem;
|
QTreeWidgetItem *m_LSDItem;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // TRACKERLIST_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TRACKERSADDITION_H
|
#pragma once
|
||||||
#define TRACKERSADDITION_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QtContainerFwd>
|
#include <QtContainerFwd>
|
||||||
|
@ -68,5 +67,3 @@ private:
|
||||||
Ui::TrackersAdditionDialog *m_ui;
|
Ui::TrackersAdditionDialog *m_ui;
|
||||||
BitTorrent::TorrentHandle *const m_torrent;
|
BitTorrent::TorrentHandle *const m_torrent;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // TRACKERSADDITION_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef RAISEDMESSAGEBOX_H
|
#pragma once
|
||||||
#define RAISEDMESSAGEBOX_H
|
|
||||||
|
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
|
@ -52,5 +51,3 @@ private:
|
||||||
|
|
||||||
static QMessageBox::StandardButton impl(const QMessageBox::Icon &icon, QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);
|
static QMessageBox::StandardButton impl(const QMessageBox::Icon &icon, QWidget *parent, const QString &title, const QString &text, QMessageBox::StandardButtons buttons = QMessageBox::Ok, QMessageBox::StandardButton defaultButton = QMessageBox::NoButton);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // RAISEDMESSAGEBOX_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ARTICLELISTWIDGET_H
|
#pragma once
|
||||||
#define ARTICLELISTWIDGET_H
|
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QListWidget>
|
#include <QListWidget>
|
||||||
|
@ -63,5 +62,3 @@ private:
|
||||||
bool m_unreadOnly = false;
|
bool m_unreadOnly = false;
|
||||||
QHash<RSS::Article *, QListWidgetItem *> m_rssArticleToListItemMapping;
|
QHash<RSS::Article *, QListWidgetItem *> m_rssArticleToListItemMapping;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ARTICLELISTWIDGET_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AUTOMATEDRSSDOWNLOADER_H
|
#pragma once
|
||||||
#define AUTOMATEDRSSDOWNLOADER_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
|
@ -106,5 +105,3 @@ private:
|
||||||
QHash<QString, QListWidgetItem *> m_itemsByRuleName;
|
QHash<QString, QListWidgetItem *> m_itemsByRuleName;
|
||||||
QRegularExpression *m_episodeRegex;
|
QRegularExpression *m_episodeRegex;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // AUTOMATEDRSSDOWNLOADER_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FEEDLISTWIDGET_H
|
#pragma once
|
||||||
#define FEEDLISTWIDGET_H
|
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QTreeWidget>
|
#include <QTreeWidget>
|
||||||
|
@ -73,5 +72,3 @@ private:
|
||||||
QHash<RSS::Item *, QTreeWidgetItem *> m_rssToTreeItemMapping;
|
QHash<RSS::Item *, QTreeWidgetItem *> m_rssToTreeItemMapping;
|
||||||
QTreeWidgetItem *m_unreadStickyItem;
|
QTreeWidgetItem *m_unreadStickyItem;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // FEEDLISTWIDGET_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef HTMLBROWSER_H
|
#pragma once
|
||||||
#define HTMLBROWSER_H
|
|
||||||
|
|
||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QTextBrowser>
|
#include <QTextBrowser>
|
||||||
|
@ -54,5 +53,3 @@ protected:
|
||||||
protected slots:
|
protected slots:
|
||||||
void resourceLoaded(QNetworkReply *reply);
|
void resourceLoaded(QNetworkReply *reply);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // HTMLBROWSER_H
|
|
||||||
|
|
|
@ -28,8 +28,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef RSSWIDGET_H
|
#pragma once
|
||||||
#define RSSWIDGET_H
|
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
|
|
||||||
|
@ -86,5 +85,3 @@ private:
|
||||||
ArticleListWidget *m_articleListWidget;
|
ArticleListWidget *m_articleListWidget;
|
||||||
FeedListWidget *m_feedListWidget;
|
FeedListWidget *m_feedListWidget;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // RSSWIDGET_H
|
|
||||||
|
|
|
@ -26,8 +26,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SCANFOLDERSDELEGATE_H
|
#pragma once
|
||||||
#define SCANFOLDERSDELEGATE_H
|
|
||||||
|
|
||||||
#include <QStyledItemDelegate>
|
#include <QStyledItemDelegate>
|
||||||
|
|
||||||
|
@ -57,5 +56,3 @@ private:
|
||||||
|
|
||||||
QTreeView *m_folderView;
|
QTreeView *m_folderView;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // SCANFOLDERSDELEGATE_H
|
|
||||||
|
|
|
@ -27,8 +27,7 @@
|
||||||
* exception statement from your version.
|
* exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PLUGINSELECTDIALOG_H
|
#pragma once
|
||||||
#define PLUGINSELECTDIALOG_H
|
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
|
@ -97,5 +96,3 @@ private:
|
||||||
int m_asyncOps;
|
int m_asyncOps;
|
||||||
int m_pendingUpdates;
|
int m_pendingUpdates;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PLUGINSELECTDIALOG_H
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue