summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/extensions/kdevversioncontrol.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/interfaces/extensions/kdevversioncontrol.h')
-rw-r--r--lib/interfaces/extensions/kdevversioncontrol.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/lib/interfaces/extensions/kdevversioncontrol.h b/lib/interfaces/extensions/kdevversioncontrol.h
index 697b5167..9b0571b8 100644
--- a/lib/interfaces/extensions/kdevversioncontrol.h
+++ b/lib/interfaces/extensions/kdevversioncontrol.h
@@ -23,11 +23,11 @@
#ifndef KDEVVERSIONCONTROL_H
#define KDEVVERSIONCONTROL_H
-#include <qobject.h>
-#include <qstring.h>
-#include <qwidget.h>
-#include <qmap.h>
-#include <qvaluelist.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqwidget.h>
+#include <tqmap.h>
+#include <tqvaluelist.h>
#include <kdevplugin.h>
@@ -65,26 +65,26 @@ struct VCSFileInfo
@param workRev The current working revision of a file.
@param repoRev The last revision of a file in the repository.
@param aState The state of a file.*/
- VCSFileInfo( QString fn, QString workRev, QString repoRev, FileState aState )
+ VCSFileInfo( TQString fn, TQString workRev, TQString repoRev, FileState aState )
: fileName(fn), workRevision(workRev), repoRevision(repoRev), state(aState) {}
/**The file name.*/
- QString fileName; // Yeah, _just_ the file name ;-)
+ TQString fileName; // Yeah, _just_ the file name ;-)
/**The working revision number.*/
- QString workRevision;
+ TQString workRevision;
/**The repository revision number.*/
- QString repoRevision;
+ TQString repoRevision;
/**The state of a file.*/
FileState state;
/**@return A descriptive string with all VCS related info about the file.*/
- QString toString() const
+ TQString toString() const
{
return "(" + fileName + ", " + workRevision + ", " + repoRevision + ", " + state2String( state ) + ")";
}
/**@return A textual VCS state description.*/
- static QString state2String( FileState state )
+ static TQString state2String( FileState state )
{
switch (state)
{
@@ -108,9 +108,9 @@ struct VCSFileInfo
/**@class FileDom
Info for a bunch of files that got modified.
-This is a type definition: @code QMap<QString,VCSFileInfo> VCSFileInfoMap; @endcode
+This is a type definition: @code TQMap<TQString,VCSFileInfo> VCSFileInfoMap; @endcode
*/
-typedef QMap<QString,VCSFileInfo> VCSFileInfoMap;
+typedef TQMap<TQString,VCSFileInfo> VCSFileInfoMap;
class KDevVCSFileInfoProvider;
@@ -146,14 +146,14 @@ 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.*/
- KDevVersionControl(const KDevPluginInfo *info, QObject *parent, const char *name )
+ KDevVersionControl(const KDevPluginInfo *info, TQObject *parent, const char *name )
:KDevPlugin(info, parent, name ) {}
/**Creates a new project in the passed path @p dir. This should instantiate
VCS infrastructure and import a project into the VCS in that directory.
@param dir The absolute path to the directory where VCS infrastructure should be
created.*/
- virtual void createNewProject(const QString& dir) = 0;
+ virtual void createNewProject(const TQString& dir) = 0;
/**Fetches a module from remote repository, so it can be used for importing.
@return true in case of success.*/
@@ -167,14 +167,14 @@ public:
@param dirPath The absolute path of the directory.
@return true if the directory is valid for this version control
<b>warning</b>: this returns false by default.*/
- virtual bool isValidDirectory(const QString &dirPath) const = 0;
+ virtual bool isValidDirectory(const TQString &dirPath) const = 0;
signals:
/**Emitted when the Version Control has finished importing a module from remote
repository
@param destinationDir The directory where the module has been fetched.*/
- void finishedFetching(QString destinationDir);
+ void finishedFetching(TQString destinationDir);
};
@@ -189,7 +189,7 @@ public:
@param parent The parent VCS plugin.
@param name The name of a provider object.*/
KDevVCSFileInfoProvider(KDevVersionControl *parent, const char *name)
- : QObject( parent, name ), m_owner(parent) {}
+ : TQObject( parent, name ), m_owner(parent) {}
/**Gets the status for local files in the specified directory:
the info are collected locally so they are necessarily in sync with the repository
@@ -197,7 +197,7 @@ public:
This is a <b>synchronous operation</b> (blocking).
@param dirPath The relative (to project dir) directory path to stat.
@return Status for all <b>registered</b> files.*/
- virtual const VCSFileInfoMap *status(const QString &dirPath) = 0;
+ virtual const VCSFileInfoMap *status(const TQString &dirPath) = 0;
/**Starts a request for directory status to the remote repository.
Requests and answers are asynchronous.
@@ -212,7 +212,7 @@ public:
@param checkRepos If true, contact remote repository and augment repository's status.
If false, retrieve only for local modification information.
@return true if the request has been successfully started, false otherwise.*/
- virtual bool requestStatus( const QString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true ) = 0;
+ virtual bool requestStatus( const TQString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true ) = 0;
signals:
/**Emitted when the status request to remote repository has finished.