diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kviewshell/history.h | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/history.h')
-rw-r--r-- | kviewshell/history.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kviewshell/history.h b/kviewshell/history.h index 822e31d7..6b4c2ccf 100644 --- a/kviewshell/history.h +++ b/kviewshell/history.h @@ -15,13 +15,13 @@ class HistoryItem { public: - HistoryItem(Q_UINT32, Q_UINT32); + HistoryItem(TQ_UINT32, TQ_UINT32); HistoryItem() {} bool operator== (const HistoryItem& item) const; - Q_UINT32 page; - Q_UINT32 ypos; + TQ_UINT32 page; + TQ_UINT32 ypos; }; inline @@ -31,14 +31,15 @@ bool operator!=(const HistoryItem& lhs, const HistoryItem& rhs) } -class History : public QObject +class History : public TQObject { Q_OBJECT + TQ_OBJECT public: History(); - void add(Q_UINT32 page, Q_UINT32 ypos); + void add(TQ_UINT32 page, TQ_UINT32 ypos); void clear(); HistoryItem* forward(); |