Browse Source

Follow project coding style. Issue #2192.

adaptive-webui-19844
buinsky 10 years ago
parent
commit
2d0099238a
  1. 421
      src/mainwindow.cpp
  2. 7
      src/mainwindow.h

421
src/mainwindow.cpp

File diff suppressed because it is too large Load Diff

7
src/mainwindow.h

@ -66,12 +66,13 @@ class QTabWidget; @@ -66,12 +66,13 @@ class QTabWidget;
class QTimer;
QT_END_NAMESPACE
class MainWindow : public QMainWindow, private Ui::MainWindow{
class MainWindow: public QMainWindow, private Ui::MainWindow
{
Q_OBJECT
public:
// Construct / Destruct
MainWindow(QWidget *parent=0, const QStringList& torrentCmdLine = QStringList());
MainWindow(QWidget *parent = 0, const QStringList& torrentCmdLine = QStringList());
// Methods
QWidget* getCurrentTabWidget() const;
TransferListWidget* getTransferList() const { return transferList; }
@ -125,7 +126,7 @@ protected slots: @@ -125,7 +126,7 @@ protected slots:
void on_actionDocumentation_triggered() const;
void on_actionOpen_triggered();
void updateGUI();
void loadPreferences(bool configure_session=true);
void loadPreferences(bool configure_session = true);
void processParams(const QString& params);
void processParams(const QStringList& params);
void addTorrent(QString path);

Loading…
Cancel
Save