summaryrefslogtreecommitdiffstats
path: root/kbackgammon/kbgtextview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kbackgammon/kbgtextview.cpp
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbackgammon/kbgtextview.cpp')
-rw-r--r--kbackgammon/kbgtextview.cpp8
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);
}