summaryrefslogtreecommitdiffstats
path: root/ksirc/KSTicker/ksticker.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 /ksirc/KSTicker/ksticker.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 'ksirc/KSTicker/ksticker.h')
-rw-r--r--ksirc/KSTicker/ksticker.h60
1 files changed, 30 insertions, 30 deletions
diff --git a/ksirc/KSTicker/ksticker.h b/ksirc/KSTicker/ksticker.h
index d11d8a0f..47beecac 100644
--- a/ksirc/KSTicker/ksticker.h
+++ b/ksirc/KSTicker/ksticker.h
@@ -1,11 +1,11 @@
#ifndef KSTICKER_H
#define KSTICKER_H
-#include <qobject.h>
-#include <qframe.h>
-#include <qstring.h>
-#include <qptrlist.h>
-#include <qpopupmenu.h>
+#include <tqobject.h>
+#include <tqframe.h>
+#include <tqstring.h>
+#include <tqptrlist.h>
+#include <tqpopupmenu.h>
class SInfo {
public:
@@ -17,20 +17,20 @@ class KSTicker : public QFrame
Q_OBJECT
public:
- KSTicker(QWidget * parent=0, const char * name=0, WFlags f=0);
+ KSTicker(TQWidget * parent=0, const char * name=0, WFlags f=0);
virtual ~KSTicker();
- void setString(QString);
- void mergeString(QString);
- void mergeString(QString, QColor);
+ void setString(TQString);
+ void mergeString(TQString);
+ void mergeString(TQString, TQColor);
virtual void show();
virtual void hide();
void speed(int *, int *);
- virtual void setBackgroundColor ( const QColor & );
- virtual void setPalette ( const QPalette & p );
+ virtual void setBackgroundColor ( const TQColor & );
+ virtual void setPalette ( const TQPalette & p );
signals:
void doubleClick();
@@ -42,29 +42,29 @@ public slots:
protected slots:
virtual void fontSelector();
virtual void scrollRate();
- virtual void updateFont(const QFont &font);
+ virtual void updateFont(const TQFont &font);
virtual void scrollConstantly();
protected:
- virtual void timerEvent ( QTimerEvent * );
- virtual void paintEvent ( QPaintEvent * );
- virtual void resizeEvent( QResizeEvent * );
- virtual void closeEvent( QCloseEvent * );
- virtual void mouseDoubleClickEvent( QMouseEvent * );
- virtual void mousePressEvent ( QMouseEvent * );
+ virtual void timerEvent ( TQTimerEvent * );
+ virtual void paintEvent ( TQPaintEvent * );
+ virtual void resizeEvent( TQResizeEvent * );
+ virtual void closeEvent( TQCloseEvent * );
+ virtual void mouseDoubleClickEvent( TQMouseEvent * );
+ virtual void mousePressEvent ( TQMouseEvent * );
virtual void iconify();
private:
- QString stripCols(QString);
+ TQString stripCols(TQString);
- QStringList strlist; /* everything left to parse */
- QStringList strbuffer; /* fifo of the last 10 lines to scroll in scroll constantly mode */
- QStringList tipbuffer; /* 5 lines for the tooltip */
- QString currentStr; /* the string we are currently parsing */
+ TQStringList strlist; /* everything left to parse */
+ TQStringList strbuffer; /* fifo of the last 10 lines to scroll in scroll constantly mode */
+ TQStringList tipbuffer; /* 5 lines for the tooltip */
+ TQString currentStr; /* the string we are currently parsing */
- QFont ourFont;
+ TQFont ourFont;
int onechar;
int chars;
@@ -86,9 +86,9 @@ private:
int iScrollItem;
bool bAtEnd;
- QPixmap *pic;
+ TQPixmap *pic;
- QPopupMenu *popup;
+ TQPopupMenu *popup;
/*
* Drawing settings and variables
@@ -96,10 +96,10 @@ private:
bool bold;
bool underline;
bool italics;
- QColor defbg;
- QColor deffg;
- QColor bg;
- QColor fg;
+ TQColor defbg;
+ TQColor deffg;
+ TQColor bg;
+ TQColor fg;
};
#endif // KSTICKER_H