kget
BittorrentSettings Class Reference
#include <bittorrentsettings.h>

Detailed Description
Definition at line 9 of file bittorrentsettings.h.
Public Member Functions | |
| ~BittorrentSettings () | |
Static Public Member Functions | |
| static BittorrentSettings * | self () |
| static void | setUploadLimit (int v) |
| static int | uploadLimit () |
| static void | setDownloadLimit (int v) |
| static int | downloadLimit () |
| static void | setPort (int v) |
| static int | port () |
| static void | setMaxShareRatio (double v) |
| static double | maxShareRatio () |
| static void | setTorrentDir (const QString &v) |
| static QString | torrentDir () |
| static void | setTmpDir (const QString &v) |
| static QString | tmpDir () |
| static void | setPreAlloc (bool v) |
| static bool | preAlloc () |
| static void | setFileColumnWidths (const QList< int > &v) |
| static QList< int > | fileColumnWidths () |
| static void | setPeersColumnWidths (const QList< int > &v) |
| static QList< int > | peersColumnWidths () |
| static void | setChunksColumnWidths (const QList< int > &v) |
| static QList< int > | chunksColumnWidths () |
Protected Member Functions | |
| BittorrentSettings () | |
Protected Attributes | |
| int | mUploadLimit |
| int | mDownloadLimit |
| int | mPort |
| double | mMaxShareRatio |
| QString | mTorrentDir |
| QString | mTmpDir |
| bool | mPreAlloc |
| QList< int > | mFileColumnWidths |
| QList< int > | mPeersColumnWidths |
| QList< int > | mChunksColumnWidths |
Friends | |
| class | BittorrentSettingsHelper |
Constructor & Destructor Documentation
| BittorrentSettings::~BittorrentSettings | ( | ) |
Definition at line 78 of file bittorrentsettings.cpp.
| BittorrentSettings::BittorrentSettings | ( | ) | [protected] |
Definition at line 27 of file bittorrentsettings.cpp.
Member Function Documentation
| BittorrentSettings * BittorrentSettings::self | ( | ) | [static] |
Definition at line 17 of file bittorrentsettings.cpp.
| static void BittorrentSettings::setUploadLimit | ( | int | v | ) | [inline, static] |
| static int BittorrentSettings::uploadLimit | ( | ) | [inline, static] |
| static void BittorrentSettings::setDownloadLimit | ( | int | v | ) | [inline, static] |
| static int BittorrentSettings::downloadLimit | ( | ) | [inline, static] |
| static void BittorrentSettings::setPort | ( | int | v | ) | [inline, static] |
| static int BittorrentSettings::port | ( | ) | [inline, static] |
| static void BittorrentSettings::setMaxShareRatio | ( | double | v | ) | [inline, static] |
| static double BittorrentSettings::maxShareRatio | ( | ) | [inline, static] |
| static void BittorrentSettings::setTorrentDir | ( | const QString & | v | ) | [inline, static] |
| static QString BittorrentSettings::torrentDir | ( | ) | [inline, static] |
| static void BittorrentSettings::setTmpDir | ( | const QString & | v | ) | [inline, static] |
| static QString BittorrentSettings::tmpDir | ( | ) | [inline, static] |
| static void BittorrentSettings::setPreAlloc | ( | bool | v | ) | [inline, static] |
| static bool BittorrentSettings::preAlloc | ( | ) | [inline, static] |
| static void BittorrentSettings::setFileColumnWidths | ( | const QList< int > & | v | ) | [inline, static] |
| static QList<int> BittorrentSettings::fileColumnWidths | ( | ) | [inline, static] |
| static void BittorrentSettings::setPeersColumnWidths | ( | const QList< int > & | v | ) | [inline, static] |
| static QList<int> BittorrentSettings::peersColumnWidths | ( | ) | [inline, static] |
| static void BittorrentSettings::setChunksColumnWidths | ( | const QList< int > & | v | ) | [inline, static] |
| static QList<int> BittorrentSettings::chunksColumnWidths | ( | ) | [inline, static] |
Friends And Related Function Documentation
friend class BittorrentSettingsHelper [friend] |
Definition at line 208 of file bittorrentsettings.h.
Member Data Documentation
int BittorrentSettings::mUploadLimit [protected] |
Definition at line 212 of file bittorrentsettings.h.
int BittorrentSettings::mDownloadLimit [protected] |
Definition at line 213 of file bittorrentsettings.h.
int BittorrentSettings::mPort [protected] |
Definition at line 214 of file bittorrentsettings.h.
double BittorrentSettings::mMaxShareRatio [protected] |
Definition at line 215 of file bittorrentsettings.h.
QString BittorrentSettings::mTorrentDir [protected] |
Definition at line 218 of file bittorrentsettings.h.
QString BittorrentSettings::mTmpDir [protected] |
Definition at line 219 of file bittorrentsettings.h.
bool BittorrentSettings::mPreAlloc [protected] |
Definition at line 220 of file bittorrentsettings.h.
QList<int> BittorrentSettings::mFileColumnWidths [protected] |
Definition at line 223 of file bittorrentsettings.h.
QList<int> BittorrentSettings::mPeersColumnWidths [protected] |
Definition at line 224 of file bittorrentsettings.h.
QList<int> BittorrentSettings::mChunksColumnWidths [protected] |
Definition at line 225 of file bittorrentsettings.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference