summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/autoprojectpart.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /buildtools/autotools/autoprojectpart.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'buildtools/autotools/autoprojectpart.h')
-rw-r--r--buildtools/autotools/autoprojectpart.h100
1 files changed, 50 insertions, 50 deletions
diff --git a/buildtools/autotools/autoprojectpart.h b/buildtools/autotools/autoprojectpart.h
index d0862cc3..c48e2fe7 100644
--- a/buildtools/autotools/autoprojectpart.h
+++ b/buildtools/autotools/autoprojectpart.h
@@ -15,11 +15,11 @@
#ifndef _AUTOPROJECTPART_H_
#define _AUTOPROJECTPART_H_
-#include <qdict.h>
-#include <qguardedptr.h>
-#include <qmap.h>
-#include <qdatetime.h>
-#include <qdir.h>
+#include <tqdict.h>
+#include <tqguardedptr.h>
+#include <tqmap.h>
+#include <tqdatetime.h>
+#include <tqdir.h>
#include <kdevgenericfactory.h>
#include "kdevbuildtool.h"
@@ -36,58 +36,58 @@ class AutoProjectPart : public KDevBuildTool
Q_OBJECT
public:
- AutoProjectPart( QObject *parent, const char *name, const QStringList &args );
+ AutoProjectPart( TQObject *parent, const char *name, const TQStringList &args );
virtual ~AutoProjectPart();
/**
* Implementation of the KDevProject interface.
*/
- virtual QString projectDirectory() const;
- virtual QString projectName() const;
+ virtual TQString projectDirectory() const;
+ virtual TQString projectName() const;
virtual DomUtil::PairList runEnvironmentVars() const;
- virtual QString runDirectory() const;
- virtual QString mainProgram() const;
- virtual QString debugArguments() const;
- virtual QString runArguments() const;
- virtual QString environString() 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 TQString runDirectory() const;
+ virtual TQString mainProgram() const;
+ virtual TQString debugArguments() const;
+ virtual TQString runArguments() const;
+ virtual TQString environString() 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 Options options() const;
/**
* Implementation of the KDevPlugin interface.
*/
- virtual void restorePartialProjectSession ( const QDomElement* el );
- virtual void savePartialProjectSession ( QDomElement* el );
+ virtual void restorePartialProjectSession ( const TQDomElement* el );
+ virtual void savePartialProjectSession ( TQDomElement* el );
/**
* automake specific methods.
*/
- QStringList allBuildConfigs() const;
- QString currentBuildConfig() const;
- QString topsourceDirectory() const;
- void startMakeCommand( const QString &dir, const QString &target, bool withKdesu = false );
- void startSimpleMakeCommand( const QString &dir, const QString &command, bool withKdesu = false );
- void buildTarget( QString relpath, TargetItem* titem );
- void executeTarget( const QDir& dir, const TargetItem* titem );
+ TQStringList allBuildConfigs() const;
+ TQString currentBuildConfig() const;
+ TQString topsourceDirectory() const;
+ void startMakeCommand( const TQString &dir, const TQString &target, bool withKdesu = false );
+ void startSimpleMakeCommand( const TQString &dir, const TQString &command, bool withKdesu = false );
+ void buildTarget( TQString relpath, TargetItem* titem );
+ void executeTarget( const TQDir& dir, const TargetItem* titem );
void needMakefileCvs();
bool isDirty();
bool isKDE() const;
- QStringList distFiles() const;
- QString getAutoConfFile(const QString& dir);
+ TQStringList distFiles() const;
+ TQString getAutoConfFile(const TQString& dir);
protected:
/**
* Reimplemented from KDevProject. These methods are only
* for use by the application core.
*/
- virtual void openProject( const QString &dirName, const QString &projectName );
+ virtual void openProject( const TQString &dirName, const TQString &projectName );
virtual void closeProject();
private slots:
@@ -105,35 +105,35 @@ private slots:
void slotConfigure();
void slotExecute();
void slotExecute2();
- void slotExecuteTargetAfterBuild( const QString& command );
- void slotNotExecuteTargetAfterBuildFailed( const QString& command );
- void slotBuildConfigChanged( const QString &config );
+ void slotExecuteTargetAfterBuild( const TQString& command );
+ void slotNotExecuteTargetAfterBuildFailed( const TQString& command );
+ void slotBuildConfigChanged( const TQString &config );
void slotBuildConfigAboutToShow();
- void slotCommandFinished( const QString& command );
- void slotCommandFailed( const QString& command );
+ void slotCommandFinished( const TQString& command );
+ void slotCommandFailed( const TQString& command );
//void slotImportExisting();
- void insertConfigWidget( const KDialogBase* dlg, QWidget * page, unsigned int );
+ void insertConfigWidget( const KDialogBase* dlg, TQWidget * page, unsigned int );
private:
- QGuardedPtr<AutoProjectWidget> m_widget;
- QString m_projectName;
- QString m_projectPath;
+ TQGuardedPtr<AutoProjectWidget> m_widget;
+ TQString m_projectName;
+ TQString m_projectPath;
KSelectAction *buildConfigAction;
- QString makeEnvironment() const;
+ TQString makeEnvironment() const;
void setWantautotools();
- QString makefileCvsCommand() const;
- QString configureCommand() const;
+ TQString makefileCvsCommand() const;
+ TQString configureCommand() const;
- QMap<QString, QDateTime> m_timestamp;
+ TQMap<TQString, TQDateTime> m_timestamp;
bool m_executeAfterBuild;
- QString m_buildCommand;
+ TQString m_buildCommand;
bool m_needMakefileCvs;
bool m_lastCompilationFailed;
bool m_isKDE;
- QPair<QDir, TargetItem*> m_executeTargetAfterBuild;
- QString m_runProg;
+ QPair<TQDir, TargetItem*> m_executeTargetAfterBuild;
+ TQString m_runProg;
ConfigWidgetProxy * _configProxy;
@@ -143,8 +143,8 @@ private:
friend class FileItem;
// For make commands queuing
- QString constructMakeCommandLine( const QString &dir, const QString &target ) const;
- bool queueInternalLibDependenciesBuild( TargetItem* titem, QStringList& list );
+ TQString constructMakeCommandLine( const TQString &dir, const TQString &target ) const;
+ bool queueInternalLibDependenciesBuild( TargetItem* titem, TQStringList& list );
};
typedef KDevGenericFactory<AutoProjectPart> AutoProjectFactory;