summaryrefslogtreecommitdiffstats
path: root/vcs/cvsservice/cvspartimpl.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 /vcs/cvsservice/cvspartimpl.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 'vcs/cvsservice/cvspartimpl.h')
-rw-r--r--vcs/cvsservice/cvspartimpl.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/vcs/cvsservice/cvspartimpl.h b/vcs/cvsservice/cvspartimpl.h
index e5087f68..638e4907 100644
--- a/vcs/cvsservice/cvspartimpl.h
+++ b/vcs/cvsservice/cvspartimpl.h
@@ -12,9 +12,9 @@
#ifndef CVSPARTIMPL_H
#define CVSPARTIMPL_H
-#include <qobject.h>
-#include <qstringlist.h>
-#include <qguardedptr.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
+#include <tqguardedptr.h>
#include <kurl.h>
#include <kdevversioncontrol.h>
@@ -171,15 +171,15 @@ public:
* @param release release tag
* @param mustInitRoot if true will attempt to initialize $CVSROOT if not already prepared
*/
- virtual void createNewProject( const QString &dirName,
- const QString &cvsRsh, const QString &location,
- const QString &message, const QString &module, const QString &vendor,
- const QString &release, bool mustInitRoot );
+ virtual void createNewProject( const TQString &dirName,
+ const TQString &cvsRsh, const TQString &location,
+ const TQString &message, const TQString &module, const TQString &vendor,
+ const TQString &release, bool mustInitRoot );
/**
* @return true if the directory is valid as CVS directory (has the /CVS/ dir inside) (FORWARDER)
*/
- virtual bool isValidDirectory( const QDir &dir ) const;
+ virtual bool isValidDirectory( const TQDir &dir ) const;
/**
* @return a reference to the custom FileInforProvider object (FORWARDER)
*/
@@ -201,13 +201,13 @@ public:
CvsProcessWidget *processWidget() const;
signals:
- void warning( const QString &msg );
+ void warning( const TQString &msg );
/**
* Emitted when the component has terminated checkout operation
* @param checkedDir directory where the module has been checked out
* (will be empty if the operation failed)
*/
- void checkoutFinished( QString checkedDir );
+ void checkoutFinished( TQString checkedDir );
private slots:
void slotJobFinished( bool normalExit, int exitStatus );
@@ -237,7 +237,7 @@ private:
/**
* @return true if the @p url is present in CVS/Entry file
*/
- static bool isRegisteredInRepository( const QString &projectDirectory, const KURL &url );
+ static bool isRegisteredInRepository( const TQString &projectDirectory, const KURL &url );
/**
* Ideally this function will take a bunch of URLs and validate them (they are valid files,
* are files registered in CVS, are on a supported filesystem, ...). Currently checks
@@ -246,7 +246,7 @@ private:
* @param urls list of KURL to check (the list can be modified during the operation)
* @param op type of cvs operation, as pecified in @see CvsOperation enum
*/
- static void validateURLs( const QString &projectDirectory, KURL::List &urls, CvsOperation op );
+ static void validateURLs( const TQString &projectDirectory, KURL::List &urls, CvsOperation op );
/**
* Add file to it's respective ignore list. This means that, for example, if you
@@ -255,7 +255,7 @@ private:
* @param projectDirectory
* @param url url to be added to the check list.
*/
- static void addToIgnoreList( const QString &projectDirectory, const KURL &url );
+ static void addToIgnoreList( const TQString &projectDirectory, const KURL &url );
/**
* Add files to their respective ignore list. This means that, for example, if you
@@ -264,7 +264,7 @@ private:
* @param projectDirectory
* @param urls list of urls to be added to the check list.
*/
- static void addToIgnoreList( const QString &projectDirectory, const KURL::List &urls );
+ static void addToIgnoreList( const TQString &projectDirectory, const KURL::List &urls );
/**
* Remove file from it's respective .ignore files. As specified for @see addToIgnoreList
@@ -275,7 +275,7 @@ private:
* @param projectDirectory
* @param url url to be removed from the check list.
*/
- static void removeFromIgnoreList( const QString &projectDirectory, const KURL &url );
+ static void removeFromIgnoreList( const TQString &projectDirectory, const KURL &url );
/**
* Remove files from their respective .ignore files. As specified for @see addToIgnoreList
@@ -286,32 +286,32 @@ private:
* @param projectDirectory
* @param urls list of urls to be removed from the check list.
*/
- static void removeFromIgnoreList( const QString &projectDirectory, const KURL::List &urls );
+ static void removeFromIgnoreList( const TQString &projectDirectory, const KURL::List &urls );
/**
* Implementation for requesting user input when files are added to project
*/
- void addFilesToProject( const QStringList &filesToAdd );
+ void addFilesToProject( const TQStringList &filesToAdd );
/**
* Implementation for requesting user input when files are removed from project
*/
- void removedFilesFromProject(const QStringList &filesToRemove);
+ void removedFilesFromProject(const TQStringList &filesToRemove);
/**
* Check each file in the list against CVS and returns a new list with the files
* currently registered in the repository: if none is registered the returned list
* is (quite rightly) empty.
*/
- QStringList checkFileListAgainstCVS( const QStringList &filesToCheck ) const;
+ TQStringList checkFileListAgainstCVS( const TQStringList &filesToCheck ) const;
//! Changelog filename (currently "CHANGELOG" )
- static const QString changeLogFileName;
+ static const TQString changeLogFileName;
//! Four spaces for every log line (except the first which includes the
//! developers name)
- static const QString changeLogPrependString;
+ static const TQString changeLogPrependString;
// Internal short-cuts
KDevMainWindow *mainWindow() const;
KDevCore *core() const;
- QString projectDirectory() const;
+ TQString projectDirectory() const;
KDevDiffFrontend *diffFrontend() const;
/** Locate and setup DCOP CvsService */
@@ -323,7 +323,7 @@ private:
Repository_stub *m_repository;
/** Used for storing module path between start and ending of check-out */
- QString modulePath;
+ TQString modulePath;
CVSFileInfoProvider *m_fileInfoProvider;
JobScheduler *m_scheduler;
@@ -332,7 +332,7 @@ private:
//! Reference to widget integrated in the "bottom tabbar" (IDEAL)
//! (_Must_ be initialized by derived class)
- QGuardedPtr<CvsProcessWidget> m_widget;
+ TQGuardedPtr<CvsProcessWidget> m_widget;
//! Urls which to work upon
const KURL::List &urlList() const;
@@ -342,7 +342,7 @@ private:
* @return These are the file path contained in the urls provided for convenience
* has been requested for.
*/
- QStringList fileList( bool relativeToProjectDir = true ) const;
+ TQStringList fileList( bool relativeToProjectDir = true ) const;
/** Last operation type: we save it so we can retrieve and use in slot*Exited() */
CvsOperation lastOperation() const;