summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-30 16:29:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-30 16:29:19 +0900
commit5a58a5716ead754c1f334fab9cbdbc45eca26e0d (patch)
treea94476d4115a542ab33d0a5935e0a1260ceb7526
parent432ec56411cac662dc259ae2dcb2588607a7c15f (diff)
downloadpotracegui-5a58a5716ead754c1f334fab9cbdbc45eca26e0d.tar.gz
potracegui-5a58a5716ead754c1f334fab9cbdbc45eca26e0d.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/autotraceformats.cpp4
-rw-r--r--src/mainwidget.cpp8
-rw-r--r--src/potracegui.cpp30
3 files changed, 21 insertions, 21 deletions
diff --git a/src/autotraceformats.cpp b/src/autotraceformats.cpp
index 893002a..354a47f 100644
--- a/src/autotraceformats.cpp
+++ b/src/autotraceformats.cpp
@@ -29,8 +29,8 @@ AutotraceFormats::AutotraceFormats(TQObject *parent, const char *name): TQObject
outputProcess->addArgument("autotrace");
outputProcess->addArgument("--list-output-formats");
- connect(inputProcess,TQT_SIGNAL(readyReadStderr()),this,TQT_SLOT(inputRead()));
- connect(outputProcess,TQT_SIGNAL(readyReadStderr()),this,TQT_SLOT(outputRead()));
+ connect(inputProcess,TQ_SIGNAL(readyReadStderr()),this,TQ_SLOT(inputRead()));
+ connect(outputProcess,TQ_SIGNAL(readyReadStderr()),this,TQ_SLOT(outputRead()));
if(!(inputProcess->start()) || !(outputProcess->start())) {
allOK=false;
diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp
index 3f081b6..1616a68 100644
--- a/src/mainwidget.cpp
+++ b/src/mainwidget.cpp
@@ -77,10 +77,10 @@ MainWidget::MainWidget(TQWidget* parent, const char* name, WFlags fl): MainWidge
m_currentState=m_state.begin();
m_currentPreview=m_oldPreviews.begin();
- connect(&tracer,TQT_SIGNAL(processExited()),this,TQT_SLOT(tracerExited()));
- connect(&tracer,TQT_SIGNAL(wroteToStdin()),this,TQT_SLOT(writeCompleted()));
- connect(traceBtn,TQT_SIGNAL(clicked()),this,TQT_SLOT(trace()));
- connect(defaultBtn,TQT_SIGNAL(clicked()),this,TQT_SLOT(defaultOptions()));
+ connect(&tracer,TQ_SIGNAL(processExited()),this,TQ_SLOT(tracerExited()));
+ connect(&tracer,TQ_SIGNAL(wroteToStdin()),this,TQ_SLOT(writeCompleted()));
+ connect(traceBtn,TQ_SIGNAL(clicked()),this,TQ_SLOT(trace()));
+ connect(defaultBtn,TQ_SIGNAL(clicked()),this,TQ_SLOT(defaultOptions()));
emit(signalChangeStatusbar(i18n("Checking autotrace formats.")));
AutotraceFormats *formats=new AutotraceFormats();
diff --git a/src/potracegui.cpp b/src/potracegui.cpp
index 3f1b435..0514e94 100644
--- a/src/potracegui.cpp
+++ b/src/potracegui.cpp
@@ -55,7 +55,7 @@ potracegui::potracegui()
setAutoSaveSettings();
setAcceptDrops(true);
- connect(m_centralWidget,TQT_SIGNAL(signalChangeStatusbar(TQString)),this,TQT_SLOT(changeStatusbar(TQString)));
+ connect(m_centralWidget,TQ_SIGNAL(signalChangeStatusbar(TQString)),this,TQ_SLOT(changeStatusbar(TQString)));
createInterface();
}
@@ -67,21 +67,21 @@ potracegui::~potracegui()
void potracegui::createInterface()
{
/*handled by potracegui*/
- KStdAction::openNew(this, TQT_SLOT(fileNew()),actionCollection());
- KStdAction::quit(this, TQT_SLOT(quit()),actionCollection());
- m_toolbarAction=KStdAction::showToolbar(this, TQT_SLOT(showToolbar()),actionCollection());
- m_statusbarAction=KStdAction::showStatusbar(this, TQT_SLOT(showStatusbar()),actionCollection());
- KStdAction::keyBindings(this, TQT_SLOT(configureKeys()),actionCollection());
- KStdAction::configureToolbars(this, TQT_SLOT(configureTB()),actionCollection());
+ KStdAction::openNew(this, TQ_SLOT(fileNew()),actionCollection());
+ KStdAction::quit(this, TQ_SLOT(quit()),actionCollection());
+ m_toolbarAction=KStdAction::showToolbar(this, TQ_SLOT(showToolbar()),actionCollection());
+ m_statusbarAction=KStdAction::showStatusbar(this, TQ_SLOT(showStatusbar()),actionCollection());
+ KStdAction::keyBindings(this, TQ_SLOT(configureKeys()),actionCollection());
+ KStdAction::configureToolbars(this, TQ_SLOT(configureTB()),actionCollection());
/*handled by MainWidget*/
- KStdAction::open(m_centralWidget, TQT_SLOT(fileOpen()),actionCollection());
- KStdAction::save(m_centralWidget, TQT_SLOT(fileSave()),actionCollection());
- KStdAction::saveAs(m_centralWidget, TQT_SLOT(fileSaveAs()),actionCollection());
- KStdAction::close(m_centralWidget, TQT_SLOT(fileClose()),actionCollection());
- KStdAction::cut(m_centralWidget, TQT_SLOT(cut()),actionCollection());
- KStdAction::copy(m_centralWidget, TQT_SLOT(copy()),actionCollection());
- KStdAction::paste(m_centralWidget, TQT_SLOT(paste()),actionCollection());
+ KStdAction::open(m_centralWidget, TQ_SLOT(fileOpen()),actionCollection());
+ KStdAction::save(m_centralWidget, TQ_SLOT(fileSave()),actionCollection());
+ KStdAction::saveAs(m_centralWidget, TQ_SLOT(fileSaveAs()),actionCollection());
+ KStdAction::close(m_centralWidget, TQ_SLOT(fileClose()),actionCollection());
+ KStdAction::cut(m_centralWidget, TQ_SLOT(cut()),actionCollection());
+ KStdAction::copy(m_centralWidget, TQ_SLOT(copy()),actionCollection());
+ KStdAction::paste(m_centralWidget, TQ_SLOT(paste()),actionCollection());
/*Create menu and toolbar*/
createGUI();
@@ -123,7 +123,7 @@ void potracegui::configureKeys()
void potracegui::configureTB()
{
KEditToolbar dlg(actionCollection());
- connect(&dlg,TQT_SIGNAL(newToolbarConfig()),this,TQT_SLOT(NewTBConfig()));
+ connect(&dlg,TQ_SIGNAL(newToolbarConfig()),this,TQ_SLOT(NewTBConfig()));
dlg.exec();
}