mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Follow project coding style. Issue #2192.
This commit is contained in:
parent
7bc7b0e6b8
commit
2d0099238a
2 changed files with 1362 additions and 1298 deletions
File diff suppressed because it is too large
Load diff
|
@ -66,12 +66,13 @@ class QTabWidget;
|
||||||
class QTimer;
|
class QTimer;
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
class MainWindow : public QMainWindow, private Ui::MainWindow{
|
class MainWindow: public QMainWindow, private Ui::MainWindow
|
||||||
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Construct / Destruct
|
// Construct / Destruct
|
||||||
MainWindow(QWidget *parent=0, const QStringList& torrentCmdLine = QStringList());
|
MainWindow(QWidget *parent = 0, const QStringList& torrentCmdLine = QStringList());
|
||||||
// Methods
|
// Methods
|
||||||
QWidget* getCurrentTabWidget() const;
|
QWidget* getCurrentTabWidget() const;
|
||||||
TransferListWidget* getTransferList() const { return transferList; }
|
TransferListWidget* getTransferList() const { return transferList; }
|
||||||
|
@ -125,7 +126,7 @@ protected slots:
|
||||||
void on_actionDocumentation_triggered() const;
|
void on_actionDocumentation_triggered() const;
|
||||||
void on_actionOpen_triggered();
|
void on_actionOpen_triggered();
|
||||||
void updateGUI();
|
void updateGUI();
|
||||||
void loadPreferences(bool configure_session=true);
|
void loadPreferences(bool configure_session = true);
|
||||||
void processParams(const QString& params);
|
void processParams(const QString& params);
|
||||||
void processParams(const QStringList& params);
|
void processParams(const QStringList& params);
|
||||||
void addTorrent(QString path);
|
void addTorrent(QString path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue