diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:13 -0600 |
commit | 56160bf4dfe503631ef6373367b281f081bab2b4 (patch) | |
tree | 7fcea2ffd9c3420af999c3dcad0ed032eef93956 /tdecore/knotifyclient.cpp | |
parent | 13281e2856a2ef43bbab78c5528470309c23aa77 (diff) | |
download | tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'tdecore/knotifyclient.cpp')
-rw-r--r-- | tdecore/knotifyclient.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdecore/knotifyclient.cpp b/tdecore/knotifyclient.cpp index e07522fca..c219cef28 100644 --- a/tdecore/knotifyclient.cpp +++ b/tdecore/knotifyclient.cpp @@ -86,7 +86,7 @@ static int sendNotifyEvent(const TQString &message, const TQString &text, // knotify daemon needs toplevel window TQWidget* widget = TQT_TQWIDGET(TQWidget::find( (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; } |