summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/filelistviewitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-04 19:54:24 +0000
commitd7633c195a464e4d344ada9eea61afd10110598a (patch)
tree1f2da0b135f3ed84955e340cae823f00c4ce7284 /src/svnfrontend/filelistviewitem.h
parent3fa7eb804f67b2789f128075cc2522f398640250 (diff)
downloadtdesvn-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/filelistviewitem.h')
-rw-r--r--src/svnfrontend/filelistviewitem.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/svnfrontend/filelistviewitem.h b/src/svnfrontend/filelistviewitem.h
index e8f0d64..3c5780f 100644
--- a/src/svnfrontend/filelistviewitem.h
+++ b/src/svnfrontend/filelistviewitem.h
@@ -22,11 +22,11 @@
#include "svnitem.h"
#include <klistview.h>
-#include <qdatetime.h>
-#include <qptrlist.h>
+#include <tqdatetime.h>
+#include <tqptrlist.h>
#include "src/svnqt/svnqttypes.hpp"
-class QPainter;
+class TQPainter;
class KFileItem;
class kdesvnfilelist;
class SvnActions;
@@ -42,34 +42,34 @@ public:
FileListViewItem(kdesvnfilelist*,FileListViewItem*,const svn::StatusPtr&);
virtual ~FileListViewItem();
- virtual int compare( QListViewItem* i, int col, bool ascending ) const;
+ virtual int compare( TQListViewItem* i, int col, bool ascending ) const;
- virtual void updateStatus(const svn::StatusPtr&s);
- virtual void refreshStatus(bool childs=false,QPtrList<SvnItem> *exclude = 0,bool depsonly=false);
+ virtual void updatetqStatus(const svn::StatusPtr&s);
+ virtual void refreshtqStatus(bool childs=false,TQPtrList<SvnItem> *exclude = 0,bool depsonly=false);
#if 0
virtual void refreshMe();
#endif
void removeChilds();
- bool isParent(QListViewItem*which);
+ bool isParent(TQListViewItem*which);
static const int COL_ICON,COL_NAME,COL_LAST_REV,COL_LAST_AUTHOR,COL_LAST_DATE,COL_STATUS/*,COL_CURRENT_REV*/,COL_IS_LOCKED;
- virtual QString getParentDir()const;
+ virtual TQString getParentDir()const;
virtual SvnItem* getParentItem()const;
virtual FileListViewItem*fItem(){return this;}
virtual void setStat(const svn::StatusPtr&);
- virtual void paintCell(QPainter *p, const QColorGroup &cg, int column, int width, int alignment);
+ virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment);
virtual void setOpen(bool o);
virtual void setOpenNoBlock(bool o);
- virtual void setPreviewPix(const QPixmap& pixmap);
+ virtual void setPreviewPix(const TQPixmap& pixmap);
virtual const svn::Revision&correctPeg()const;
- virtual FileListViewItem*findChild(const QString&);
+ virtual FileListViewItem*findChild(const TQString&);
protected:
- QColor m_highColor;
+ TQColor m_highColor;
short int sortChar;
kdesvnfilelist*m_Ksvnfilelist;
@@ -79,10 +79,10 @@ protected:
void init();
virtual SvnActions*getWrapper()const;
SvnActions*m_SvnWrapper;
- QPixmap m_Pixmap;
+ TQPixmap m_Pixmap;
};
-typedef QPtrList<FileListViewItem> FileListViewItemList;
-typedef QPtrListIterator<FileListViewItem> FileListViewItemListIterator;
+typedef TQPtrList<FileListViewItem> FileListViewItemList;
+typedef TQPtrListIterator<FileListViewItem> FileListViewItemListIterator;
#endif