summaryrefslogtreecommitdiffstats
path: root/cervisia/updateview_items.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/updateview_items.h
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/updateview_items.h')
-rw-r--r--cervisia/updateview_items.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/cervisia/updateview_items.h b/cervisia/updateview_items.h
index 0b24ca85..83bd0efc 100644
--- a/cervisia/updateview_items.h
+++ b/cervisia/updateview_items.h
@@ -38,20 +38,20 @@ class Visitor;
UpdateDirItem* findOrCreateDirItem(const TQString&, UpdateDirItem*);
-class UpdateItem : public QListViewItem
+class UpdateItem : public TQListViewItem
{
public:
- UpdateItem(UpdateView* parent, const Cervisia::Entry& entry)
- : TQListViewItem(parent), m_entry(entry) {}
- UpdateItem(UpdateItem* parent, const Cervisia::Entry& entry)
- : TQListViewItem(parent), m_entry(entry) {}
+ UpdateItem(UpdateView* tqparent, const Cervisia::Entry& entry)
+ : TQListViewItem(tqparent), m_entry(entry) {}
+ UpdateItem(UpdateItem* tqparent, const Cervisia::Entry& entry)
+ : TQListViewItem(tqparent), m_entry(entry) {}
const Cervisia::Entry& entry() const { return m_entry; }
// Returns the path (relative to the repository).
- // TQString::null for the root item and its (direct) children.
- // If it's not TQString::null it ends with '/'.
+ // TQString() for the root item and its (direct) tqchildren.
+ // If it's not TQString() it ends with '/'.
TQString dirPath() const;
// Returns the file name, including the path (relative to the repository)
@@ -73,12 +73,12 @@ public:
enum { Name };
- UpdateDirItem(UpdateView* parent, const Cervisia::Entry& entry);
- UpdateDirItem(UpdateDirItem* parent, const Cervisia::Entry& entry);
+ UpdateDirItem(UpdateView* tqparent, const Cervisia::Entry& entry);
+ UpdateDirItem(UpdateDirItem* tqparent, const Cervisia::Entry& entry);
void syncWithDirectory();
void syncWithEntries();
- void updateChildItem(const TQString& name, Cervisia::EntryStatus status, bool isdir);
+ void updateChildItem(const TQString& name, Cervisia::EntrytqStatus status, bool isdir);
void updateEntriesItem(const Cervisia::Entry& entry, bool isBinary);
bool wasScanned() const { return m_opened; }
@@ -119,9 +119,9 @@ class UpdateFileItem : public UpdateItem
{
public:
- enum { Name, MimeType, Status, Revision, TagOrDate, Timestamp };
+ enum { Name, MimeType, tqStatus, Revision, TagOrDate, Timestamp };
- UpdateFileItem(UpdateDirItem* parent, const Cervisia::Entry& entry);
+ UpdateFileItem(UpdateDirItem* tqparent, const Cervisia::Entry& entry);
bool undefinedState() const
{ return m_undefined; }
@@ -132,7 +132,7 @@ public:
int col, int width, int align);
virtual int rtti() const { return RTTI; }
- void setStatus(Cervisia::EntryStatus status);
+ void settqStatus(Cervisia::EntrytqStatus status);
void setRevTag(const TQString& rev, const TQString& tag);
void setDate(const TQDateTime& date);
void setUndefinedState(bool b)