From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/knotifyclient.h | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'kdecore/knotifyclient.h') diff --git a/kdecore/knotifyclient.h b/kdecore/knotifyclient.h index e7be1798e..2de3e297d 100644 --- a/kdecore/knotifyclient.h +++ b/kdecore/knotifyclient.h @@ -17,7 +17,7 @@ */ #ifndef _KNOTIFY_CLIENT #define _KNOTIFY_CLIENT -#include +#include #include "kdelibs_export.h" class KInstance; @@ -182,19 +182,19 @@ namespace KNotifyClient * @deprecated * @param message The name of the event * @param text The text to put in a dialog box. This won't be shown if - * the user connected the event to sound, only. Can be QString::null. + * the user connected the event to sound, only. Can be TQString::null. * @return a value > 0, unique for this event if successful, 0 otherwise */ - KDECORE_EXPORT int event(const QString &message, const QString &text=QString::null) KDE_DEPRECATED; + KDECORE_EXPORT int event(const TQString &message, const TQString &text=TQString::null) KDE_DEPRECATED; /** * @deprecated * Allows to easily emit standard events. * @param event The event you want to raise. - * @param text The text explaining the event you raise. Can be QString::null. + * @param text The text explaining the event you raise. Can be TQString::null. * @return a value > 0, unique for this event if successful, 0 otherwise */ - KDECORE_EXPORT int event( StandardEvent event, const QString& text=QString::null ) KDE_DEPRECATED; + KDECORE_EXPORT int event( StandardEvent event, const TQString& text=TQString::null ) KDE_DEPRECATED; /** * @deprecated @@ -206,8 +206,8 @@ namespace KNotifyClient * @param file The log file to append the message to if selected with @p present * @return a value > 0, unique for this event if successful, 0 otherwise */ - KDECORE_EXPORT int userEvent(const QString &text=QString::null, int present=Default, int level=Default, - const QString &sound=QString::null, const QString &file=QString::null) KDE_DEPRECATED; + KDECORE_EXPORT int userEvent(const TQString &text=TQString::null, int present=Default, int level=Default, + const TQString &sound=TQString::null, const TQString &file=TQString::null) KDE_DEPRECATED; //#endif @@ -222,13 +222,13 @@ namespace KNotifyClient * @param winId The winId() of the widget where the event originates * @param message The name of the event * @param text The text to put in a dialog box. This won't be shown if - * the user connected the event to sound, only. Can be QString::null. + * the user connected the event to sound, only. Can be TQString::null. * @return a value > 0, unique for this event if successful, 0 otherwise * @since 3.1.1 */ // KDE4: use WId instead of int - KDECORE_EXPORT int event( int winId, const QString& message, - const QString& text = QString::null ); + KDECORE_EXPORT int event( int winId, const TQString& message, + const TQString& text = TQString::null ); /** * You should @@ -237,13 +237,13 @@ namespace KNotifyClient * @param winId The winId() of the widget where the event originates * @param event The event you want to raise * @param text The text to put in a dialog box. This won't be shown if - * the user connected the event to sound, only. Can be QString::null. + * the user connected the event to sound, only. Can be TQString::null. * @return a value > 0, unique for this event if successful, 0 otherwise * @since 3.1.1 */ // KDE4: use WId instead of int KDECORE_EXPORT int event( int winId, StandardEvent event, - const QString& text = QString::null ); + const TQString& text = TQString::null ); /** * Will fire an event that's not registered. @@ -260,18 +260,18 @@ namespace KNotifyClient * @since 3.1.1 */ // KDE4: use WId instead of int - KDECORE_EXPORT int userEvent(int winId, const QString &text=QString::null, int present=Default, int level=Default, - const QString &sound=QString::null, const QString &file=QString::null); + KDECORE_EXPORT int userEvent(int winId, const TQString &text=TQString::null, int present=Default, int level=Default, + const TQString &sound=TQString::null, const TQString &file=TQString::null); /** - * This is a simple substitution for QApplication::beep(). + * This is a simple substitution for TQApplication::beep(). * It simply calls * \code * KNotifyClient::event( KNotifyClient::notification, reason ); * \endcode - * @param reason the reason, can be QString::null. + * @param reason the reason, can be TQString::null. */ - KDECORE_EXPORT void beep(const QString& reason=QString::null); + KDECORE_EXPORT void beep(const TQString& reason=TQString::null); /** * Gets the presentation associated with a certain event name @@ -282,7 +282,7 @@ namespace KNotifyClient * @param eventname the event name to check * @return the presentation methods */ - KDECORE_EXPORT int getPresentation(const QString &eventname); + KDECORE_EXPORT int getPresentation(const TQString &eventname); /** * Gets the default file associated with a certain event name @@ -290,9 +290,9 @@ namespace KNotifyClient * This has the potential for being slow. * @param eventname the name of the event * @param present the presentation method - * @return the associated file. Can be QString::null if not found. + * @return the associated file. Can be TQString::null if not found. */ - KDECORE_EXPORT QString getFile(const QString &eventname, int present); + KDECORE_EXPORT TQString getFile(const TQString &eventname, int present); /** * Gets the default presentation for the event of this program. @@ -302,7 +302,7 @@ namespace KNotifyClient * \endcode * @return the presentation methods */ - KDECORE_EXPORT int getDefaultPresentation(const QString &eventname); + KDECORE_EXPORT int getDefaultPresentation(const TQString &eventname); /** * Gets the default File for the event of this program. @@ -311,9 +311,9 @@ namespace KNotifyClient * Some do (Sound) * @param eventname the name of the event * @param present the presentation method - * @return the default file. Can be QString::null if not found. + * @return the default file. Can be TQString::null if not found. */ - KDECORE_EXPORT QString getDefaultFile(const QString &eventname, int present); + KDECORE_EXPORT TQString getDefaultFile(const TQString &eventname, int present); /** * Shortcut to KNotifyClient::Instance::current() :) -- cgit v1.2.1