diff options
Diffstat (limited to 'src/libgui/new_dialogs.h')
-rw-r--r-- | src/libgui/new_dialogs.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/src/libgui/new_dialogs.h b/src/libgui/new_dialogs.h index 26e3cf7..b3d2846 100644 --- a/src/libgui/new_dialogs.h +++ b/src/libgui/new_dialogs.h @@ -10,11 +10,11 @@ #ifndef NEW_DIALOGS_H #define NEW_DIALOGS_H -#include <qlineedit.h> -#include <qcheckbox.h> -#include <qcombobox.h> -#include <qlabel.h> -#include <qlayout.h> +#include <tqlineedit.h> +#include <tqcheckbox.h> +#include <tqcombobox.h> +#include <tqlabel.h> +#include <tqlayout.h> #include <kcombobox.h> #include "common/global/purl.h" @@ -25,15 +25,16 @@ class Project; class NewDialog : public Dialog { Q_OBJECT + TQ_OBJECT public: - NewDialog(const QString &caption, QWidget *parent); + NewDialog(const TQString &caption, TQWidget *tqparent); protected: - QGridLayout *_top; - QLabel *_fLabel; - QLineEdit *_filename, *_dir; + TQGridLayout *_top; + TQLabel *_fLabel; + TQLineEdit *_filename, *_dir; - virtual QString startDir() const = 0; + virtual TQString startDir() const = 0; private slots: void changed(); @@ -44,16 +45,17 @@ private slots: class NewFileDialog : public NewDialog { Q_OBJECT + TQ_OBJECT public: - NewFileDialog(Project *project, QWidget *parent); + NewFileDialog(Project *project, TQWidget *tqparent); PURL::Url url() const; bool addToProject() const { return (_project ? _add->isChecked() : false); } private: Project *_project; - QCheckBox *_add; + TQCheckBox *_add; - virtual QString startDir() const; + virtual TQString startDir() const; }; #endif |