[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenox/konq-embed/dropin
From:       Eva Brucherseifer <eva () kde ! org>
Date:       2006-06-17 13:01:09
Message-ID: 1150549269.793571.13842.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 552314 by eva:

Qt2:
made KFileDialog compile with Qt2 only (instead of QPE)


 M  +1 -1      kfiledialog.cpp  
 M  +5 -2      kfiledialog.h  


--- trunk/kdenox/konq-embed/dropin/kfiledialog.cpp #552313:552314
@@ -86,7 +86,7 @@
     QString result;
 
     if ( qpefd->exec() == QDialog::Accepted )
-        result = Qpefd->selectedFile(); 
+        result = qpefd->selectedFile(); 
 
     delete qpefd;
     return result;
--- trunk/kdenox/konq-embed/dropin/kfiledialog.h #552313:552314
@@ -52,18 +52,21 @@
 	{ return getSaveFileName( dir, filter, parent, caption ); }
 };
 
-#if defined(_QT_QPE_) || defined(Q_WS_WIN32)
+//#if defined(_QT_QPE_) || defined(Q_WS_WIN32)
 
 #if defined(_QT_QPE_)
 #include <qpe/fileselector.h>
 #include <qtopia/storage.h>
 #else
-struct DocLnk
+class DocLnk
 {
+public:
     QString file() const { return QString::null; }
 };
 #endif
 
+
+#if defined(_QT_QPE_)
 class QPEFileSelectorWrapper : public QDialog
 {
     Q_OBJECT
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic