summaryrefslogtreecommitdiffstats
path: root/src/gui/projectdlgs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/gui/projectdlgs.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
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
Diffstat (limited to 'src/gui/projectdlgs.h')
-rw-r--r--src/gui/projectdlgs.h29
1 files changed, 16 insertions, 13 deletions
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();
/**