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.cpp | |
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.cpp')
-rw-r--r-- | src/sourcelistitem.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/sourcelistitem.cpp b/src/sourcelistitem.cpp index aebe1c9..5b217b1 100644 --- a/src/sourcelistitem.cpp +++ b/src/sourcelistitem.cpp @@ -19,47 +19,47 @@ ***************************************************************************/ #include "sourcelistitem.h" -#include <qcheckbox.h> +#include <tqcheckbox.h> //#include <kdebug.h> -SourceListItem::SourceListItem(Source* inSource, QCheckListItem* inParent, Type tt): - QCheckListItem(inParent, inSource->getName(), tt){ +SourceListItem::SourceListItem(Source* inSource, TQCheckListItem* inParent, Type tt): + TQCheckListItem(inParent, inSource->getName(), tt){ mSource = inSource; initItem(); } -SourceListItem::SourceListItem(Source* inSource, QCheckListItem* inParent, QListViewItem* after, Type tt): - QCheckListItem(inParent, after, inSource->getName(), tt){ +SourceListItem::SourceListItem(Source* inSource, TQCheckListItem* inParent, TQListViewItem* after, Type tt): + TQCheckListItem(inParent, after, inSource->getName(), tt){ mSource = inSource; initItem(); } -SourceListItem::SourceListItem(Source* inSource, QListViewItem* inParent, Type tt): - QCheckListItem(inParent, inSource->getName(), tt){ +SourceListItem::SourceListItem(Source* inSource, TQListViewItem* inParent, Type tt): + TQCheckListItem(inParent, inSource->getName(), tt){ mSource = inSource; initItem(); } -SourceListItem::SourceListItem(Source* inSource, QListViewItem* inParent, QListViewItem* after, Type tt): - QCheckListItem(inParent, after, inSource->getName(), tt){ +SourceListItem::SourceListItem(Source* inSource, TQListViewItem* inParent, TQListViewItem* after, Type tt): + TQCheckListItem(inParent, after, inSource->getName(), tt){ mSource = inSource; initItem(); } -SourceListItem::SourceListItem(Source* inSource, QListView* inParent, Type tt): - QCheckListItem(inParent, inSource->getName(), tt){ +SourceListItem::SourceListItem(Source* inSource, TQListView* inParent, Type tt): + TQCheckListItem(inParent, inSource->getName(), tt){ mSource = inSource; initItem(); } -SourceListItem::SourceListItem(Source* inSource, QListView* inParent, QListViewItem* after, Type tt): - QCheckListItem(inParent, after, inSource->getName(), tt){ +SourceListItem::SourceListItem(Source* inSource, TQListView* inParent, TQListViewItem* after, Type tt): + TQCheckListItem(inParent, after, inSource->getName(), tt){ mSource = inSource; initItem(); } -SourceListItem::SourceListItem(Source* inSource, QListViewItem* inParent, const QPixmap& p): - QCheckListItem(inParent, inSource->getName(), p){ +SourceListItem::SourceListItem(Source* inSource, TQListViewItem* inParent, const TQPixmap& p): + TQCheckListItem(inParent, inSource->getName(), p){ mSource = inSource; initItem(); } -SourceListItem::SourceListItem(Source* inSource, QListView* inParent, const QPixmap& p): - QCheckListItem(inParent, inSource->getName(), p){ +SourceListItem::SourceListItem(Source* inSource, TQListView* inParent, const TQPixmap& p): + TQCheckListItem(inParent, inSource->getName(), p){ mSource = inSource; initItem(); } @@ -71,7 +71,7 @@ void SourceListItem::initItem(){ //setText(1, mSource->getName()); //item->setText(2, source->getDescription()); - connect(mSource, SIGNAL(enabledChanged(bool, Source*)), this, SLOT(setEnabled(bool))); + connect(mSource, TQT_SIGNAL(enabledChanged(bool, Source*)), this, TQT_SLOT(setEnabled(bool))); setOn(mSource->isEnabled()); } @@ -83,7 +83,7 @@ Source* SourceListItem::getSource(){ return mSource; } -void SourceListItem::setName(const QString& inName){ +void SourceListItem::setName(const TQString& inName){ setText(1, inName); } @@ -92,6 +92,6 @@ void SourceListItem::setEnabled(bool inEnabled){ } void SourceListItem::stateChange(bool inOn){ - QCheckListItem::stateChange(inOn); + TQCheckListItem::stateChange(inOn); setEnabled(inOn); } |