Added build script of Debian
[qtrapids] / src / gui / MainWindow.h
index 53fd0af..a4335ac 100644 (file)
@@ -1,11 +1,9 @@
 /***************************************************************************
- *   Copyright (C) 2009 by Lassi Väätämöinen   *
- *   lassi.vaatamoinen@ixonos.com   *
+ *   Copyright (C) 2010 by Ixonos Plc   *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
- *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
+ *   the Free Software Foundation; version 2 of the License.               *
  *                                                                         *
  *   This program is distributed in the hope that it will be useful,       *
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
@@ -37,12 +35,12 @@ class PluginInterface;
 /**
        @author Lassi Väätämöinen <lassi.vaatamoinen@ixonos.com>
 */
-class MainWindow : public QMainWindow, public qtrapids::PluginHostInterface {
+class MainWindow : public QMainWindow, public qtrapids::PluginHostInterface
+{
        Q_OBJECT
-                       
+
        public:
     MainWindow();
-
     virtual ~MainWindow();
                
                // Implemented from PluginHostInterface
@@ -74,6 +72,7 @@ class MainWindow : public QMainWindow, public qtrapids::PluginHostInterface {
        
        private:
                void LoadPlugins();
+               void RestoreSettings();
                void StartTorrentFromBufferData(char const* data, int size);
                
        private: