From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: TQt4 port ktechlab This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/projectdlgs.h | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'src/gui/projectdlgs.h') diff --git a/src/gui/projectdlgs.h b/src/gui/projectdlgs.h index fe50361..5219072 100644 --- a/src/gui/projectdlgs.h +++ b/src/gui/projectdlgs.h @@ -30,8 +30,9 @@ A standard dialog for getting project details from the user for a new project class NewProjectDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - NewProjectDlg( QWidget * parent ); + NewProjectDlg( TQWidget * tqparent ); /** * Called when the 'Cancel' button is pressed. @@ -45,9 +46,9 @@ class NewProjectDlg : public KDialogBase void accept(); bool accepted() const { return m_bAccepted; } - QString projectName() const { return m_projectName; } - QString projectLocation() const { return m_projectLocation; } - QString location() const { return m_location; } + TQString projectName() const { return m_projectName; } + TQString projectLocation() const { return m_projectLocation; } + TQString location() const { return m_location; } public slots: /** @@ -55,14 +56,14 @@ class NewProjectDlg : public KDialogBase * Checks whether the resultant location combination is a valid path - * if so, enabels the OK button; otherwise disables it. */ - void locationChanged( const QString & ); + void locationChanged( const TQString & ); protected: NewProjectWidget * m_pWidget; bool m_bAccepted; - QString m_projectName; - QString m_projectLocation; - QString m_location; + TQString m_projectName; + TQString m_projectLocation; + TQString m_location; }; @@ -72,8 +73,9 @@ class NewProjectDlg : public KDialogBase class CreateSubprojectDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - CreateSubprojectDlg( QWidget *parent = 0 ); + CreateSubprojectDlg( TQWidget *tqparent = 0 ); ~CreateSubprojectDlg(); // The following values should agree with the positions in the combo box @@ -95,13 +97,13 @@ class CreateSubprojectDlg : public KDialogBase bool accepted() const { return m_bAccepted; } Type type() const { return m_type; } - QString targetFile() const { return m_targetFile; } + TQString targetFile() const { return m_targetFile; } protected: CreateSubprojectWidget * m_pWidget; bool m_bAccepted; Type m_type; - QString m_targetFile; + TQString m_targetFile; }; @@ -111,8 +113,9 @@ class CreateSubprojectDlg : public KDialogBase class LinkerOptionsDlg : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - LinkerOptionsDlg( LinkerOptions * linkingOptions, QWidget *parent = 0 ); + LinkerOptionsDlg( LinkerOptions * linkingOptions, TQWidget *tqparent = 0 ); virtual ~LinkerOptionsDlg(); /** @@ -138,7 +141,7 @@ class LinkerOptionsDlg : public KDialogBase class ProcessingOptionsDlg : public KDialogBase { public: - ProcessingOptionsDlg( ProjectItem * projectItem, QWidget *parent = 0 ); + ProcessingOptionsDlg( ProjectItem * projectItem, TQWidget *tqparent = 0 ); virtual ~ProcessingOptionsDlg(); /** -- cgit v1.2.1