summaryrefslogtreecommitdiffstats
path: root/kaffeine/src/input/dvb/broadcasteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaffeine/src/input/dvb/broadcasteditor.cpp')
-rw-r--r--kaffeine/src/input/dvb/broadcasteditor.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kaffeine/src/input/dvb/broadcasteditor.cpp b/kaffeine/src/input/dvb/broadcasteditor.cpp
index 0e6c8a6..9e3c86c 100644
--- a/kaffeine/src/input/dvb/broadcasteditor.cpp
+++ b/kaffeine/src/input/dvb/broadcasteditor.cpp
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <qdir.h>
-#include <qvaluelist.h>
+#include <tqdir.h>
+#include <tqvaluelist.h>
#include <kpushbutton.h>
#include <kiconloader.h>
@@ -27,7 +27,7 @@
#include "broadcasteditor.h"
-BroadcastEditor::BroadcastEditor( QWidget *parent, QPtrList<ChannelDesc> *ch, QPtrList<ChannelDesc> *ret ) : BroadcastEditorUI( parent )
+BroadcastEditor::BroadcastEditor( TQWidget *tqparent, TQPtrList<ChannelDesc> *ch, TQPtrList<ChannelDesc> *ret ) : BroadcastEditorUI( tqparent )
{
KIconLoader *icon = new KIconLoader();
@@ -40,7 +40,7 @@ BroadcastEditor::BroadcastEditor( QWidget *parent, QPtrList<ChannelDesc> *ch, QP
cancelBtn->setGuiItem( KGuiItem(i18n("Cancel"), icon->loadIconSet("cancel", KIcon::Small) ) );
okBtn->setGuiItem( KGuiItem(i18n("OK"), icon->loadIconSet("ok", KIcon::Small) ) );
- connect( channelLb, SIGNAL(doubleClicked(QListBoxItem*)), this, SLOT(slotAddChannel(QListBoxItem*)) );
+ connect( channelLb, TQT_SIGNAL(doubleClicked(TQListBoxItem*)), this, TQT_SLOT(slotAddChannel(TQListBoxItem*)) );
chan = ch;
list = ret;
@@ -53,7 +53,7 @@ BroadcastEditor::~BroadcastEditor()
{
}
-ChannelDesc* BroadcastEditor::getChannel( const QString &name )
+ChannelDesc* BroadcastEditor::getChannel( const TQString &name )
{
int i;
@@ -63,7 +63,7 @@ ChannelDesc* BroadcastEditor::getChannel( const QString &name )
return 0;
}
-void BroadcastEditor::slotAddChannel(QListBoxItem*)
+void BroadcastEditor::slotAddChannel(TQListBoxItem*)
{
addToList();
}
@@ -71,8 +71,8 @@ void BroadcastEditor::slotAddChannel(QListBoxItem*)
void BroadcastEditor::addToList()
{
int i;
- QString curName;
- QValueList<QListBoxItem*> qvl;
+ TQString curName;
+ TQValueList<TQListBoxItem*> qvl;
ChannelDesc *c=0, *d=0;
for ( i=0; i<(int)channelLb->count(); i++ ) {
@@ -96,7 +96,7 @@ void BroadcastEditor::addToList()
}
for ( i=0; i<(int)qvl.count(); i++ ) channelLb->takeItem( qvl[i] );
- channelLb->setSelectionMode( QListBox::Extended );
+ channelLb->setSelectionMode( TQListBox::Extended );
}
bool BroadcastEditor::getChannelList()
@@ -126,7 +126,7 @@ void BroadcastEditor::resetList()
list->clear();
getChannelList();
channelLb->sort();
- channelLb->setSelectionMode( QListBox::Single );
+ channelLb->setSelectionMode( TQListBox::Single );
}
#include "broadcasteditor.moc"