Code formatting/indentation unified in trunk
[qtrapids] / src / gui / MainWindow.h
index 3f546bb..f4d43b1 100644 (file)
@@ -33,44 +33,45 @@ class PreferencesDialog;
 /**
        @author Lassi Väätämöinen <lassi.vaatamoinen@ixonos.com>
 */
-class MainWindow : public QMainWindow {
-       Q_OBJECT
-                       
-       public:
+class MainWindow : public QMainWindow
+{
+    Q_OBJECT
+
+public:
     MainWindow();
 
     ~MainWindow();
-               
-       signals:
-               void itemSelected(bool enabled);
-               
-       public slots:
-       private slots:
-               void on_openAction_clicked();
-               void on_removeAction_clicked();
-               void on_quitAction_clicked();
-               void on_preferencesAction_clicked();
-               void on_aboutAction_clicked();
-               void on_aboutQtAction_clicked();
-               void on_downloadItemSelectionChanged();
-               void on_seedItemSelectionChanged();
-               void handleToolBarAction(QAction* action);
-               void on_torrentFileSelected(const QString& file);
-               void on_alert(std::auto_ptr<Alert> al);
-               
-       private:
-               QTabWidget *tabWidget_;
-               DownloadView *dlView_;
-               SeedView *seedView_;
-               PreferencesDialog *preferencesDialog_;
-               QSettings settings_;
-               
-               //std::vector< std::auto_ptr<QTorrentHandle> const > torrentHandles_;
-               
-               qtrapids::QBittorrentSession btSession_;
-               
 
-               //bool IsNewTorrent(std::auto_ptr<QTorrentHandle> handlePtr);
+signals:
+    void itemSelected(bool enabled);
+
+public slots:
+private slots:
+    void on_openAction_clicked();
+    void on_removeAction_clicked();
+    void on_quitAction_clicked();
+    void on_preferencesAction_clicked();
+    void on_aboutAction_clicked();
+    void on_aboutQtAction_clicked();
+    void on_downloadItemSelectionChanged();
+    void on_seedItemSelectionChanged();
+    void handleToolBarAction(QAction* action);
+    void on_torrentFileSelected(const QString& file);
+    void on_alert(std::auto_ptr<Alert> al);
+
+private:
+    QTabWidget *tabWidget_;
+    DownloadView *dlView_;
+    SeedView *seedView_;
+    PreferencesDialog *preferencesDialog_;
+    QSettings settings_;
+
+    //std::vector< std::auto_ptr<QTorrentHandle> const > torrentHandles_;
+
+    qtrapids::QBittorrentSession btSession_;
+
+
+    //bool IsNewTorrent(std::auto_ptr<QTorrentHandle> handlePtr);
 };
 
 #endif