summaryrefslogtreecommitdiffstats
path: root/kmail/editorwatcher.cpp
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 /kmail/editorwatcher.cpp
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 'kmail/editorwatcher.cpp')
-rw-r--r--kmail/editorwatcher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/editorwatcher.cpp b/kmail/editorwatcher.cpp
index a7f25c3b..fdff42f7 100644
--- a/kmail/editorwatcher.cpp
+++ b/kmail/editorwatcher.cpp
@@ -63,7 +63,7 @@ EditorWatcher::EditorWatcher(const KURL & url, const TQString &mimeType, bool op
mDone( false )
{
assert( mUrl.isLocalFile() );
- connect( &mTimer, TQT_SIGNAL(timeout()), TQT_SLOT(checkEditDone()) );
+ connect( &mTimer, TQ_SIGNAL(timeout()), TQ_SLOT(checkEditDone()) );
}
bool EditorWatcher::start()
@@ -88,7 +88,7 @@ bool EditorWatcher::start()
mInotifyWatch = inotify_add_watch( mInotifyFd, mUrl.path().latin1(), IN_CLOSE | IN_OPEN | IN_MODIFY );
if ( mInotifyWatch >= 0 ) {
TQSocketNotifier *sn = new TQSocketNotifier( mInotifyFd, TQSocketNotifier::Read, this );
- connect( sn, TQT_SIGNAL(activated(int)), TQT_SLOT(inotifyEvent()) );
+ connect( sn, TQ_SIGNAL(activated(int)), TQ_SLOT(inotifyEvent()) );
mHaveInotify = true;
mFileModified = false;
}
@@ -101,7 +101,7 @@ bool EditorWatcher::start()
TQStringList params = KRun::processDesktopExec( *offer, list, false );
mEditor = new TDEProcess( this );
*mEditor << params;
- connect( mEditor, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SLOT(editorExited()) );
+ connect( mEditor, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SLOT(editorExited()) );
if ( !mEditor->start() )
return false;
mEditorRunning = true;