From 40393e30bb743346b6b40bf130da35419c12ebdc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 17:34:53 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 1329ec6abbcb7b79cd960e0ca138f16598d5f11f) --- kppp/miniterm.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kppp/miniterm.cpp') diff --git a/kppp/miniterm.cpp b/kppp/miniterm.cpp index 55f526fd..e65f812e 100644 --- a/kppp/miniterm.cpp +++ b/kppp/miniterm.cpp @@ -54,9 +54,9 @@ MiniTerm::MiniTerm(TQWidget *parent, const char *name) KWin::setIcons(winId(), kapp->icon(), kapp->miniIcon()); m_file = new TQPopupMenu(this); - m_file->insertItem( SmallIcon("window-close"), i18n("&Close"), this, TQT_SLOT(cancelbutton()) ); + m_file->insertItem( SmallIcon("window-close"), i18n("&Close"), this, TQ_SLOT(cancelbutton()) ); m_options = new TQPopupMenu(this); - m_options->insertItem(i18n("&Reset Modem"),this,TQT_SLOT(resetModem())); + m_options->insertItem(i18n("&Reset Modem"),this,TQ_SLOT(resetModem())); m_help = new KHelpMenu(this, i18n("MiniTerm - A terminal emulation for KPPP\n\n" @@ -86,7 +86,7 @@ MiniTerm::MiniTerm(TQWidget *parent, const char *name) layout->addWidget(statusbar); inittimer = new TQTimer(this); - connect(inittimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(init())); + connect(inittimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(init())); inittimer->start(500); resize(550,400); @@ -103,16 +103,16 @@ void MiniTerm::setupToolbar() { toolbar = new TDEToolBar( this ); toolbar->insertButton("system-log-out", 0, - TQT_SIGNAL(clicked()), this, - TQT_SLOT(cancelbutton()), TRUE, i18n("Close MiniTerm")); + TQ_SIGNAL(clicked()), this, + TQ_SLOT(cancelbutton()), TRUE, i18n("Close MiniTerm")); toolbar->insertButton("back", 0, - TQT_SIGNAL(clicked()), this, - TQT_SLOT(resetModem()), TRUE, i18n("Reset Modem")); + TQ_SIGNAL(clicked()), this, + TQ_SLOT(resetModem()), TRUE, i18n("Reset Modem")); toolbar->insertButton("help", 0, - TQT_SIGNAL(clicked()), this, - TQT_SLOT(help()), TRUE, i18n("Help")); + TQ_SIGNAL(clicked()), this, + TQ_SLOT(help()), TRUE, i18n("Help")); toolbar->setBarPos( TDEToolBar::Top ); toolbar->setMovingEnabled(false); @@ -154,7 +154,7 @@ void MiniTerm::init() { kapp->processEvents(); kapp->processEvents(); - Modem::modem->notify(this, TQT_SLOT(readChar(unsigned char))); + Modem::modem->notify(this, TQ_SLOT(readChar(unsigned char))); return; } } -- cgit v1.2.1