summaryrefslogtreecommitdiffstats
path: root/kppp/logview
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:34:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /kppp/logview
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kppp/logview')
-rw-r--r--kppp/logview/export.cpp4
-rw-r--r--kppp/logview/main.cpp8
-rw-r--r--kppp/logview/monthly.cpp22
3 files changed, 17 insertions, 17 deletions
diff --git a/kppp/logview/export.cpp b/kppp/logview/export.cpp
index f236be50..432ec970 100644
--- a/kppp/logview/export.cpp
+++ b/kppp/logview/export.cpp
@@ -60,7 +60,7 @@ ExportWizard::ExportWizard(TQWidget *parent, const TQString &_date)
TQHBoxLayout *formatLayout = new TQHBoxLayout(formatPage);
typeList = new TQListBox(formatPage);
- connect(typeList, TQT_SIGNAL(highlighted(int)), TQT_SLOT (typeHighlighted(int)));
+ connect(typeList, TQ_SIGNAL(highlighted(int)), TQ_SLOT (typeHighlighted(int)));
typeList->setMinimumSize(50, 200);
TQToolTip::add(typeList, i18n("List with possible output formats"));
int i=0;
@@ -100,7 +100,7 @@ ExportWizard::ExportWizard(TQWidget *parent, const TQString &_date)
fnGet->setMaximumWidth(200);
TQToolTip::add(fnGet, i18n("Select the filename of the exported output file"));
filenameLayout->addWidget(fnGet);
- connect(fnGet, TQT_SIGNAL(clicked()), TQT_SLOT(getFilename()));
+ connect(fnGet, TQ_SIGNAL(clicked()), TQ_SLOT(getFilename()));
filenameLayout->addStretch(2);
addPage(filenamePage, i18n("Selection of Filename"));
diff --git a/kppp/logview/main.cpp b/kppp/logview/main.cpp
index 8633d46f..b4591e0c 100644
--- a/kppp/logview/main.cpp
+++ b/kppp/logview/main.cpp
@@ -73,8 +73,8 @@ TopWidget::TopWidget() : TDEMainWindow(0, "") {
mb->insertItem(i18n("&File"), fm);
mb->setAccel(CTRL + Key_Q, F_EXIT);
- connect(mb, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(menuCallback(int)));
+ connect(mb, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(menuCallback(int)));
} else {
mb = 0;
TQPushButton *but = new KPushButton(KStdGuiItem::close(),w);
@@ -82,8 +82,8 @@ TopWidget::TopWidget() : TDEMainWindow(0, "") {
lh->addStretch(10);
lh->addWidget(but);
- connect(but, TQT_SIGNAL(clicked()),
- kapp, TQT_SLOT(quit()));
+ connect(but, TQ_SIGNAL(clicked()),
+ kapp, TQ_SLOT(quit()));
}
setMinimumSize(mw->sizeHint().width() + 15,
diff --git a/kppp/logview/monthly.cpp b/kppp/logview/monthly.cpp
index 1a6b5a1f..656bf582 100644
--- a/kppp/logview/monthly.cpp
+++ b/kppp/logview/monthly.cpp
@@ -196,7 +196,7 @@ MonthlyWidget::MonthlyWidget(TQWidget *parent) :
lv->setMinimumHeight(280);
lv->setSelectionMode(TQListView::Extended);
selectionItem = 0L;
- connect(lv, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
+ connect(lv, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
lv2 = new TDEListView(this);
lv2->addColumn(i18n("Connection"));
@@ -225,8 +225,8 @@ MonthlyWidget::MonthlyWidget(TQWidget *parent) :
cboConnections = new TQComboBox(false, this); // add a combo box to select connections
cboConnections->setMaximumWidth(200); // a resonable size
cboConnections->insertItem(i18n("All Connections")); // default to all connections
- connect(cboConnections, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotConnections(int)));
+ connect(cboConnections, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotConnections(int)));
bbox = new KButtonBox(this, TQt::Vertical);
prev = bbox->addButton(i18n("&Prev Month"));
@@ -236,14 +236,14 @@ MonthlyWidget::MonthlyWidget(TQWidget *parent) :
bbox->addStretch(1);
exportBttn = bbox->addButton(i18n("&Export..."));
- connect(prev, TQT_SIGNAL(released()),
- this, TQT_SLOT(prevMonth()));
- connect(next, TQT_SIGNAL(released()),
- this, TQT_SLOT(nextMonth()));
- connect(today, TQT_SIGNAL(released()),
- this, TQT_SLOT(currentMonth()));
- connect(exportBttn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(exportWizard()));
+ connect(prev, TQ_SIGNAL(released()),
+ this, TQ_SLOT(prevMonth()));
+ connect(next, TQ_SIGNAL(released()),
+ this, TQ_SLOT(nextMonth()));
+ connect(today, TQ_SIGNAL(released()),
+ this, TQ_SLOT(currentMonth()));
+ connect(exportBttn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(exportWizard()));
bbox->addStretch(8);
bbox->layout();