diff options
Diffstat (limited to 'buildtools/custommakefiles/customprojectpart.h')
-rw-r--r-- | buildtools/custommakefiles/customprojectpart.h | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/buildtools/custommakefiles/customprojectpart.h b/buildtools/custommakefiles/customprojectpart.h index f3fb9ec4..67b5088b 100644 --- a/buildtools/custommakefiles/customprojectpart.h +++ b/buildtools/custommakefiles/customprojectpart.h @@ -14,11 +14,11 @@ #ifndef _CUSTOMPROJECTPART_H_ #define _CUSTOMPROJECTPART_H_ -#include <qdict.h> -#include <qguardedptr.h> -#include <qmap.h> -#include <qdatetime.h> -#include <qvaluestack.h> +#include <tqdict.h> +#include <tqguardedptr.h> +#include <tqmap.h> +#include <tqdatetime.h> +#include <tqvaluestack.h> #include <kdevbuildtool.h> @@ -35,44 +35,44 @@ class CustomProjectPart : public KDevBuildTool Q_OBJECT public: - CustomProjectPart( QObject *parent, const char *name, const QStringList & ); + CustomProjectPart( TQObject *parent, const char *name, const TQStringList & ); ~CustomProjectPart(); - QStringList allMakeEnvironments() const; - QString currentMakeEnvironment() const; + TQStringList allMakeEnvironments() const; + TQString currentMakeEnvironment() const; bool isDirty(); - QStringList distFiles() const; + TQStringList distFiles() const; - 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; - QString relativeToProject( const QString& ) const; + TQString relativeToProject( const TQString& ) const; private slots: void populateProject(); void projectConfigWidget( KDialogBase *dlg ); - void contextMenu( QPopupMenu *popup, const Context *context ); + void contextMenu( TQPopupMenu *popup, const Context *context ); void slotAddToProject(); void slotRemoveFromProject(); void slotAddToProjectRecursive(); void slotRemoveFromProjectRecursive(); - void addNewFilesToProject( const QStringList& ); + void addNewFilesToProject( const TQStringList& ); void slotChangeBlacklist(); void slotChooseActiveDirectory(); void slotBuild(); @@ -89,32 +89,32 @@ private slots: void targetOtherFilesMenuActivated( int id ); void updateMakeEnvironmentsMenu(); void makeEnvironmentsMenuActivated( int id ); - void slotCommandFinished( const QString& command ); - void slotCommandFailed( const QString& command ); + void slotCommandFinished( const TQString& command ); + void slotCommandFailed( const TQString& command ); private: - bool containsNonProjectFiles( const QString& url ); - QStringList projectFilesInDir( const QString& dir ); - bool containsProjectFiles( const QString& url ); - bool isProjectFileType( const QString& absFile ) const; - bool isInBlacklist( const QString& ) const; + bool containsNonProjectFiles( const TQString& url ); + TQStringList projectFilesInDir( const TQString& dir ); + bool containsProjectFiles( const TQString& url ); + bool isProjectFileType( const TQString& absFile ) const; + bool isInBlacklist( const TQString& ) const; void cleanFileList(); - void setFiletypes( const QStringList& ); - void findNewFiles( const QString& dir, QStringList& list) const; + void setFiletypes( const TQStringList& ); + void findNewFiles( const TQString& dir, TQStringList& list) const; - QStringList filetypes() const; - QStringList blacklist() const; - void updateBlacklist( const QStringList& ); + TQStringList filetypes() const; + TQStringList blacklist() const; + void updateBlacklist( const TQStringList& ); void saveProject(); - void startMakeCommand( const QString &dir, const QString &target, bool withKdesu = false ); - void parseMakefile( const QString& file ); - QString makeEnvironment() const; + void startMakeCommand( const TQString &dir, const TQString &target, bool withKdesu = false ); + void parseMakefile( const TQString& file ); + TQString makeEnvironment() const; void putEnvVarsInVarMap(); - void switchBlacklistEntry(const QString& ); + void switchBlacklistEntry(const TQString& ); - bool isInProject( const QString& fileName ) const; - void addToProject( const QString& fileName ); - void removeFromProject( const QString& fileName ); + bool isInProject( const TQString& fileName ) const; + void addToProject( const TQString& fileName ); + void removeFromProject( const TQString& fileName ); /** * @brief Set of all the project's files. @@ -125,31 +125,31 @@ private: * keyed by the file name, * as a set-container replacement. */ - typedef QMap<QString, bool> ProjectFilesSet; + typedef TQMap<TQString, bool> ProjectFilesSet; - QString m_projectDirectory; - QString m_projectName; - QString m_filelistDir; + TQString m_projectDirectory; + TQString m_projectName; + TQString m_filelistDir; /** All the sources (files and directories) of this project. */ ProjectFilesSet m_sourceFilesSet; - QPopupMenu *m_targetMenu; - QPopupMenu *m_targetObjectFilesMenu; - QPopupMenu *m_targetOtherFilesMenu; + TQPopupMenu *m_targetMenu; + TQPopupMenu *m_targetObjectFilesMenu; + TQPopupMenu *m_targetOtherFilesMenu; KSelectAction *m_makeEnvironmentsSelector; - QStringList m_targets; - QStringList m_targetsObjectFiles; - QStringList m_targetsOtherFiles; - QStringList m_contextAddFiles; - QStringList m_contextRemoveFiles; - QString m_contextDirName; - - QMap<QString, QDateTime> m_timestamp; + TQStringList m_targets; + TQStringList m_targetsObjectFiles; + TQStringList m_targetsOtherFiles; + TQStringList m_contextAddFiles; + TQStringList m_contextRemoveFiles; + TQString m_contextDirName; + + TQMap<TQString, TQDateTime> m_timestamp; bool m_executeAfterBuild; - QString m_buildCommand; + TQString m_buildCommand; bool m_lastCompilationFailed; - QMap<QString, int> m_parsedMakefiles; - QValueStack<QString> m_makefilesToParse; - QMap<QString, QString> m_makefileVars; + TQMap<TQString, int> m_parsedMakefiles; + TQValueStack<TQString> m_makefilesToParse; + TQMap<TQString, TQString> m_makefileVars; bool m_recursive; bool m_first_recursive; }; |