diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 20:48:23 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-04 20:48:23 +0000 |
commit | 383adc283801b6238d8acfc750890613a63f8060 (patch) | |
tree | af3a65389067c05263db2ef4551a541501422998 /src/sourcelistitem.h | |
parent | da7847adb43726079c7a4be1f06acbebe0bdde57 (diff) | |
download | kima-383adc283801b6238d8acfc750890613a63f8060.tar.gz kima-383adc283801b6238d8acfc750890613a63f8060.zip |
TQt4 port kima
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kima@1239290 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/sourcelistitem.h')
-rw-r--r-- | src/sourcelistitem.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/sourcelistitem.h b/src/sourcelistitem.h index 591ffd1..29158f7 100644 --- a/src/sourcelistitem.h +++ b/src/sourcelistitem.h @@ -21,28 +21,28 @@ #ifndef SOURCELISTITEM_H #define SOURCELISTITEM_H -#include <qlistview.h> -#include <qobject.h> +#include <tqlistview.h> +#include <tqobject.h> #include <sources/source.h> /** * SourceListItem * @author Ken Werner */ -class SourceListItem : public QObject, public QCheckListItem { - Q_OBJECT //macro which activates signals and slots (moc) +class SourceListItem : public TQObject, public TQCheckListItem { + TQ_OBJECT //macro which activates signals and slots (tqmoc) public: /** * Creates a new Source */ - SourceListItem(Source* inSource, QCheckListItem* inParent, Type tt = RadioButtonController ); - SourceListItem(Source* inSource, QCheckListItem* inParent, QListViewItem* after, Type tt = RadioButtonController ); - SourceListItem(Source* inSource, QListViewItem* inParent, Type tt = RadioButtonController ); - SourceListItem(Source* inSource, QListViewItem* v, QListViewItem* after, Type tt = RadioButtonController ); - SourceListItem(Source* inSource, QListView* inParent, Type tt = RadioButtonController ); - SourceListItem(Source* inSource, QListView* inParent, QListViewItem* after, Type tt = RadioButtonController ); - SourceListItem(Source* inSource, QListViewItem* inParent, const QPixmap& p ); - SourceListItem(Source* inSource, QListView* inParent, const QPixmap& p ); + SourceListItem(Source* inSource, TQCheckListItem* inParent, Type tt = RadioButtonController ); + SourceListItem(Source* inSource, TQCheckListItem* inParent, TQListViewItem* after, Type tt = RadioButtonController ); + SourceListItem(Source* inSource, TQListViewItem* inParent, Type tt = RadioButtonController ); + SourceListItem(Source* inSource, TQListViewItem* v, TQListViewItem* after, Type tt = RadioButtonController ); + SourceListItem(Source* inSource, TQListView* inParent, Type tt = RadioButtonController ); + SourceListItem(Source* inSource, TQListView* inParent, TQListViewItem* after, Type tt = RadioButtonController ); + SourceListItem(Source* inSource, TQListViewItem* inParent, const TQPixmap& p ); + SourceListItem(Source* inSource, TQListView* inParent, const TQPixmap& p ); virtual ~SourceListItem(); @@ -65,7 +65,7 @@ public slots: /** * Sets the Name of this source */ - void setName(const QString& inName); + void setName(const TQString& inName); /** * updates the text of the item |