summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/knotification.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/libkopete/knotification.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/knotification.h')
-rw-r--r--kopete/libkopete/knotification.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kopete/libkopete/knotification.h b/kopete/libkopete/knotification.h
index 1e570541..ece07bf6 100644
--- a/kopete/libkopete/knotification.h
+++ b/kopete/libkopete/knotification.h
@@ -51,9 +51,10 @@ namespace Kopete { class MetaContact; }
*
* @author Olivier Goffart <ogoffart @ kde.org>
*/
-class KOPETE_EXPORT KNotification : public QObject
+class KOPETE_EXPORT KNotification : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
enum NotificationFlags
@@ -139,7 +140,7 @@ public slots:
private:
struct Private;
Private *d;
- KNotification(TQObject *parent=0L);
+ KNotification(TQObject *tqparent=0L);
/**
* recursive function that raise the widget. @p w
*
@@ -175,9 +176,9 @@ public:
* @param pixmap is a picture which may be shown in the popup.
* @param widget is a widget where the notification reports to
* @param actions is a list of action texts.
- * @param flags is a bitmask of NotificationsFlags
+ * @param flags is a bittqmask of NotificationsFlags
*/
- static KNotification *event( const TQString& eventId , const TQString& text=TQString::null,
+ static KNotification *event( const TQString& eventId , const TQString& text=TQString(),
const TQPixmap& pixmap=TQPixmap(), TQWidget *widget=0L,
const TQStringList &actions=TQStringList(), unsigned int flags=CloseOnTimeout);
@@ -192,8 +193,8 @@ public:
* @param present The presentation method of the event
* @param level The error message level
* @param sound The sound to play if selected with @p present
- * @param file The log file to append the message to if selected with @p parent
- * @param commandLine the command line to run if selected with @p parent
+ * @param file The log file to append the message to if selected with @p tqparent
+ * @param commandLine the command line to run if selected with @p tqparent
* @param flags Indicates the way in which the notification should be handled
*/
static KNotification *userEvent( const TQString& text, const TQPixmap& pixmap,
@@ -206,7 +207,7 @@ public:
/**
* @todo find a proper way to do context-dependent notifications
*/
- static KNotification *event( Kopete::MetaContact *mc, const TQString& eventId , const TQString& text=TQString::null,
+ static KNotification *event( Kopete::MetaContact *mc, const TQString& eventId , const TQString& text=TQString(),
const TQPixmap& pixmap=TQPixmap(), TQWidget *widget=0L,
const TQStringList &actions=TQStringList(),unsigned int flags=CloseOnTimeout);