summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/defaulttools/kis_tool_text.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/plugins/tools/defaulttools/kis_tool_text.cc')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_text.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.cc b/chalk/plugins/tools/defaulttools/kis_tool_text.cc
index bf23b441..c624d30a 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_text.cc
+++ b/chalk/plugins/tools/defaulttools/kis_tool_text.cc
@@ -19,7 +19,7 @@
#include <tqfont.h>
#include <tqrect.h>
#include <tqimage.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqwidget.h>
#include <tqstring.h>
#include <tqpixmap.h>
@@ -156,7 +156,7 @@ void KisToolText::buttonRelease(KisButtonReleaseEvent *e)
void KisToolText::setFont() {
KFontDialog::getFont( m_font, false/*, TQWidget* parent! */ );
- m_lbFontName->setText(TQString(m_font.family() + ", %1").tqarg(m_font.pointSize()));
+ m_lbFontName->setText(TQString(m_font.family() + ", %1").arg(m_font.pointSize()));
}
TQWidget* KisToolText::createOptionWidget(TQWidget* parent)
@@ -167,7 +167,7 @@ TQWidget* KisToolText::createOptionWidget(TQWidget* parent)
TQHBox *fontBox = new TQHBox(widget);
m_lbFontName = new KSqueezedTextLabel(TQString(m_font.family() + ", %1")
- .tqarg(m_font.pointSize()), fontBox);
+ .arg(m_font.pointSize()), fontBox);
m_btnMoreFonts = new TQPushButton("...", fontBox);
connect(m_btnMoreFonts, TQT_SIGNAL(released()), this, TQT_SLOT(setFont()));