Diffstat (limited to 'noncore/settings/mediummount/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mainwindow.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/noncore/settings/mediummount/mainwindow.h b/noncore/settings/mediummount/mainwindow.h index ce54674..9c648ef 100644 --- a/noncore/settings/mediummount/mainwindow.h +++ b/noncore/settings/mediummount/mainwindow.h @@ -6,3 +6,3 @@ #include <qlist.h> -#include <qmainwindow.h> +#include <qdialog.h> @@ -14,6 +14,6 @@ namespace MediumMountSetting { class MediumGlobalWidget; - class MainWindow : public QMainWindow { + class MainWindow : public QDialog { Q_OBJECT public: - MainWindow(QWidget *parent = 0, const char *name = 0 , WFlags = 0); + MainWindow(QWidget *parent = 0, const char *name = 0 , bool modal = FALSE, WFlags = 0); ~MainWindow(); @@ -23,2 +23,3 @@ namespace MediumMountSetting { void slotCheckingChanged(int ); + void accept(); private: |