diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-04 19:54:24 +0000 |
commit | d7633c195a464e4d344ada9eea61afd10110598a (patch) | |
tree | 1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnfrontend/svnitem.h | |
parent | 3fa7eb804f67b2789f128075cc2522f398640250 (diff) | |
download | tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.tar.gz tdesvn-d7633c195a464e4d344ada9eea61afd10110598a.zip |
Port kdesvn to TQt4
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesvn@1230412 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/svnfrontend/svnitem.h')
-rw-r--r-- | src/svnfrontend/svnitem.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/svnfrontend/svnitem.h b/src/svnfrontend/svnitem.h index ac90172..68dd328 100644 --- a/src/svnfrontend/svnitem.h +++ b/src/svnfrontend/svnitem.h @@ -24,10 +24,10 @@ #include "src/svnqt/smart_pointer.hpp" #include "src/svnqt/svnqttypes.hpp" #include <kmimetype.h> -#include <qstring.h> -#include <qdatetime.h> -#include <qpixmap.h> -#include <qptrlist.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqpixmap.h> +#include <tqptrlist.h> class FileListViewItem; class SvnItem_p; @@ -47,12 +47,12 @@ public: SvnItem(const svn::StatusPtr&); virtual ~SvnItem(); - virtual const QString&fullName()const; - virtual const QString&shortName()const; - virtual const QString&Url()const; + virtual const TQString&fullName()const; + virtual const TQString&shortName()const; + virtual const TQString&Url()const; virtual const KURL&kdeName(const svn::Revision&); virtual KMimeType::Ptr mimeType(); - virtual const QDateTime&fullDate()const; + virtual const TQDateTime&fullDate()const; virtual bool isDir()const; virtual bool isVersioned()const; virtual bool isConflicted()const; @@ -60,18 +60,18 @@ public: virtual bool isRealVersioned()const; virtual bool isIgnored()const; virtual bool isRemoteAdded()const; - virtual QString infoText()const; - virtual QString cmtAuthor()const; + virtual TQString infoText()const; + virtual TQString cmtAuthor()const; virtual long int cmtRev()const; virtual bool isLocked()const; - virtual QString lockOwner()const; - virtual QString getParentDir()const=0; + virtual TQString lockOwner()const; + virtual TQString getParentDir()const=0; virtual SvnItem* getParentItem()const=0; virtual const svn::Revision&correctPeg()const=0; - virtual void refreshStatus(bool childs=false,QPtrList<SvnItem> *exclude = 0,bool depsonly=false)=0; + virtual void refreshtqStatus(bool childs=false,TQPtrList<SvnItem> *exclude = 0,bool depsonly=false)=0; - QPixmap getPixmap(int size,bool overlay=true); - QPixmap getPixmap(const QPixmap&,int size,bool overlay=true); + TQPixmap getPixmap(int size,bool overlay=true); + TQPixmap getPixmap(const TQPixmap&,int size,bool overlay=true); virtual FileListViewItem*fItem(){return 0;} virtual void setStat(const svn::StatusPtr&); @@ -80,7 +80,7 @@ public: bool isNormal()const; bool isMissing()const; bool isDeleted()const; - const QString& getToolTipText(); + const TQString& getToolTipText(); KFileItem*fileItem(); protected: @@ -101,11 +101,11 @@ protected: svn::smart_pointer<SvnItem_p> p_Item; virtual SvnActions*getWrapper()const = 0; - static QPixmap internalTransform(const QPixmap&,int size); + static TQPixmap internalTransform(const TQPixmap&,int size); }; -typedef QPtrList<SvnItem> SvnItemList; -typedef QPtrListIterator<SvnItem> SvnItemListIterator; +typedef TQPtrList<SvnItem> SvnItemList; +typedef TQPtrListIterator<SvnItem> SvnItemListIterator; #endif |