author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /microkde/kfiledialog.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-p1.zip kdepimpi-p1.tar.gz kdepimpi-p1.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | microkde/kfiledialog.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/microkde/kfiledialog.cpp b/microkde/kfiledialog.cpp index 383e711..c1bfdef 100644 --- a/microkde/kfiledialog.cpp +++ b/microkde/kfiledialog.cpp | |||
@@ -6,2 +6,4 @@ | |||
6 | #include <qapplication.h> | 6 | #include <qapplication.h> |
7 | //Added by qt3to4: | ||
8 | #include <Q3VBoxLayout> | ||
7 | 9 | ||
@@ -15,3 +17,3 @@ QString KFileDialog::getSaveFileName( const QString & fn, | |||
15 | QDialog dia ( par, "input-dialog", true ); | 17 | QDialog dia ( par, "input-dialog", true ); |
16 | QVBoxLayout lay( &dia ); | 18 | Q3VBoxLayout lay( &dia ); |
17 | lay.setMargin(7); | 19 | lay.setMargin(7); |
@@ -44,3 +46,3 @@ QString KFileDialog::getOpenFileName( const QString & fn, | |||
44 | // QLineEdit lab ( &dia ); | 46 | // QLineEdit lab ( &dia ); |
45 | QVBoxLayout lay( &dia ); | 47 | Q3VBoxLayout lay( &dia ); |
46 | lay.setMargin(7); | 48 | lay.setMargin(7); |
@@ -68,3 +70,3 @@ QString KFileDialog::getExistingDirectory( const QString & fn, | |||
68 | 70 | ||
69 | #include <qfiledialog.h> | 71 | #include <q3filedialog.h> |
70 | 72 | ||
@@ -73,3 +75,3 @@ QString KFileDialog::getSaveFileName( const QString & fn, | |||
73 | { | 75 | { |
74 | return QFileDialog::getSaveFileName( fn, QString::null, par, "openfile", cap ); | 76 | return Q3FileDialog::getSaveFileName( fn, QString::null, par, "openfile", cap ); |
75 | } | 77 | } |
@@ -79,3 +81,3 @@ QString KFileDialog::getOpenFileName( const QString & fn, | |||
79 | 81 | ||
80 | return QFileDialog::getOpenFileName( fn, QString::null, par, "openfile", cap ); | 82 | return Q3FileDialog::getOpenFileName( fn, QString::null, par, "openfile", cap ); |
81 | } | 83 | } |
@@ -84,3 +86,3 @@ QString KFileDialog::getExistingDirectory( const QString & fn, | |||
84 | { | 86 | { |
85 | return QFileDialog::getExistingDirectory( fn, par, "exidtingdir", cap ); | 87 | return Q3FileDialog::getExistingDirectory( fn, par, "exidtingdir", cap ); |
86 | } | 88 | } |