summaryrefslogtreecommitdiffstats
path: root/certmanager/kwatchgnupg
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:33:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /certmanager/kwatchgnupg
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz
tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'certmanager/kwatchgnupg')
-rw-r--r--certmanager/kwatchgnupg/kwatchgnupgconfig.cpp16
-rw-r--r--certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp46
2 files changed, 31 insertions, 31 deletions
diff --git a/certmanager/kwatchgnupg/kwatchgnupgconfig.cpp b/certmanager/kwatchgnupg/kwatchgnupgconfig.cpp
index 6b1861787..25b7dc065 100644
--- a/certmanager/kwatchgnupg/kwatchgnupgconfig.cpp
+++ b/certmanager/kwatchgnupg/kwatchgnupgconfig.cpp
@@ -93,13 +93,13 @@ KWatchGnuPGConfig::KWatchGnuPGConfig( TQWidget* parent, const char* name )
mExeED = new KURLRequester( w );
glay->addWidget( new TQLabel( mExeED, i18n("&Executable:"), w ), row, 0 );
glay->addWidget( mExeED, row, 1 );
- connect( mExeED, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()) );
+ connect( mExeED, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()) );
++row;
mSocketED = new KURLRequester( w );
glay->addWidget( new TQLabel( mSocketED, i18n("&Socket:"), w ), row, 0 );
glay->addWidget( mSocketED, row, 1 );
- connect( mSocketED, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotChanged()) );
+ connect( mSocketED, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotChanged()) );
++row;
mLogLevelCB = new TQComboBox( false, w );
@@ -110,7 +110,7 @@ KWatchGnuPGConfig::KWatchGnuPGConfig( TQWidget* parent, const char* name )
mLogLevelCB->insertItem( i18n("Guru") );
glay->addWidget( new TQLabel( mLogLevelCB, i18n("Default &log level:"), w ), row, 0 );
glay->addWidget( mLogLevelCB, row, 1 );
- connect( mLogLevelCB, TQT_SIGNAL(activated(int)), TQT_SLOT(slotChanged()) );
+ connect( mLogLevelCB, TQ_SIGNAL(activated(int)), TQ_SLOT(slotChanged()) );
vlay->addWidget( group );
@@ -134,21 +134,21 @@ KWatchGnuPGConfig::KWatchGnuPGConfig( TQWidget* parent, const char* name )
TQPushButton * button = new TQPushButton( i18n("Set &Unlimited"), w );
glay->addWidget( button, row, 2 );
- connect( mLoglenSB, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotChanged()) );
- connect( button, TQT_SIGNAL(clicked()), TQT_SLOT(slotSetHistorySizeUnlimited()) );
+ connect( mLoglenSB, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotChanged()) );
+ connect( button, TQ_SIGNAL(clicked()), TQ_SLOT(slotSetHistorySizeUnlimited()) );
++row;
mWordWrapCB = new TQCheckBox( i18n("Enable &word wrapping"), w );
mWordWrapCB->hide(); // TQTextEdit doesn't support word wrapping in LogText mode
glay->addMultiCellWidget( mWordWrapCB, row, row, 0, 2 );
- connect( mWordWrapCB, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged()) );
+ connect( mWordWrapCB, TQ_SIGNAL(clicked()), TQ_SLOT(slotChanged()) );
vlay->addWidget( group );
vlay->addStretch( 1 );
- connect( this, TQT_SIGNAL(applyClicked()), TQT_SLOT(slotSave()) );
- connect( this, TQT_SIGNAL(okClicked()), TQT_SLOT(slotSave()) );
+ connect( this, TQ_SIGNAL(applyClicked()), TQ_SLOT(slotSave()) );
+ connect( this, TQ_SIGNAL(okClicked()), TQ_SLOT(slotSave()) );
}
void KWatchGnuPGConfig::slotSetHistorySizeUnlimited() {
diff --git a/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp b/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp
index d3b262b34..ef189a6e2 100644
--- a/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp
+++ b/certmanager/kwatchgnupg/kwatchgnupgmainwin.cpp
@@ -69,16 +69,16 @@ KWatchGnuPGMainWindow::KWatchGnuPGMainWindow( TQWidget* parent, const char* name
setCentralWidget( mCentralWidget );
mWatcher = new KProcIO( TQTextCodec::codecForMib( 106 /*utf-8*/ ) );
- connect( mWatcher, TQT_SIGNAL( processExited(TDEProcess*) ),
- this, TQT_SLOT( slotWatcherExited() ) );
- connect( mWatcher, TQT_SIGNAL( readReady(KProcIO*) ),
- this, TQT_SLOT( slotReadStdout() ) );
+ connect( mWatcher, TQ_SIGNAL( processExited(TDEProcess*) ),
+ this, TQ_SLOT( slotWatcherExited() ) );
+ connect( mWatcher, TQ_SIGNAL( readReady(KProcIO*) ),
+ this, TQ_SLOT( slotReadStdout() ) );
slotReadConfig();
mSysTray = new KWatchGnuPGTray( this );
mSysTray->show();
- connect( mSysTray, TQT_SIGNAL( quitSelected() ),
- this, TQT_SLOT( slotQuit() ) );
+ connect( mSysTray, TQ_SIGNAL( quitSelected() ),
+ this, TQ_SLOT( slotQuit() ) );
setAutoSaveSettings();
}
@@ -96,18 +96,18 @@ void KWatchGnuPGMainWindow::slotClear()
void KWatchGnuPGMainWindow::createActions()
{
(void)new TDEAction( i18n("C&lear History"), "history_clear", CTRL+Key_L,
- this, TQT_SLOT( slotClear() ),
+ this, TQ_SLOT( slotClear() ),
actionCollection(), "clear_log" );
- (void)KStdAction::saveAs( this, TQT_SLOT(slotSaveAs()), actionCollection() );
- (void)KStdAction::close( this, TQT_SLOT(close()), actionCollection() );
- (void)KStdAction::quit( this, TQT_SLOT(slotQuit()), actionCollection() );
- (void)KStdAction::preferences( this, TQT_SLOT(slotConfigure()), actionCollection() );
- (void)KStdAction::keyBindings(this, TQT_SLOT(configureShortcuts()), actionCollection());
- (void)KStdAction::configureToolbars(this, TQT_SLOT(slotConfigureToolbars()), actionCollection());
+ (void)KStdAction::saveAs( this, TQ_SLOT(slotSaveAs()), actionCollection() );
+ (void)KStdAction::close( this, TQ_SLOT(close()), actionCollection() );
+ (void)KStdAction::quit( this, TQ_SLOT(slotQuit()), actionCollection() );
+ (void)KStdAction::preferences( this, TQ_SLOT(slotConfigure()), actionCollection() );
+ (void)KStdAction::keyBindings(this, TQ_SLOT(configureShortcuts()), actionCollection());
+ (void)KStdAction::configureToolbars(this, TQ_SLOT(slotConfigureToolbars()), actionCollection());
#if 0
(void)new TDEAction( i18n("Configure KWatchGnuPG..."), TQString::fromLatin1("configure"),
- 0, this, TQT_SLOT( slotConfigure() ),
+ 0, this, TQ_SLOT( slotConfigure() ),
actionCollection(), "configure" );
#endif
@@ -127,8 +127,8 @@ void KWatchGnuPGMainWindow::slotConfigureToolbars()
void KWatchGnuPGMainWindow::startWatcher()
{
- disconnect( mWatcher, TQT_SIGNAL( processExited(TDEProcess*) ),
- this, TQT_SLOT( slotWatcherExited() ) );
+ disconnect( mWatcher, TQ_SIGNAL( processExited(TDEProcess*) ),
+ this, TQ_SLOT( slotWatcherExited() ) );
if( mWatcher->isRunning() ) {
mWatcher->kill();
while( mWatcher->isRunning() ) {
@@ -150,8 +150,8 @@ void KWatchGnuPGMainWindow::startWatcher()
mCentralWidget->append( i18n("[%1] Log started")
.arg( TQDateTime::currentDateTime().toString(TQt::ISODate) ) );
}
- connect( mWatcher, TQT_SIGNAL( processExited(TDEProcess*) ),
- this, TQT_SLOT( slotWatcherExited() ) );
+ connect( mWatcher, TQ_SIGNAL( processExited(TDEProcess*) ),
+ this, TQ_SLOT( slotWatcherExited() ) );
}
void KWatchGnuPGMainWindow::setGnuPGConfig()
@@ -213,7 +213,7 @@ void KWatchGnuPGMainWindow::slotReadStdout()
mSysTray->setAttention(true);
}
}
- TQTimer::singleShot( 0, this, TQT_SLOT(slotAckRead()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(slotAckRead()) );
}
void KWatchGnuPGMainWindow::slotAckRead() {
@@ -251,8 +251,8 @@ void KWatchGnuPGMainWindow::slotSaveAs()
void KWatchGnuPGMainWindow::slotQuit()
{
- disconnect( mWatcher, TQT_SIGNAL( processExited(TDEProcess*) ),
- this, TQT_SLOT( slotWatcherExited() ) );
+ disconnect( mWatcher, TQ_SIGNAL( processExited(TDEProcess*) ),
+ this, TQ_SLOT( slotWatcherExited() ) );
mWatcher->kill();
kapp->quit();
}
@@ -261,8 +261,8 @@ void KWatchGnuPGMainWindow::slotConfigure()
{
if( !mConfig ) {
mConfig = new KWatchGnuPGConfig( this, "config dialog" );
- connect( mConfig, TQT_SIGNAL( reconfigure() ),
- this, TQT_SLOT( slotReadConfig() ) );
+ connect( mConfig, TQ_SIGNAL( reconfigure() ),
+ this, TQ_SLOT( slotReadConfig() ) );
}
mConfig->loadConfig();
mConfig->exec();