diff options
Diffstat (limited to 'kommander/editor/filechooser.h')
-rw-r--r-- | kommander/editor/filechooser.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kommander/editor/filechooser.h b/kommander/editor/filechooser.h index e6bc98e3..f051eea4 100644 --- a/kommander/editor/filechooser.h +++ b/kommander/editor/filechooser.h @@ -1,7 +1,7 @@ #ifndef FILECHOOSER_H #define FILECHOOSER_H -#include <qwidget.h> +#include <tqwidget.h> class QLineEdit; class QPushButton; @@ -12,29 +12,29 @@ class FileChooser : public QWidget Q_ENUMS( Mode ) Q_PROPERTY( Mode mode READ mode WRITE setMode ) - Q_PROPERTY( QString fileName READ fileName WRITE setFileName ) + Q_PROPERTY( TQString fileName READ fileName WRITE setFileName ) public: - FileChooser( QWidget *parent = 0, const char *name = 0); + FileChooser( TQWidget *parent = 0, const char *name = 0); enum Mode { File, Directory }; - QString fileName() const; + TQString fileName() const; Mode mode() const; public slots: - void setFileName( const QString &fn ); + void setFileName( const TQString &fn ); void setMode( Mode m ); signals: - void fileNameChanged( const QString & ); + void fileNameChanged( const TQString & ); private slots: void chooseFile(); private: - QLineEdit *lineEdit; - QPushButton *button; + TQLineEdit *lineEdit; + TQPushButton *button; Mode md; }; |