summaryrefslogtreecommitdiffstats
path: root/kate/part/kateattribute.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kate/part/kateattribute.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/part/kateattribute.h')
-rw-r--r--kate/part/kateattribute.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kate/part/kateattribute.h b/kate/part/kateattribute.h
index c4933e690..a54279b24 100644
--- a/kate/part/kateattribute.h
+++ b/kate/part/kateattribute.h
@@ -21,7 +21,7 @@
#include "katefont.h"
-#include <qcolor.h>
+#include <tqcolor.h>
/**
* The Attribute class incorporates all text decorations supported by Kate.
@@ -49,13 +49,13 @@ public:
KateAttribute();
virtual ~KateAttribute();
- QFont font(const QFont& ref);
+ TQFont font(const TQFont& ref);
- inline int width(KateFontStruct& fs, const QString& text, int col, int tabWidth) const
+ inline int width(KateFontStruct& fs, const TQString& text, int col, int tabWidth) const
{ return fs.width(text, col, bold(), italic(), tabWidth); };
// Non-preferred function when you have a string and you want one char's width!!
- inline int width(KateFontStruct& fs, const QChar& c, int tabWidth) const
+ inline int width(KateFontStruct& fs, const TQChar& c, int tabWidth) const
{ return fs.width(c, bold(), italic(), tabWidth); };
inline bool itemSet(int item) const
@@ -76,7 +76,7 @@ public:
void setWeight(int weight);
inline bool bold() const
- { return weight() >= QFont::Bold; };
+ { return weight() >= TQFont::Bold; };
void setBold(bool enable = true);
@@ -100,30 +100,30 @@ public:
void setStrikeOut(bool enable = true);
- inline const QColor& outline() const
+ inline const TQColor& outline() const
{ return m_outline; };
- void setOutline(const QColor& color);
+ void setOutline(const TQColor& color);
- inline const QColor& textColor() const
+ inline const TQColor& textColor() const
{ return m_textColor; };
- void setTextColor(const QColor& color);
+ void setTextColor(const TQColor& color);
- inline const QColor& selectedTextColor() const
+ inline const TQColor& selectedTextColor() const
{ return m_selectedTextColor; };
- void setSelectedTextColor(const QColor& color);
+ void setSelectedTextColor(const TQColor& color);
- inline const QColor& bgColor() const
+ inline const TQColor& bgColor() const
{ return m_bgColor; };
- void setBGColor(const QColor& color);
+ void setBGColor(const TQColor& color);
- inline const QColor& selectedBGColor() const
+ inline const TQColor& selectedBGColor() const
{ return m_selectedBGColor; };
- void setSelectedBGColor(const QColor& color);
+ void setSelectedBGColor(const TQColor& color);
KateAttribute& operator+=(const KateAttribute& a);
@@ -138,7 +138,7 @@ public:
private:
int m_weight;
bool m_italic, m_underline, m_overline,m_strikeout, m_changed;
- QColor m_outline, m_textColor, m_selectedTextColor, m_bgColor, m_selectedBGColor;
+ TQColor m_outline, m_textColor, m_selectedTextColor, m_bgColor, m_selectedBGColor;
int m_itemsSet;
};