diff options
author | Michele Calgaro <[email protected]> | 2024-01-05 10:34:09 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-05 10:34:09 +0900 |
commit | 691489dddc259e7d7c463bde3347d7cea780d54f (patch) | |
tree | a1229cef56c3ebcc157bcdcf71a9ad6ecdaf992e /src/configdialog.cpp | |
parent | 61fd6af18c424db720a34272683f1bde05908bee (diff) | |
download | klamav-691489dddc259e7d7c463bde3347d7cea780d54f.tar.gz klamav-691489dddc259e7d7c463bde3347d7cea780d54f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/configdialog.cpp')
-rw-r--r-- | src/configdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/configdialog.cpp b/src/configdialog.cpp index 43a0fe8..3ab3dbb 100644 --- a/src/configdialog.cpp +++ b/src/configdialog.cpp @@ -65,7 +65,7 @@ KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, TDEC // add pages addPage( m_klambackend, i18n( "Backend" ), "system-run", i18n( "Configure Scanning Backend" ) ); - connect( m_klambackend->kcfg_ScannerClamdscan, SIGNAL(toggled(bool)), this, SLOT(slotToggleClamdscan(bool)) ); + connect( m_klambackend->kcfg_ScannerClamdscan, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleClamdscan(bool)) ); slotToggleClamdscan( m_klambackend->kcfg_ScannerClamdscan->isOn() ); // initial state addPage( m_archives, i18n( "Archives" ), "ark", i18n( "Configure Archive Scanning" ) ); @@ -73,9 +73,9 @@ KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, TDEC addPage( m_specialfiletypes, i18n( "File Types" ), "folder", i18n( "Configure File Types" ) ); addPage( m_klamonacc, i18n( "On-Access Scanner" ), "filefind", i18n( "Configure On-Access Scanning" ) ); - connect( m_klamonacc, SIGNAL(directoriesModified()), tdemain->klamonacc, SLOT(restart()) ); - connect( tdemain->klamonacc, SIGNAL(stateUpdated()), this, SLOT(slotToggleKlamOnAccCheckbox()) ); - connect( m_klamonacc->kcfg_EnableOnAccess, SIGNAL(toggled(bool)), this, SLOT(slotToggleKlamOnAcc(bool)) ); + connect( m_klamonacc, TQ_SIGNAL(directoriesModified()), tdemain->klamonacc, TQ_SLOT(restart()) ); + connect( tdemain->klamonacc, TQ_SIGNAL(stateUpdated()), this, TQ_SLOT(slotToggleKlamOnAccCheckbox()) ); + connect( m_klamonacc->kcfg_EnableOnAccess, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleKlamOnAcc(bool)) ); slotToggleKlamOnAcc( m_klamonacc->kcfg_EnableOnAccess->isOn() ); // initial state addPage( m_logoptions, i18n( "Event Logging" ), "kate", i18n( "Configure Events to Log" ) ); @@ -91,7 +91,7 @@ KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, TDEC static_cast<TQLabel*>(label)->setMaximumWidth( 250 ); delete list; - connect( this, SIGNAL(settingsChanged()), SLOT(applySettings()) ); + connect( this, TQ_SIGNAL(settingsChanged()), TQ_SLOT(applySettings()) ); } KlamavConfigDialog::~KlamavConfigDialog() |