summaryrefslogtreecommitdiffstats
path: root/kchart/kchartFontConfigPage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kchartFontConfigPage.cc')
-rw-r--r--kchart/kchartFontConfigPage.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/kchart/kchartFontConfigPage.cc b/kchart/kchartFontConfigPage.cc
index eef71cb6..bbda1f68 100644
--- a/kchart/kchartFontConfigPage.cc
+++ b/kchart/kchartFontConfigPage.cc
@@ -27,7 +27,7 @@
#include <kcolorbutton.h>
#include <kdebug.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqlineedit.h>
#include <tqlistbox.h>
@@ -55,7 +55,7 @@ public:
void setFont( const TQFont& font ) {
_font = font;
- listBox()->tqrepaint();
+ listBox()->repaint();
}
TQFont font() const {
return _font;
@@ -90,14 +90,14 @@ KChartFontConfigPage::KChartFontConfigPage( KChartParams* params,
// The listbox
m_list = new TQListBox(this);
- m_list->resize( m_list->tqsizeHint() );
+ m_list->resize( m_list->sizeHint() );
grid->addWidget(m_list, 0, 0); // Row 0-0, col 0-1
// The font button.
m_fontButton = new TQPushButton( this);
m_fontButton->setText(i18n("Font..."));
TQWhatsThis::add(m_fontButton, i18n("Select an item in the list above and click on this button to display the KDE font dialog in order to choose a new font for this item."));
- m_fontButton->resize( m_fontButton->tqsizeHint() );
+ m_fontButton->resize( m_fontButton->sizeHint() );
grid->addWidget( m_fontButton, 1, 0);
#if 0