summaryrefslogtreecommitdiffstats
path: root/kexi/main/startup/KexiStartupFileDialogBase_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/startup/KexiStartupFileDialogBase_win.h')
-rw-r--r--kexi/main/startup/KexiStartupFileDialogBase_win.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kexi/main/startup/KexiStartupFileDialogBase_win.h b/kexi/main/startup/KexiStartupFileDialogBase_win.h
index 7d7f56e0..00742c69 100644
--- a/kexi/main/startup/KexiStartupFileDialogBase_win.h
+++ b/kexi/main/startup/KexiStartupFileDialogBase_win.h
@@ -20,47 +20,47 @@
#ifndef _KexiStartupFileDialogBase_win_h_
#define _KexiStartupFileDialogBase_win_h_
-#include <qfiledialog.h>
-#include <qpushbutton.h>
+#include <tqfiledialog.h>
+#include <tqpushbutton.h>
class KexiStartupFileDialogBasePrivate;
-/*! Wrapper for win32-like file dialog. QFileDialog is used for this.
- Temporary moved from QKW KFileDialog implementation.
+/*! Wrapper for win32-like file dialog. TQFileDialog is used for this.
+ Temporary moved from TQKW KFileDialog implementation.
TODO: move to KDElibs/win32 KFileDialog wrapper
*/
-class KexiStartupFileDialogBase : public QFileDialog
+class KexiStartupFileDialogBase : public TQFileDialog
{
public:
- KexiStartupFileDialogBase(const QString & dirName, const QString & filter = QString::null,
- QWidget * parent = 0, const char * name = 0, bool modal = false );
+ KexiStartupFileDialogBase(const TQString & dirName, const TQString & filter = TQString(),
+ TQWidget * tqparent = 0, const char * name = 0, bool modal = false );
~KexiStartupFileDialogBase();
- QPushButton * okButton() const { return m_okBtn; }
+ TQPushButton * okButton() const { return m_okBtn; }
void clearFilter();
- void setFilter(const QString& filter);
+ void setFilter(const TQString& filter);
void setOperationMode( KFileDialog::OperationMode mode );
void setMode( KFile::Mode m );
void setMode( unsigned int m );
- QString currentFilter() const;
- void setMimeFilter( const QStringList& mimeTypes, const QString& defaultType = QString::null );
+ TQString currentFilter() const;
+ void setMimeFilter( const TQStringList& mimeTypes, const TQString& defaultType = TQString() );
KFile::Mode mode() const;
protected:
- void init(const QString& startDir, const QString& filter, QWidget* widget);
+ void init(const TQString& startDir, const TQString& filter, TQWidget* widget);
void updateAutoSelectExtension() {};
- //! Helper added because QFileDialog on win32 doesn't support ":" prefixes
+ //! Helper added because TQFileDialog on win32 doesn't support ":" prefixes
//! for recent dir's storage.
- QString realStartDir(const QString& startDir);
+ TQString realStartDir(const TQString& startDir);
- void saveLastVisitedPath(const QString& path);
+ void saveLastVisitedPath(const TQString& path);
- QPushButton* m_okBtn;
- QLineEdit* m_lineEdit;
- QString m_lastVisitedPathsVariable; //!< Used by win32; @see realStartDir()
+ TQPushButton* m_okBtn;
+ TQLineEdit* m_lineEdit;
+ TQString m_lastVisitedPathsVariable; //!< Used by win32; @see realStartDir()
KexiStartupFileDialogBasePrivate* d;
};