summaryrefslogtreecommitdiffstats
path: root/buildtools/qmake/trollprojectpart.h
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/qmake/trollprojectpart.h')
-rw-r--r--buildtools/qmake/trollprojectpart.h76
1 files changed, 38 insertions, 38 deletions
diff --git a/buildtools/qmake/trollprojectpart.h b/buildtools/qmake/trollprojectpart.h
index 3e571e85..945fb10a 100644
--- a/buildtools/qmake/trollprojectpart.h
+++ b/buildtools/qmake/trollprojectpart.h
@@ -16,10 +16,10 @@
#ifndef _TROLLPROJECTPART_H_
#define _TROLLPROJECTPART_H_
-#include <qdict.h>
-#include <qguardedptr.h>
-#include <qmap.h>
-#include <qdatetime.h>
+#include <tqdict.h>
+#include <tqguardedptr.h>
+#include <tqmap.h>
+#include <tqdatetime.h>
#include "kdevbuildtool.h"
@@ -33,7 +33,7 @@ class TrollProjectPart : public KDevBuildTool
Q_OBJECT
public:
- TrollProjectPart( QObject *parent, const char *name, const QStringList &args );
+ TrollProjectPart( TQObject *parent, const char *name, const TQStringList &args );
~TrollProjectPart();
bool isTMakeProject() const { return m_tmakeProject; }
@@ -41,26 +41,26 @@ public:
bool isDirty();
KDirWatch* dirWatch();
virtual Options options() const;
- QStringList distFiles() const;
- inline QString qmakePath() const { return DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/qmake", "");; }
+ TQStringList distFiles() const;
+ inline TQString qmakePath() const { return DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/qmake", "");; }
protected:
- virtual void openProject(const QString &dirName, const QString &projectName);
+ virtual void openProject(const TQString &dirName, const TQString &projectName);
virtual void closeProject();
- virtual QString projectDirectory() const;
- virtual QString projectName() const;
- virtual QString mainProgram() const;
- virtual QString activeDirectory() const;
- virtual QStringList allFiles() const;
- virtual void addFile(const QString &fileName);
- virtual void addFiles ( const QStringList &fileList );
- virtual void removeFile(const QString &fileName);
- virtual void removeFiles ( const QStringList &fileList );
- virtual QString buildDirectory() const;
- virtual QString runDirectory() const;
- virtual QString debugArguments() const;
- virtual QString runArguments() const;
+ virtual TQString projectDirectory() const;
+ virtual TQString projectName() const;
+ virtual TQString mainProgram() const;
+ virtual TQString activeDirectory() const;
+ virtual TQStringList allFiles() const;
+ virtual void addFile(const TQString &fileName);
+ virtual void addFiles ( const TQStringList &fileList );
+ virtual void removeFile(const TQString &fileName);
+ virtual void removeFiles ( const TQStringList &fileList );
+ virtual TQString buildDirectory() const;
+ virtual TQString runDirectory() const;
+ virtual TQString debugArguments() const;
+ virtual TQString runArguments() const;
virtual DomUtil::PairList runEnvironmentVars() const;
private slots:
@@ -68,31 +68,31 @@ private slots:
void slotBuild();
// void slotClean();
// void slotExecute();
- void slotCommandFinished( const QString& command );
+ void slotCommandFinished( const TQString& command );
void slotBuildAndExecuteProject();
void slotBuildAndExecuteTarget();
private:
-// void startMakeCommand(const QString &dir, const QString &target);
- void startQMakeCommand(const QString &dir, bool recursive = false );
-// void execute(const QString &directory, const QString &command);
- void queueCmd(const QString &dir, const QString &cmd);
- QString makeEnvironment();
-
- QString findQtDir();
- QString findExecutable( const QString& path ) const;
- void buildBinDirs( QStringList& ) const;
- bool isValidQtDir( const QString& path ) const;
- bool isExecutable( const QString& path ) const;
-
- QGuardedPtr<TrollProjectWidget> m_widget;
- QString m_projectName;
+// void startMakeCommand(const TQString &dir, const TQString &target);
+ void startQMakeCommand(const TQString &dir, bool recursive = false );
+// void execute(const TQString &directory, const TQString &command);
+ void queueCmd(const TQString &dir, const TQString &cmd);
+ TQString makeEnvironment();
+
+ TQString findQtDir();
+ TQString findExecutable( const TQString& path ) const;
+ void buildBinDirs( TQStringList& ) const;
+ bool isValidQtDir( const TQString& path ) const;
+ bool isExecutable( const TQString& path ) const;
+
+ TQGuardedPtr<TrollProjectWidget> m_widget;
+ TQString m_projectName;
bool m_tmakeProject;
- QMap<QString, QDateTime> m_timestamp;
+ TQMap<TQString, TQDateTime> m_timestamp;
bool m_executeProjectAfterBuild;
bool m_executeTargetAfterBuild;
- QString m_buildCommand;
+ TQString m_buildCommand;
KDirWatch* m_dirWatch;