diff options
Diffstat (limited to 'kbackgammon/kbgtextview.cpp')
-rw-r--r-- | kbackgammon/kbgtextview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kbackgammon/kbgtextview.cpp b/kbackgammon/kbgtextview.cpp index b99a2f27..a2199b05 100644 --- a/kbackgammon/kbgtextview.cpp +++ b/kbackgammon/kbgtextview.cpp @@ -26,7 +26,7 @@ #include <kconfig.h> #include <kcmenumngr.h> #include <kfontdialog.h> -#include <qfont.h> +#include <tqfont.h> #include <kapplication.h> #include <iostream> @@ -36,7 +36,7 @@ /* * Constructor */ -KBgTextView::KBgTextView(QWidget *parent, const char *name) +KBgTextView::KBgTextView(TQWidget *parent, const char *name) : KTextBrowser(parent, name) { clear(); @@ -55,7 +55,7 @@ KBgTextView::~KBgTextView() * Write the string l to the TextView and put the cursor at the end of * the current text */ -void KBgTextView::write(const QString &l) +void KBgTextView::write(const TQString &l) { append("<font face=\"" + font().family() + "\">" + l + "</font><br>\n"); scrollToBottom(); @@ -74,7 +74,7 @@ void KBgTextView::clear() */ void KBgTextView::selectFont() { - QFont f = font(); + TQFont f = font(); KFontDialog::getFont(f, false, this, true); setFont(f); } |