diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /vcs/perforce/perforcepart.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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/perforce/perforcepart.h')
-rw-r--r-- | vcs/perforce/perforcepart.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/vcs/perforce/perforcepart.h b/vcs/perforce/perforcepart.h index 5a50871c..073a14ce 100644 --- a/vcs/perforce/perforcepart.h +++ b/vcs/perforce/perforcepart.h @@ -25,20 +25,20 @@ class PerforcePart : public KDevVersionControl Q_OBJECT public: - PerforcePart( QObject *parent, const char *name, const QStringList & ); + PerforcePart( TQObject *parent, const char *name, const TQStringList & ); ~PerforcePart(); - virtual QString shortDescription() const + virtual TQString shortDescription() const { return i18n( "Perforce is a version control system" ); } - virtual void createNewProject(const QString& /* dir */) {} + virtual void createNewProject(const TQString& /* dir */) {} virtual bool fetchFromRepository() { return true; } virtual KDevVCSFileInfoProvider *fileInfoProvider() const { return 0; } - virtual bool isValidDirectory(const QString& /* dirPath*/) const + virtual bool isValidDirectory(const TQString& /* dirPath*/) const { return true; } private slots: - void contextMenu(QPopupMenu *popup, const Context *context); + void contextMenu(TQPopupMenu *popup, const Context *context); void slotCommit(); void slotUpdate(); void slotAdd(); @@ -55,22 +55,22 @@ private slots: void slotActionRevert(); void slotActionDiff(); - void slotDiffFinished( const QString&, const QString& ); + void slotDiffFinished( const TQString&, const TQString& ); private: - void commit( const QString& filename ); - void update( const QString& filename ); - void add( const QString& filename ); - void remove( const QString& filename ); - void edit( const QString& filename ); - void revert( const QString& filename ); - void diff( const QString& filename ); - QString currentFile(); + void commit( const TQString& filename ); + void update( const TQString& filename ); + void add( const TQString& filename ); + void remove( const TQString& filename ); + void edit( const TQString& filename ); + void revert( const TQString& filename ); + void diff( const TQString& filename ); + TQString currentFile(); /** calls p4 with the command cmd and appends the filename */ - void execCommand( const QString& cmd, const QString& filename ); + void execCommand( const TQString& cmd, const TQString& filename ); void setupActions(); - QString popupfile; + TQString popupfile; KAction *actionEdit, *actionRevert, *actionSubmit, *actionSync, *actionDiff, *actionAdd, *actionRemove; |