diff options
Diffstat (limited to 'ksirc/KSTicker/ksticker.h')
-rw-r--r-- | ksirc/KSTicker/ksticker.h | 60 |
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 |