diff options
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); } |