diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /superkaramba/src/richtextlabel.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/richtextlabel.h')
-rw-r--r-- | superkaramba/src/richtextlabel.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/superkaramba/src/richtextlabel.h b/superkaramba/src/richtextlabel.h index 810b129..4a6eb69 100644 --- a/superkaramba/src/richtextlabel.h +++ b/superkaramba/src/richtextlabel.h @@ -12,13 +12,13 @@ #define RICHTEXTLABEL_H #include "meter.h" -#include <qstring.h> -#include <qsimplerichtext.h> -#include <qpainter.h> -#include <qfont.h> -#include <qfontmetrics.h> -#include <qrect.h> -#include <qsize.h> +#include <tqstring.h> +#include <tqsimplerichtext.h> +#include <tqpainter.h> +#include <tqfont.h> +#include <tqfontmetrics.h> +#include <tqrect.h> +#include <tqsize.h> #include "karamba.h" class RichTextLabel : public Meter @@ -29,36 +29,36 @@ class RichTextLabel : public Meter RichTextLabel(karamba* k, int x, int y, int w, int h); ~RichTextLabel(); - void setText(QString text, bool linkUnderline = false); - void setValue(QString text); + void setText(TQString text, bool linkUnderline = false); + void setValue(TQString text); void setValue(long v); - QString getStringValue() { return source; }; + TQString getStringValue() { return source; }; - void setFont(QString font); - QString getFont() const; + void setFont(TQString font); + TQString getFont() const; void setFontSize(int); int getFontSize() const; void setFixedPitch(bool); bool getFixedPitch() const; void setTextProps( TextField* t ); - void setColorGroup(const QColorGroup &colorg); - const QColorGroup &getColorGroup() const; + void setColorGroup(const TQColorGroup &colorg); + const TQColorGroup &getColorGroup() const; void setWidth(int width); virtual bool insideActiveArea(int, int); - virtual bool click(QMouseEvent*); - virtual void mUpdate(QPainter*); + virtual bool click(TQMouseEvent*); + virtual void mUpdate(TQPainter*); - QString anchorAt(int, int); + TQString anchorAt(int, int); private: - QSimpleRichText* text; - QString source; - QFont font; - QColorGroup colorGrp; + TQSimpleRichText* text; + TQString source; + TQFont font; + TQColorGroup colorGrp; bool underlineLinks; - QSize originalSize; + TQSize originalSize; }; #endif |