diff options
Diffstat (limited to 'src/maxmin.ui.h')
-rw-r--r-- | src/maxmin.ui.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/maxmin.ui.h b/src/maxmin.ui.h index 05e0b15..95d8a1e 100644 --- a/src/maxmin.ui.h +++ b/src/maxmin.ui.h @@ -21,19 +21,19 @@ #include "torkconfig.h" #include <klocale.h> #include <kmessagebox.h> -#include <qtooltip.h> -#include <qpopupmenu.h> +#include <ntqtooltip.h> +#include <ntqpopupmenu.h> void MaxMin::init() { - QStringList bandwidthSlots = TorkConfig::bandwidthSlots(); - for ( QStringList::Iterator it = bandwidthSlots.begin(); it != bandwidthSlots.end(); ++it ) + TQStringList bandwidthSlots = TorkConfig::bandwidthSlots(); + for ( TQStringList::Iterator it = bandwidthSlots.begin(); it != bandwidthSlots.end(); ++it ) { if ((*it).isEmpty()) continue; - new QListViewItem(timedBandwidthList,(*it).section("\n",-5,-5), + new TQListViewItem(timedBandwidthList,(*it).section("\n",-5,-5), (*it).section("\n",-4,-4),(*it).section("\n",-3,-3),(*it).section("\n",-2,-2),(*it).section("\n",-1)); } @@ -82,19 +82,19 @@ void MaxMin::kcfg_BandwidthBurst_valueChanged( int newValue) void MaxMin::pushButton1_clicked() { - QString bwtime = theTime->time().toString(); - QString max = QString("%1").arg(kcfg_BandwidthRate->value()); - QString burst = QString("%1").arg(kcfg_BandwidthBurst->value()); - QString adv = QString("%1").arg(kcfg_MaxAdvertisedBandwidth->value()); + TQString bwtime = theTime->time().toString(); + TQString max = TQString("%1").arg(kcfg_BandwidthRate->value()); + TQString burst = TQString("%1").arg(kcfg_BandwidthBurst->value()); + TQString adv = TQString("%1").arg(kcfg_MaxAdvertisedBandwidth->value()); - new QListViewItem(timedBandwidthList,bwtime,theDay->currentText(),max,burst,adv); + new TQListViewItem(timedBandwidthList,bwtime,theDay->currentText(),max,burst,adv); } -void MaxMin::timedBandwidthList_contextMenuRequested( QListViewItem *, const QPoint &point, int ) +void MaxMin::timedBandwidthList_contextMenuRequested( TQListViewItem *, const TQPoint &point, int ) { - QPopupMenu *menu = new QPopupMenu( timedBandwidthList ); + TQPopupMenu *menu = new TQPopupMenu( timedBandwidthList ); menu->clear(); menu->insertItem( "Delete Entry", this,SLOT(slotDeleteEntry()) ); @@ -106,7 +106,7 @@ void MaxMin::timedBandwidthList_contextMenuRequested( QListViewItem *, const QPo void MaxMin::slotDeleteEntry( ) { - QListViewItemIterator it(timedBandwidthList, QListViewItemIterator::Selected); + TQListViewItemIterator it(timedBandwidthList, TQListViewItemIterator::Selected); while ( it.current() ) { if (timedBandwidthList->isSelected( it.current())) delete it.current(); |