summaryrefslogtreecommitdiffstats
path: root/kjots/kjotsentry.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kjots/kjotsentry.h
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjots/kjotsentry.h')
-rw-r--r--kjots/kjotsentry.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/kjots/kjotsentry.h b/kjots/kjotsentry.h
index c953ec7..2967eb3 100644
--- a/kjots/kjotsentry.h
+++ b/kjots/kjotsentry.h
@@ -49,6 +49,7 @@ namespace KIO
class KJotsEntryBase : public TQObject, public KListViewItem
{
Q_OBJECT
+ TQ_OBJECT
public:
KJotsEntryBase(KListView*, TQListViewItem*);
KJotsEntryBase(KListViewItem*, TQListViewItem*);
@@ -70,10 +71,10 @@ class KJotsEntryBase : public TQObject, public KListViewItem
void setDirty(bool d) { m_dirty = d; } //!< Toggles the dirty flag.
virtual bool isDirty() { return m_dirty; }; //!< Accessor for dirty flag.
- Q_UINT64 id() { return m_id; }
- void setId(Q_UINT64);
+ TQ_UINT64 id() { return m_id; }
+ void setId(TQ_UINT64);
- KJotsBook *parentBook() { return m_parent; }
+ KJotsBook *tqparentBook() { return m_parent; }
void resetParent();
bool isBook() const { return m_isBook; }
@@ -86,7 +87,7 @@ class KJotsEntryBase : public TQObject, public KListViewItem
bool m_isBook; //!< used for speed and code clarity.
private:
- Q_UINT64 m_id; //!< unique ID for this entry
+ TQ_UINT64 m_id; //!< unique ID for this entry
bool m_dirty; //!< Set when this entry has been changed.
KJotsBook *m_parent; //!< used during drag-n-drop moving
};
@@ -98,6 +99,7 @@ class KJotsEntryBase : public TQObject, public KListViewItem
class KJotsBook : public KJotsEntryBase
{
Q_OBJECT
+ TQ_OBJECT
public:
KJotsBook(KListView*, TQListViewItem* after = 0);
KJotsBook(KListViewItem*, TQListViewItem* after = 0);
@@ -141,8 +143,9 @@ class KJotsBook : public KJotsEntryBase
class KJotsPage : public KJotsEntryBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- KJotsPage(KJotsBook* parent, TQListViewItem* after = 0);
+ KJotsPage(KJotsBook* tqparent, TQListViewItem* after = 0);
~KJotsPage();
public: