diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/widgets/ColourTableItem.h | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/widgets/ColourTableItem.h')
-rw-r--r-- | src/gui/widgets/ColourTableItem.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/widgets/ColourTableItem.h b/src/gui/widgets/ColourTableItem.h index a8c906e..fb5b417 100644 --- a/src/gui/widgets/ColourTableItem.h +++ b/src/gui/widgets/ColourTableItem.h @@ -26,13 +26,13 @@ #ifndef _RG_ROSEGARDENCOLOURTABLEITEM_H_ #define _RG_ROSEGARDENCOLOURTABLEITEM_H_ -#include <qcolor.h> -#include <qtable.h> +#include <tqcolor.h> +#include <tqtable.h> -class QTable; -class QRect; -class QPainter; -class QColorGroup; +class TQTable; +class TQRect; +class TQPainter; +class TQColorGroup; namespace Rosegarden @@ -43,14 +43,14 @@ namespace Rosegarden class ColourTableItem : public QTableItem { public: - ColourTableItem(QTable *t, const QColor &input) - : QTableItem(t, QTableItem::Never, ""), + ColourTableItem(TQTable *t, const TQColor &input) + : TQTableItem(t, TQTableItem::Never, ""), currentColour(input) {} - void setColor(QColor &input); - void paint(QPainter *p, const QColorGroup &cg, const QRect &cr, bool selected); + void setColor(TQColor &input); + void paint(TQPainter *p, const TQColorGroup &cg, const TQRect &cr, bool selected); protected: - QColor currentColour; + TQColor currentColour; }; |