summaryrefslogtreecommitdiffstats
path: root/kppp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-09 10:36:57 +0900
committerMichele Calgaro <[email protected]>2023-11-09 10:36:57 +0900
commitb53c83209a6b927b27600899a780db1efc985ecb (patch)
tree5669b200cf24a8e47338ab2054daf3a58264925f /kppp
parent82b0c5074d73953b9d00fa7b8c17115bb4bc900e (diff)
downloadtdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.tar.gz
tdenetwork-b53c83209a6b927b27600899a780db1efc985ecb.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kppp')
-rw-r--r--kppp/docking.cpp4
-rw-r--r--kppp/general.cpp4
-rw-r--r--kppp/logview/monthly.cpp2
-rw-r--r--kppp/modemcmds.cpp8
4 files changed, 9 insertions, 9 deletions
diff --git a/kppp/docking.cpp b/kppp/docking.cpp
index cfb41529..792d80a6 100644
--- a/kppp/docking.cpp
+++ b/kppp/docking.cpp
@@ -114,12 +114,12 @@ void DockWidget::stop_stats() {
void DockWidget::mousePressEvent(TQMouseEvent *e) {
// open/close connect-window on right mouse button
- if ( e->button() == Qt::LeftButton ) {
+ if ( e->button() == TQt::LeftButton ) {
toggle_window_state();
}
// open popup menu on left mouse button
- if ( e->button() == Qt::RightButton ) {
+ if ( e->button() == TQt::RightButton ) {
TQString text;
if(p_kppp->con_win->isVisible())
text = i18n("Minimize");
diff --git a/kppp/general.cpp b/kppp/general.cpp
index 1dbe4aad..b1e2c0b0 100644
--- a/kppp/general.cpp
+++ b/kppp/general.cpp
@@ -487,7 +487,7 @@ ModemWidget2::ModemWidget2(TQWidget *parent, const char *name)
TQLabel *volumeLabel = new TQLabel(i18n("Modem &volume:"), parent);
hbl->addWidget(volumeLabel);
- volume = new TQSlider(0, 2, 1, gpppdata.volume(), Qt::Horizontal, parent);
+ volume = new TQSlider(0, 2, 1, gpppdata.volume(), TQt::Horizontal, parent);
volumeLabel->setBuddy(volume);
volume->setTickmarks(TQSlider::Below);
hbl->addWidget(volume);
@@ -619,7 +619,7 @@ GraphSetup::GraphSetup(TQWidget *parent, const char *name) :
enable_check = new TQCheckBox(i18n("&Enable throughput graph"), parent);
tl->addWidget(enable_check);
- grpColor = new TQGroupBox(2, Qt::Horizontal,
+ grpColor = new TQGroupBox(2, TQt::Horizontal,
i18n("Graph Colors"), parent);
tl->addWidget(grpColor);
diff --git a/kppp/logview/monthly.cpp b/kppp/logview/monthly.cpp
index e36a6219..1a6b5a1f 100644
--- a/kppp/logview/monthly.cpp
+++ b/kppp/logview/monthly.cpp
@@ -228,7 +228,7 @@ MonthlyWidget::MonthlyWidget(TQWidget *parent) :
connect(cboConnections, TQT_SIGNAL(activated(int)),
this, TQT_SLOT(slotConnections(int)));
- bbox = new KButtonBox(this, Qt::Vertical);
+ bbox = new KButtonBox(this, TQt::Vertical);
prev = bbox->addButton(i18n("&Prev Month"));
next = bbox->addButton(i18n("&Next Month"));
bbox->addStretch(1);
diff --git a/kppp/modemcmds.cpp b/kppp/modemcmds.cpp
index 43900295..625ee40b 100644
--- a/kppp/modemcmds.cpp
+++ b/kppp/modemcmds.cpp
@@ -71,7 +71,7 @@ ModemCommands::ModemCommands(TQWidget *parent, const char *name)
FORMATSLIDERLABEL(lpreinitslider);
preinitslider = new TQSlider(0, 300, 1, 0,
- Qt::Horizontal, dummyWidget);
+ TQt::Horizontal, dummyWidget);
preinitslider->setFixedHeight(preinitslider->sizeHint().height());
connect(preinitslider, TQT_SIGNAL(valueChanged(int)),
lpreinitslider, TQT_SLOT(setNum(int)));
@@ -95,7 +95,7 @@ ModemCommands::ModemCommands(TQWidget *parent, const char *name)
linitslider = new TQLabel("MMMM", dummyWidget);
FORMATSLIDERLABEL(linitslider);
initslider = new TQSlider(1, 300, 1, 0,
- Qt::Horizontal, dummyWidget);
+ TQt::Horizontal, dummyWidget);
initslider->setFixedHeight(initslider->sizeHint().height());
connect(initslider, TQT_SIGNAL(valueChanged(int)),
linitslider, TQT_SLOT(setNum(int)));
@@ -111,7 +111,7 @@ ModemCommands::ModemCommands(TQWidget *parent, const char *name)
ldurationslider = new TQLabel("MMMM", dummyWidget);
FORMATSLIDERLABEL(ldurationslider);
durationslider = new TQSlider(1, 255, 1, 0,
- Qt::Horizontal, dummyWidget);
+ TQt::Horizontal, dummyWidget);
durationslider->setFixedHeight(durationslider->sizeHint().height());
connect(durationslider, TQT_SIGNAL(valueChanged(int)),
ldurationslider, TQT_SLOT(setNum(int)));
@@ -227,7 +227,7 @@ ModemCommands::ModemCommands(TQWidget *parent, const char *name)
FORMATSLIDERLABEL(lslider);
slider = new TQSlider(0, 255, 1, 0,
- Qt::Horizontal, dummyWidget);
+ TQt::Horizontal, dummyWidget);
slider->setFixedHeight(slider->sizeHint().height());
connect(slider, TQT_SIGNAL(valueChanged(int)),
lslider, TQT_SLOT(setNum(int)));