1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Follow project coding style. Issue #2192.

This commit is contained in:
sledgehammer999 2015-02-23 19:44:29 +02:00
parent 89db090cb9
commit 92757b9f22
2 changed files with 1893 additions and 1484 deletions

File diff suppressed because it is too large Load Diff

View File

@ -43,19 +43,60 @@
#include <libtorrent/version.hpp>
enum scheduler_days { EVERY_DAY, WEEK_DAYS, WEEK_ENDS, MON, TUE, WED, THU, FRI, SAT, SUN };
enum maxRatioAction {PAUSE_ACTION, REMOVE_ACTION};
namespace Proxy {
enum ProxyType {HTTP=1, SOCKS5=2, HTTP_PW=3, SOCKS5_PW=4, SOCKS4=5};
}
namespace TrayIcon {
enum Style { NORMAL = 0, MONO_DARK, MONO_LIGHT };
}
namespace DNS {
enum Service { DYNDNS, NOIP, NONE = -1 };
enum scheduler_days
{
EVERY_DAY,
WEEK_DAYS,
WEEK_ENDS,
MON,
TUE,
WED,
THU,
FRI,
SAT,
SUN
};
enum maxRatioAction
{
PAUSE_ACTION,
REMOVE_ACTION
};
namespace Proxy
{
enum ProxyType
{
HTTP = 1,
SOCKS5 = 2,
HTTP_PW = 3,
SOCKS5_PW = 4,
SOCKS4 = 5
};
}
class Preferences : public QObject {
namespace TrayIcon
{
enum Style
{
NORMAL = 0,
MONO_DARK,
MONO_LIGHT
};
}
namespace DNS
{
enum Service
{
DYNDNS,
NOIP,
NONE = -1
};
}
class Preferences: public QObject
{
Q_OBJECT
Q_DISABLE_COPY(Preferences)