summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-04 10:30:32 +0900
committerMichele Calgaro <[email protected]>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kexi/kexidb
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kexi/kexidb')
-rw-r--r--kexi/kexidb/drivermanager.cpp2
-rw-r--r--kexi/kexidb/drivers/sqlite/sqlitevacuum.cpp6
-rw-r--r--kexi/kexidb/utils.cpp2
3 files changed, 5 insertions, 5 deletions
diff --git a/kexi/kexidb/drivermanager.cpp b/kexi/kexidb/drivermanager.cpp
index 0ce563a9..3528bd0a 100644
--- a/kexi/kexidb/drivermanager.cpp
+++ b/kexi/kexidb/drivermanager.cpp
@@ -89,7 +89,7 @@ bool DriverManagerInternal::lookupDrivers()
return true;
if (tqApp) {
- connect(tqApp,TQT_SIGNAL(aboutToQuit()),this,TQT_SLOT(slotAppQuits()));
+ connect(tqApp,TQ_SIGNAL(aboutToQuit()),this,TQ_SLOT(slotAppQuits()));
}
//TODO: for QT-only version check for TDEInstance wrapper
// KexiDBWarn << "DriverManagerInternal::lookupDrivers(): cannot work without TDEInstance (TDEGlobal::instance()==0)!" << endl;
diff --git a/kexi/kexidb/drivers/sqlite/sqlitevacuum.cpp b/kexi/kexidb/drivers/sqlite/sqlitevacuum.cpp
index afc86143..af315dca 100644
--- a/kexi/kexidb/drivers/sqlite/sqlitevacuum.cpp
+++ b/kexi/kexidb/drivers/sqlite/sqlitevacuum.cpp
@@ -71,8 +71,8 @@ tristate SQLiteVacuum::run()
args << ksqlite_app << "-verbose-vacuum" << m_filePath << "vacuum";
m_process = new TQProcess(args, this, "process");
m_process->setWorkingDirectory( TQFileInfo(m_filePath).dir(true) );
- connect( m_process, TQT_SIGNAL(readyReadStdout()), this, TQT_SLOT(readFromStdout()) );
- connect( m_process, TQT_SIGNAL(processExited()), this, TQT_SLOT(processExited()) );
+ connect( m_process, TQ_SIGNAL(readyReadStdout()), this, TQ_SLOT(readFromStdout()) );
+ connect( m_process, TQ_SIGNAL(processExited()), this, TQ_SLOT(processExited()) );
if (!m_process->start()) {
m_result = false;
return m_result;
@@ -83,7 +83,7 @@ tristate SQLiteVacuum::run()
);
m_dlg->adjustSize();
m_dlg->resize(300, m_dlg->height());
- connect(m_dlg, TQT_SIGNAL(cancelClicked()), this, TQT_SLOT(cancelClicked()));
+ connect(m_dlg, TQ_SIGNAL(cancelClicked()), this, TQ_SLOT(cancelClicked()));
m_dlg->setMinimumDuration(1000);
m_dlg->setAutoClose(true);
m_dlg->progressBar()->setTotalSteps(100);
diff --git a/kexi/kexidb/utils.cpp b/kexi/kexidb/utils.cpp
index b7e6a2ed..e9f13589 100644
--- a/kexi/kexidb/utils.cpp
+++ b/kexi/kexidb/utils.cpp
@@ -398,7 +398,7 @@ ConnectionTestDialog::ConnectionTestDialog(TQWidget* parent,
showCancelButton(true);
progressBar()->setPercentageVisible(false);
progressBar()->setTotalSteps(0);
- connect(&m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimeout()));
+ connect(&m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimeout()));
adjustSize();
resize(250, height());
}