summaryrefslogtreecommitdiffstats
path: root/kmail/editorwatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/editorwatcher.cpp')
-rw-r--r--kmail/editorwatcher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/editorwatcher.cpp b/kmail/editorwatcher.cpp
index bca75762f..e16c19cb4 100644
--- a/kmail/editorwatcher.cpp
+++ b/kmail/editorwatcher.cpp
@@ -49,8 +49,8 @@
using namespace KMail;
EditorWatcher::EditorWatcher(const KURL & url, const TQString &mimeType, bool openWith,
- TQObject * parent, TQWidget *tqparentWidget) :
- TQObject( parent ),
+ TQObject * tqparent, TQWidget *tqparentWidget) :
+ TQObject( tqparent ),
mUrl( url ),
mMimeType( mimeType ),
mOpenWith( openWith ),
@@ -73,7 +73,7 @@ bool EditorWatcher::start()
list.append( mUrl );
KService::Ptr offer = KServiceTypeProfile::preferredService( mMimeType, "Application" );
if ( mOpenWith || !offer ) {
- KOpenWithDlg dlg( list, i18n("Edit with:"), TQString::null, 0 );
+ KOpenWithDlg dlg( list, i18n("Edit with:"), TQString(), 0 );
if ( !dlg.exec() )
return false;
offer = dlg.service();
@@ -118,7 +118,7 @@ void EditorWatcher::inotifyEvent()
char buffer[4096];
ioctl( mInotifyFd, FIONREAD, &pending );
while ( pending > 0 ) {
- int size = read( mInotifyFd, buffer, QMIN( pending, (int)sizeof(buffer) ) );
+ int size = read( mInotifyFd, buffer, TQMIN( pending, (int)sizeof(buffer) ) );
pending -= size;
if ( size < 0 )
break; // error