summaryrefslogtreecommitdiffstats
path: root/kdecore/knotifyclient.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/knotifyclient.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/knotifyclient.cpp')
-rw-r--r--kdecore/knotifyclient.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdecore/knotifyclient.cpp b/kdecore/knotifyclient.cpp
index bce90d86a..851023170 100644
--- a/kdecore/knotifyclient.cpp
+++ b/kdecore/knotifyclient.cpp
@@ -84,9 +84,9 @@ static int sendNotifyEvent(const TQString &message, const TQString &text,
int uniqueId = kMax( 1, kapp->random() ); // must not be 0 -- means failure!
// knotify daemon needs toplevel window
- TQWidget* widget = TQWidget::find( (WId)winId );
+ TQWidget* widget = TQWidget::tqfind( (WId)winId );
if( widget )
- winId = (int)widget->topLevelWidget()->winId();
+ winId = (int)widget->tqtopLevelWidget()->winId();
TQByteArray data;
TQDataStream ds(data, IO_WriteOnly);
@@ -126,20 +126,20 @@ int KNotifyClient::event( int winId, StandardEvent type, const TQString& text )
TQString message;
switch ( type ) {
case cannotOpenFile:
- message = TQString::fromLatin1("cannotopenfile");
+ message = TQString::tqfromLatin1("cannotopenfile");
break;
case warning:
- message = TQString::fromLatin1("warning");
+ message = TQString::tqfromLatin1("warning");
break;
case fatalError:
- message = TQString::fromLatin1("fatalerror");
+ message = TQString::tqfromLatin1("fatalerror");
break;
case catastrophe:
- message = TQString::fromLatin1("catastrophe");
+ message = TQString::tqfromLatin1("catastrophe");
break;
case notification: // fall through
default:
- message = TQString::fromLatin1("notification");
+ message = TQString::tqfromLatin1("notification");
break;
}