diff options
Diffstat (limited to 'lib/interfaces/kdevproject.h')
-rw-r--r-- | lib/interfaces/kdevproject.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/lib/interfaces/kdevproject.h b/lib/interfaces/kdevproject.h index 1827a1d0..a14c04b0 100644 --- a/lib/interfaces/kdevproject.h +++ b/lib/interfaces/kdevproject.h @@ -28,8 +28,8 @@ #include "kdevplugin.h" #include "domutil.h" -#include <qstringlist.h> -#include <qmap.h> +#include <tqstringlist.h> +#include <tqmap.h> /** @file kdevproject.h @@ -58,7 +58,7 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevProject(const KDevPluginInfo *info, QObject *parent=0, const char *name=0); + KDevProject(const KDevPluginInfo *info, TQObject *parent=0, const char *name=0); /**Destructor.*/ virtual ~KDevProject(); @@ -76,7 +76,7 @@ public: the projectDirectory() method. @param projectName The project name, which is equivalent to the project file name without the suffix.*/ - virtual void openProject(const QString &dirName, const QString &projectName); + virtual void openProject(const TQString &dirName, const TQString &projectName); /**This method is invoked when the project is about to be closed.*/ virtual void closeProject() = 0; @@ -87,81 +87,81 @@ public: /**@return The canonical absolute directory of the project. Canonical means that a path does not contain symbolic links or redundant "." or ".." elements.*/ - virtual QString projectDirectory() const = 0; + virtual TQString projectDirectory() const = 0; /**Returns the name of the project.*/ - virtual QString projectName() const = 0; + virtual TQString projectName() const = 0; /**@return The environment variables that sould be set before running mainProgram().*/ virtual DomUtil::PairList runEnvironmentVars() const = 0; /**@return The path to main binary program of the project. @param relative if true then the path returned is relative to the project directory.*/ - virtual QString mainProgram() const = 0; + virtual TQString mainProgram() const = 0; /**Absolute path (directory) from where the mainProgram() should be run.*/ - virtual QString runDirectory() const = 0; + virtual TQString runDirectory() const = 0; /**The command line arguments that the mainProgram() should be run with.*/ - virtual QString runArguments() const = 0; + virtual TQString runArguments() const = 0; /**The command line arguments that the mainProgram() should be debugged with.*/ - virtual QString debugArguments() const = 0; + virtual TQString debugArguments() const = 0; /**Returns the path (relative to the project directory) of the active directory. All newly automatically generated classes and files are usually added here.*/ - virtual QString activeDirectory() const = 0; + virtual TQString activeDirectory() const = 0; /**@return The canonical build directory of the project. If the separate build directory is not supported, this should return the same as projectDiretory(). Canonical means that a path does not contain symbolic links or redundant "." or ".." elements.*/ - virtual QString buildDirectory() const = 0; + virtual TQString buildDirectory() const = 0; /**@return The list of all files in the project. The names are relative to the project directory.*/ - virtual QStringList allFiles() const = 0; + virtual TQStringList allFiles() const = 0; /**@return The list of files that are part of the distribution but not under project control. Used mainly to package and publish extra files among with the project.*/ - virtual QStringList distFiles() const = 0; + virtual TQStringList distFiles() const = 0; /**Adds a list of files to the project. Provided for convenience when adding many files. @param fileList The list of file names relative to the project directory.*/ - virtual void addFiles(const QStringList &fileList) = 0; + virtual void addFiles(const TQStringList &fileList) = 0; /**Adds a file to the project. @param fileName The file name relative to the project directory.*/ - virtual void addFile(const QString &fileName)= 0; + virtual void addFile(const TQString &fileName)= 0; /**Removes a list of files from the project. Provided for convenience when removing many files. @param fileList The list of file names relative to the project directory.*/ - virtual void removeFiles(const QStringList& fileList)= 0; + virtual void removeFiles(const TQStringList& fileList)= 0; /**Removes a file from the project. @param fileName The file name relative to the project directory.*/ - virtual void removeFile(const QString &fileName) = 0; + virtual void removeFile(const TQString &fileName) = 0; /**Notifies the project about changes to the files. Provided for convenience when changing many files. @param fileList The list of file names relative to the project directory..*/ - virtual void changedFiles(const QStringList &fileList); + virtual void changedFiles(const TQStringList &fileList); /**Notifies the project of a change to one of the files. @param fileName The file name relative to the project directory.*/ - virtual void changedFile(const QString &fileName); + virtual void changedFile(const TQString &fileName); /**@return true if the file @p absFileName is a part of the project. @param absFileName Absolute name of a file to check.*/ - virtual bool isProjectFile(const QString &absFileName); + virtual bool isProjectFile(const TQString &absFileName); /**@return The path (relative to the project directory) of the file @p absFileName. @param absFileName Absolute name of a file.*/ - virtual QString relativeProjectFile(const QString &absFileName); + virtual TQString relativeProjectFile(const TQString &absFileName); /**@return The list of files known to the project through symlinks.*/ - virtual QStringList symlinkProjectFiles(); + virtual TQStringList symlinkProjectFiles(); protected: @@ -177,28 +177,28 @@ protected: * The custom directory absolute path. * Derived classes are supposed to explicitly call this implementation */ - QString defaultRunDirectory(const QString& projectPluginName) const; + TQString defaultRunDirectory(const TQString& projectPluginName) const; private slots: void buildFileMap(); void slotBuildFileMap(); - void slotAddFilesToFileMap(const QStringList & fileList ); - void slotRemoveFilesFromFileMap(const QStringList & fileList ); + void slotAddFilesToFileMap(const TQStringList & fileList ); + void slotRemoveFilesFromFileMap(const TQStringList & fileList ); signals: /**Emitted when a new list of files has been added to the project. Provided for convenience when many files were added. @param fileList The file names relative to the project directory.*/ - void addedFilesToProject(const QStringList& fileList); + void addedFilesToProject(const TQStringList& fileList); /**Emitted when a list of files has been removed from the project. Provided for convenience when many files were removed. @param fileList The file names relative to the project directory.*/ - void removedFilesFromProject(const QStringList& fileList); + void removedFilesFromProject(const TQStringList& fileList); /**Emitted when a list of files has changed in the project. @param fileList The file names relative to the project directory.*/ - void changedFilesInProject(const QStringList& fileList); + void changedFilesInProject(const TQStringList& fileList); /**Emitted when one compile related command (make, make install, make ...) ends sucessfuly. Used to reparse the files after a sucessful compilation.*/ @@ -208,7 +208,7 @@ signals: * @param olddir The old active directory * @param newdir The new active directory */ - void activeDirectoryChanged( const QString& olddir, const QString& newdir ); + void activeDirectoryChanged( const TQString& olddir, const TQString& newdir ); private: class Private; |