summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/knotification.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/knotification.h')
-rw-r--r--kopete/libkopete/knotification.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kopete/libkopete/knotification.h b/kopete/libkopete/knotification.h
index 83752f2f..a99f70d2 100644
--- a/kopete/libkopete/knotification.h
+++ b/kopete/libkopete/knotification.h
@@ -21,9 +21,9 @@
#define KNOTIFICATION_H
-#include <qpixmap.h>
-#include <qobject.h>
-#include <qstringlist.h>
+#include <tqpixmap.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
#include "kopete_export.h"
class QWidget;
@@ -91,7 +91,7 @@ public:
* When the notification is activated, the widget might be raised.
* Depending of the configuration, the taskbar entry of the window containing the widget may blink.
*/
- QWidget *widget();
+ TQWidget *widget();
signals:
/**
@@ -139,21 +139,21 @@ public slots:
private:
struct Private;
Private *d;
- KNotification(QObject *parent=0L);
+ KNotification(TQObject *parent=0L);
/**
* recursive function that raise the widget. @p w
*
* @see raiseWidget()
*/
- static void raiseWidget(QWidget *w);
+ static void raiseWidget(TQWidget *w);
bool m_linkClicked;
private slots:
void notifyByMessagebox();
- void notifyByPassivePopup(const QPixmap &pix);
- void notifyByExecute(const QString &command, const QString& event,const QString& fromApp, const QString& text, int winId, int eventId);
- void slotPopupLinkClicked(const QString &);
+ void notifyByPassivePopup(const TQPixmap &pix);
+ void notifyByExecute(const TQString &command, const TQString& event,const TQString& fromApp, const TQString& text, int winId, int eventId);
+ void slotPopupLinkClicked(const TQString &);
public:
@@ -168,7 +168,7 @@ public:
* Make sure you use one of the CloseOnTimeOut or CloseWhenWidgetActivated, if not,
* you have to close yourself the notification.
*
- * @note the text is shown in a QLabel, you should make sure to escape the html is needed.
+ * @note the text is shown in a TQLabel, you should make sure to escape the html is needed.
*
* @param eventId is the name of the event
* @param text is the text of the notification to show in the popup.
@@ -177,9 +177,9 @@ public:
* @param actions is a list of action texts.
* @param flags is a bitmask of NotificationsFlags
*/
- static KNotification *event( const QString& eventId , const QString& text=QString::null,
- const QPixmap& pixmap=QPixmap(), QWidget *widget=0L,
- const QStringList &actions=QStringList(), unsigned int flags=CloseOnTimeout);
+ static KNotification *event( const TQString& eventId , const TQString& text=TQString::null,
+ const TQPixmap& pixmap=TQPixmap(), TQWidget *widget=0L,
+ const TQStringList &actions=TQStringList(), unsigned int flags=CloseOnTimeout);
/**
@@ -196,19 +196,19 @@ public:
* @param commandLine the command line to run if selected with @p parent
* @param flags Indicates the way in which the notification should be handled
*/
- static KNotification *userEvent( const QString& text, const QPixmap& pixmap,
- QWidget *widget, QStringList actions,int present, int level,
- const QString &sound, const QString &file,
- const QString &commandLine, unsigned int flags);
+ static KNotification *userEvent( const TQString& text, const TQPixmap& pixmap,
+ TQWidget *widget, TQStringList actions,int present, int level,
+ const TQString &sound, const TQString &file,
+ const TQString &commandLine, unsigned int flags);
/**
* @todo find a proper way to do context-dependent notifications
*/
- static KNotification *event( Kopete::MetaContact *mc, const QString& eventId , const QString& text=QString::null,
- const QPixmap& pixmap=QPixmap(), QWidget *widget=0L,
- const QStringList &actions=QStringList(),unsigned int flags=CloseOnTimeout);
+ static KNotification *event( Kopete::MetaContact *mc, const TQString& eventId , const TQString& text=TQString::null,
+ const TQPixmap& pixmap=TQPixmap(), TQWidget *widget=0L,
+ const TQStringList &actions=TQStringList(),unsigned int flags=CloseOnTimeout);
};