summaryrefslogtreecommitdiffstats
path: root/kalarm/eventlistviewbase.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/eventlistviewbase.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/eventlistviewbase.h')
-rw-r--r--kalarm/eventlistviewbase.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kalarm/eventlistviewbase.h b/kalarm/eventlistviewbase.h
index d9b2b097a..6fe74f4f7 100644
--- a/kalarm/eventlistviewbase.h
+++ b/kalarm/eventlistviewbase.h
@@ -36,12 +36,13 @@ class Find;
class EventListViewBase : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
typedef TQValueList<EventListViewBase*> InstanceList;
typedef TQValueListIterator<EventListViewBase*> InstanceListIterator;
typedef TQValueListConstIterator<EventListViewBase*> InstanceListConstIterator;
- EventListViewBase(TQWidget* parent = 0, const char* name = 0);
+ EventListViewBase(TQWidget* tqparent = 0, const char* name = 0);
virtual ~EventListViewBase() { }
EventListViewItemBase* getEntry(const TQString& eventID) const;
void addEvent(const KAEvent& e) { addEvent(e, instances(), this); }
@@ -103,10 +104,10 @@ class EventListViewBase : public KListView
};
-class EventListViewItemBase : public QListViewItem
+class EventListViewItemBase : public TQListViewItem
{
public:
- EventListViewItemBase(EventListViewBase* parent, const KAEvent&);
+ EventListViewItemBase(EventListViewBase* tqparent, const KAEvent&);
const KAEvent& event() const { return mEvent; }
TQPixmap* eventIcon() const;
int lastColumnWidth() const { return mLastColumnWidth; }