summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/knotification.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/libkopete/knotification.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);
};