summaryrefslogtreecommitdiffabout
path: root/microkde
authorzautrix <zautrix>2005-06-11 18:34:05 (UTC)
committer zautrix <zautrix>2005-06-11 18:34:05 (UTC)
commitb56d3be87557510285d3381250faf9b7af300680 (patch) (unidiff)
tree887e24db261f56f78dda8397196a6125cc346fc5 /microkde
parent81370a5f955c2710b6e9336b6c412c8d630ef72a (diff)
downloadkdepimpi-b56d3be87557510285d3381250faf9b7af300680.zip
kdepimpi-b56d3be87557510285d3381250faf9b7af300680.tar.gz
kdepimpi-b56d3be87557510285d3381250faf9b7af300680.tar.bz2
fixxx
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kfiledialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kfiledialog.cpp b/microkde/kfiledialog.cpp
index c64f325..383e711 100644
--- a/microkde/kfiledialog.cpp
+++ b/microkde/kfiledialog.cpp
@@ -53,25 +53,25 @@ QString KFileDialog::getOpenFileName( const QString & fn,
53 QObject::connect ( &o, SIGNAL( ok() ), &dia, SLOT ( accept () ) ); 53 QObject::connect ( &o, SIGNAL( ok() ), &dia, SLOT ( accept () ) );
54 lay.addWidget( &o); 54 lay.addWidget( &o);
55 dia.showMaximized(); 55 dia.showMaximized();
56 dia.setCaption( cap ); 56 dia.setCaption( cap );
57 int res = dia.exec(); 57 int res = dia.exec();
58 if ( res ) 58 if ( res )
59 retfile = o.selectedName(); 59 retfile = o.selectedName();
60 return retfile; 60 return retfile;
61} 61}
62QString KFileDialog::getExistingDirectory( const QString & fn, 62QString KFileDialog::getExistingDirectory( const QString & fn,
63 const QString & cap, QWidget * par ) 63 const QString & cap, QWidget * par )
64{ 64{
65 return KFileDialog::getSaveFileName( fn, cap, pr ); 65 return KFileDialog::getSaveFileName( fn, cap, par );
66} 66}
67#else 67#else
68 68
69#include <qfiledialog.h> 69#include <qfiledialog.h>
70 70
71QString KFileDialog::getSaveFileName( const QString & fn, 71QString KFileDialog::getSaveFileName( const QString & fn,
72 const QString & cap , QWidget * par ) 72 const QString & cap , QWidget * par )
73{ 73{
74 return QFileDialog::getSaveFileName( fn, QString::null, par, "openfile", cap ); 74 return QFileDialog::getSaveFileName( fn, QString::null, par, "openfile", cap );
75} 75}
76QString KFileDialog::getOpenFileName( const QString & fn, 76QString KFileDialog::getOpenFileName( const QString & fn,
77 const QString & cap, QWidget * par ) 77 const QString & cap, QWidget * par )