summaryrefslogtreecommitdiffstats
path: root/kicker/libkicker/kickertip.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/libkicker/kickertip.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/libkicker/kickertip.h')
-rw-r--r--kicker/libkicker/kickertip.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/kicker/libkicker/kickertip.h b/kicker/libkicker/kickertip.h
index 7211012fb..e51fae4ac 100644
--- a/kicker/libkicker/kickertip.h
+++ b/kicker/libkicker/kickertip.h
@@ -26,10 +26,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef KICKER_TIP_H
#define KICKER_TIP_H
-#include <qbitmap.h>
-#include <qpixmap.h>
-#include <qtimer.h>
-#include <qwidget.h>
+#include <tqbitmap.h>
+#include <tqpixmap.h>
+#include <tqtimer.h>
+#include <tqwidget.h>
#include <kpanelapplet.h>
@@ -47,15 +47,15 @@ public:
struct Data
{
- QString message;
- QString subtext;
- QPixmap icon;
+ TQString message;
+ TQString subtext;
+ TQPixmap icon;
KickerTip::MaskEffect maskEffect;
int duration;
KPanelApplet::Direction direction;
// do NOT delete this in the client!
- QMimeSourceFactory* mimeFactory;
+ TQMimeSourceFactory* mimeFactory;
};
class KDE_EXPORT Client
@@ -69,15 +69,15 @@ public:
static void enableTipping(bool tip);
static bool tippingEnabled();
- void untipFor(const QWidget* w);
- bool eventFilter(QObject *o, QEvent *e);
+ void untipFor(const TQWidget* w);
+ bool eventFilter(TQObject *o, TQEvent *e);
protected:
- KickerTip(QWidget * parent);
+ KickerTip(TQWidget * parent);
~KickerTip();
- void paintEvent(QPaintEvent * e);
- void mousePressEvent(QMouseEvent * e);
+ void paintEvent(TQPaintEvent * e);
+ void mousePressEvent(TQMouseEvent * e);
void plainMask();
void dissolveMask();
@@ -85,32 +85,32 @@ protected:
void displayInternal();
void hide();
- void tipFor(const QWidget* w);
- bool isTippingFor(const QWidget* w) const;
+ void tipFor(const TQWidget* w);
+ bool isTippingFor(const TQWidget* w) const;
protected slots:
- void tipperDestroyed(QObject* o);
+ void tipperDestroyed(TQObject* o);
void internalUpdate();
void display();
private:
- QBitmap m_mask;
- QPixmap m_pixmap;
- QPixmap m_icon;
+ TQBitmap m_mask;
+ TQPixmap m_pixmap;
+ TQPixmap m_icon;
MaskEffect m_maskEffect;
- QSimpleRichText* m_richText;
- QMimeSourceFactory* m_mimeFactory;
+ TQSimpleRichText* m_richText;
+ TQMimeSourceFactory* m_mimeFactory;
int m_dissolveSize;
int m_dissolveDelta;
KPanelApplet::Direction m_direction;
- QTimer m_timer;
- QTimer m_frameTimer;
+ TQTimer m_timer;
+ TQTimer m_frameTimer;
bool m_dirty;
bool m_toolTipsEnabled;
- const QWidget* m_tippingFor;
+ const TQWidget* m_tippingFor;
static KickerTip* m_self;
static int m_tippingEnabled;