Vidalia 0.2.15
|
#include "config.h"
#include "ServerPage.h"
#include "Vidalia.h"
#include "VMessageBox.h"
#include "ConfigDialog.h"
#include "IpValidator.h"
#include "PortValidator.h"
#include "DomainValidator.h"
#include "NicknameValidator.h"
#include "BridgeUsageDialog.h"
#include "html.h"
#include "stringutil.h"
#include <QClipboard>
#include <QMessageBox>
Go to the source code of this file.
Defines | |
#define | CABLE256_AVG_RATE (32*1024) |
#define | CABLE256_MAX_RATE (64*1024) |
#define | CABLE512_AVG_RATE (64*1024) |
#define | CABLE512_MAX_RATE (128*1024) |
#define | CABLE768_AVG_RATE (96*1024) |
#define | CABLE768_MAX_RATE (192*1024) |
#define | T1_AVG_RATE (192*1024) |
#define | T1_MAX_RATE (384*1024) |
#define | HIGHBW_AVG_RATE (5120*1024) |
#define | HIGHBW_MAX_RATE (10240*1024) |
#define | MIN_BANDWIDTH_RATE 20 |
#define | MAX_BANDWIDTH_RATE 2097151 |
#define | PORTS_HTTP (QStringList() << "80") |
#define | PORTS_HTTPS (QStringList() << "443") |
#define | PORTS_MAIL (QStringList() << "110" << "143" << "993" << "995") |
#define | PORTS_IM |
#define | PORTS_IRC (QStringList() << "6660-6669" << "6697" << "7000-7001") |
#define CABLE256_AVG_RATE (32*1024) |
Definition at line 39 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define CABLE256_MAX_RATE (64*1024) |
Definition at line 40 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define CABLE512_AVG_RATE (64*1024) |
Definition at line 41 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define CABLE512_MAX_RATE (128*1024) |
Definition at line 42 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define CABLE768_AVG_RATE (96*1024) |
Definition at line 43 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define CABLE768_MAX_RATE (192*1024) |
Definition at line 44 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define HIGHBW_AVG_RATE (5120*1024) |
Definition at line 47 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define HIGHBW_MAX_RATE (10240*1024) |
Definition at line 48 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define MAX_BANDWIDTH_RATE 2097151 |
Maximum bandwidth rate. This is limited to 2147483646 bytes, or 2097151 kilobytes. (2147483646/1024)
Definition at line 53 of file ServerPage.cpp.
Referenced by ServerPage::customRateChanged(), and ServerPage::ServerPage().
#define MIN_BANDWIDTH_RATE 20 |
Minimum allowed bandwidth rate (20KB)
Definition at line 50 of file ServerPage.cpp.
Referenced by ServerPage::customRateChanged(), and ServerPage::ServerPage().
#define PORTS_HTTP (QStringList() << "80") |
Ports represented by the "Websites" checkbox. (80)
Definition at line 56 of file ServerPage.cpp.
Referenced by ServerPage::loadExitPolicies(), and ServerPage::saveExitPolicies().
#define PORTS_HTTPS (QStringList() << "443") |
Ports represented by the "Secure Websites" checkbox. (443)
Definition at line 58 of file ServerPage.cpp.
Referenced by ServerPage::loadExitPolicies(), and ServerPage::saveExitPolicies().
#define PORTS_IM |
(QStringList() << "706" << "1863" << "5050" << "5190" \ << "5222" << "5223" << "8300" << "8888")
Ports represented by the "Instant Messaging" checkbox. (703,1863,5050,5190,5222,8300,8888)
Definition at line 63 of file ServerPage.cpp.
Referenced by ServerPage::loadExitPolicies(), and ServerPage::saveExitPolicies().
#define PORTS_IRC (QStringList() << "6660-6669" << "6697" << "7000-7001") |
Ports represented by the "Internet Relay Chat" checkbox. (6660-6669,6697,7000-7001)
Definition at line 67 of file ServerPage.cpp.
Referenced by ServerPage::loadExitPolicies(), and ServerPage::saveExitPolicies().
#define PORTS_MAIL (QStringList() << "110" << "143" << "993" << "995") |
Ports represented by the "Retrieve Mail" checkbox. (110,143,993,995)
Definition at line 60 of file ServerPage.cpp.
Referenced by ServerPage::loadExitPolicies(), and ServerPage::saveExitPolicies().
#define T1_AVG_RATE (192*1024) |
Definition at line 45 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().
#define T1_MAX_RATE (384*1024) |
Definition at line 46 of file ServerPage.cpp.
Referenced by ServerPage::loadBandwidthLimits(), and ServerPage::saveBandwidthLimits().