diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-16 19:01:53 +0900 |
commit | b0f8eef013163b2098c2bb07e93cb9b194338b80 (patch) | |
tree | c35221250699030822f3c616b393f77e1ce47036 /kmail/editorwatcher.cpp | |
parent | c2138cbe92142437d50f2e6cec6f8909da959234 (diff) | |
download | tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.tar.gz tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587)
Diffstat (limited to 'kmail/editorwatcher.cpp')
-rw-r--r-- | kmail/editorwatcher.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/editorwatcher.cpp b/kmail/editorwatcher.cpp index a7f25c3b4..fdff42f70 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; |