diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kexi/kexidb | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kexi/kexidb')
| -rw-r--r-- | kexi/kexidb/drivermanager.cpp | 2 | ||||
| -rw-r--r-- | kexi/kexidb/drivers/sqlite/sqlitevacuum.cpp | 6 | ||||
| -rw-r--r-- | kexi/kexidb/utils.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kexi/kexidb/drivermanager.cpp b/kexi/kexidb/drivermanager.cpp index 0ce563a91..3528bd0af 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 afc861439..af315dca2 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 b7e6a2ed6..e9f13589c 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()); } |
