diff options
Diffstat (limited to 'digikam/themedesigner/themedicongroupitem.cpp')
-rw-r--r-- | digikam/themedesigner/themedicongroupitem.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/digikam/themedesigner/themedicongroupitem.cpp b/digikam/themedesigner/themedicongroupitem.cpp index 6586825..585bd52 100644 --- a/digikam/themedesigner/themedicongroupitem.cpp +++ b/digikam/themedesigner/themedicongroupitem.cpp @@ -21,10 +21,10 @@ * * ============================================================ */ -// Qt includes. +// TQt includes. -#include <qpixmap.h> -#include <qpainter.h> +#include <tqpixmap.h> +#include <tqpainter.h> // KDE includes. @@ -50,11 +50,11 @@ ThemedIconGroupItem::~ThemedIconGroupItem() void ThemedIconGroupItem::paintBanner() { - QRect r(0, 0, rect().width(), rect().height()); + TQRect r(0, 0, rect().width(), rect().height()); - QPixmap pix(m_view->bannerPixmap()); + TQPixmap pix(m_view->bannerPixmap()); - QFont fn(m_view->font()); + TQFont fn(m_view->font()); fn.setBold(true); int fnSize = fn.pointSize(); bool usePointSize; @@ -70,13 +70,13 @@ void ThemedIconGroupItem::paintBanner() usePointSize = false; } - QPainter p(&pix); + TQPainter p(&pix); p.setPen(ThemeEngine::instance()->textSelColor()); p.setFont(fn); - QRect tr; + TQRect tr; p.drawText(5, 5, r.width(), r.height(), - Qt::AlignLeft | Qt::AlignTop, i18n("Album Banner"), + TQt::AlignLeft | TQt::AlignTop, i18n("Album Banner"), -1, &tr); r.setY(tr.height() + 2); @@ -90,13 +90,13 @@ void ThemedIconGroupItem::paintBanner() p.setFont(fn); p.drawText(5, r.y(), r.width(), r.height(), - Qt::AlignLeft | Qt::AlignVCenter, i18n("July 2007 - 10 Items")); + TQt::AlignLeft | TQt::AlignVCenter, i18n("July 2007 - 10 Items")); p.end(); r = rect(); - r = QRect(iconView()->contentsToViewport(QPoint(r.x(), r.y())), - QSize(r.width(), r.height())); + r = TQRect(iconView()->contentsToViewport(TQPoint(r.x(), r.y())), + TQSize(r.width(), r.height())); bitBlt(iconView()->viewport(), r.x(), r.y(), &pix, 0, 0, r.width(), r.height()); |