author | harlekin <harlekin> | 2002-03-22 15:05:56 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-03-22 15:05:56 (UTC) |
commit | a25901e13435a44576229bbda344aedf138863b0 (patch) (unidiff) | |
tree | 8175f5bdb5ea7280d18fe459d61b8ba4943dd212 | |
parent | 10b7c4b15d5a5a7cdbf6ab800b0911ffc67e8e7a (diff) | |
download | opie-a25901e13435a44576229bbda344aedf138863b0.zip opie-a25901e13435a44576229bbda344aedf138863b0.tar.gz opie-a25901e13435a44576229bbda344aedf138863b0.tar.bz2 |
now QDialog
-rw-r--r-- | core/launcher/mediummountgui.cpp | 5 | ||||
-rw-r--r-- | core/launcher/mediummountgui.h | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/core/launcher/mediummountgui.cpp b/core/launcher/mediummountgui.cpp index 0be90e6..2454efa 100644 --- a/core/launcher/mediummountgui.cpp +++ b/core/launcher/mediummountgui.cpp | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | 22 | ||
23 | MediumMountGui::MediumMountGui( const QString &path ,QWidget* parent, const char* name, WFlags fl ) | 23 | MediumMountGui::MediumMountGui( const QString &path ,QWidget* parent, const char* name, bool modal, WFlags fl ) |
24 | : QWidget( parent, name, fl ) { | 24 | : QDialog( parent, name, modal, fl ) { |
25 | |||
25 | 26 | ||
26 | QWidget *d = QApplication::desktop(); | 27 | QWidget *d = QApplication::desktop(); |
diff --git a/core/launcher/mediummountgui.h b/core/launcher/mediummountgui.h index 0da2803..700a922 100644 --- a/core/launcher/mediummountgui.h +++ b/core/launcher/mediummountgui.h | |||
@@ -3,5 +3,5 @@ | |||
3 | 3 | ||
4 | #include <qvariant.h> | 4 | #include <qvariant.h> |
5 | #include <qwidget.h> | 5 | #include <qdialog.h> |
6 | class QVBoxLayout; | 6 | class QVBoxLayout; |
7 | class QHBoxLayout; | 7 | class QHBoxLayout; |
@@ -13,10 +13,10 @@ class QLineEdit; | |||
13 | class QPushButton; | 13 | class QPushButton; |
14 | 14 | ||
15 | class MediumMountGui : public QWidget | 15 | class MediumMountGui : public QDialog |
16 | { | 16 | { |
17 | Q_OBJECT | 17 | Q_OBJECT |
18 | 18 | ||
19 | public: | 19 | public: |
20 | MediumMountGui( const QString &path = "/tmp/", QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 20 | MediumMountGui( const QString &path = "/tmp/", QWidget* parent = 0, const char* name = 0, bool modal = FALSE ,WFlags fl = 0 ); |
21 | ~MediumMountGui(); | 21 | ~MediumMountGui(); |
22 | 22 | ||