1
//MountManager - the program for easy mounting of storage devices in Linux
2
//Copyright (C) 2007-2008 Tikhonov Sergey
4
//This file is part of MountManager Gui
6
//This program is free software; you can redistribute it and/or
7
//modify it under the terms of the GNU General Public License
8
//as published by the Free Software Foundation; either version 2
9
//of the License, or (at your option) any later version.
11
//This program is distributed in the hope that it will be useful,
12
//but WITHOUT ANY WARRANTY; without even the implied warranty of
13
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
//GNU General Public License for more details.
16
//You should have received a copy of the GNU General Public License
17
//along with this program; if not, write to the Free Software
18
//Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
#include <QtGui/QMainWindow>
31
class AboutProgramDialog;
35
class RestorationSystem;
40
class MainWindow : public QMainWindow
48
void showTrayMessage(const QString& title,const QString& message);
49
void enablePlugin(int pluginIndex);
50
void disablePlugin(int pluginIndex);
53
void sendLetterToDeveloper();
59
CentralWidget *centralWidget;
61
AboutProgramDialog *aboutProgramDialog;
62
UsbManager *usbManager;
63
RestorationSystem *restorationSystem;
64
PluginsManager *pluginsManager;
70
QCheckBox *dontShowApplyDialog;
72
PopupWindow *popupWindow;
76
QAction *saveConfigFileAction;
80
QAction *pluginsManagerAction;
81
QAction *usbManagerAction;
82
QAction *restorationSystemAction;
83
// QAction *wizardAction;
86
QAction *documentationAction;
87
QAction *aboutProgramAction;
89
QAction *reportBugAction;
90
QAction *developerAction;
91
QAction *homePageAction;
104
void closeEvent(QCloseEvent *);