summaryrefslogtreecommitdiffstats
path: root/src/libgui/new_dialogs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 00:15:53 +0000
commit0aaa8e3fc8f8a1481333b564f0922277c8d8ad59 (patch)
treeb95c0ca86c4876dd139af376b9f4afd8917cf0cd /src/libgui/new_dialogs.h
parentb79a2c28534cf09987eeeba3077fff9236df182a (diff)
downloadpiklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.tar.gz
piklab-0aaa8e3fc8f8a1481333b564f0922277c8d8ad59.zip
TQt4 port piklab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/piklab@1238822 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/libgui/new_dialogs.h')
-rw-r--r--src/libgui/new_dialogs.h28
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