summaryrefslogtreecommitdiffstats
path: root/kkbswitch/boldlistboxitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kkbswitch/boldlistboxitem.cpp')
-rw-r--r--kkbswitch/boldlistboxitem.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kkbswitch/boldlistboxitem.cpp b/kkbswitch/boldlistboxitem.cpp
index a136f0c..7e247d0 100644
--- a/kkbswitch/boldlistboxitem.cpp
+++ b/kkbswitch/boldlistboxitem.cpp
@@ -16,11 +16,11 @@
***************************************************************************/
#include "boldlistboxitem.h"
-#include <qpainter.h>
+#include <ntqpainter.h>
-BoldListBoxItem::BoldListBoxItem(QListBox *listbox, const QPixmap &pix,
- const QString &text, bool bold)
- : QListBoxPixmap(listbox, pix, text), m_bold(bold)
+BoldListBoxItem::BoldListBoxItem(TQListBox *listbox, const TQPixmap &pix,
+ const TQString &text, bool bold)
+ : TQListBoxPixmap(listbox, pix, text), m_bold(bold)
{
}
@@ -28,12 +28,12 @@ BoldListBoxItem::~BoldListBoxItem()
{
}
-void BoldListBoxItem::paint(QPainter *painter)
+void BoldListBoxItem::paint(TQPainter *painter)
{
if (m_bold) {
- QFont font = painter->font();
+ TQFont font = painter->font();
font.setBold(true);
painter->setFont(font);
}
- QListBoxPixmap::paint(painter);
+ TQListBoxPixmap::paint(painter);
}