summaryrefslogtreecommitdiffstats
path: root/kword/KWConfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWConfig.cpp')
-rw-r--r--kword/KWConfig.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kword/KWConfig.cpp b/kword/KWConfig.cpp
index 977ff322..82db66e8 100644
--- a/kword/KWConfig.cpp
+++ b/kword/KWConfig.cpp
@@ -36,7 +36,7 @@
#include <tqpushbutton.h>
#include <tqlistbox.h>
#include <tqlineedit.h>
-#include <tqlayout.h>
+#include <layout.h>
#include "KWConfig.h"
#include "KWView.h"
@@ -75,7 +75,7 @@ using namespace KSpell2;
// (Note: KDialogBase should have version of the methods that take a TQString for the icon name)
static inline TQPixmap loadIcon( const char * name ) {
return KGlobal::instance()->iconLoader()
- ->loadIcon( TQString::tqfromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium );
+ ->loadIcon( TQString::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium );
}
KWConfig::KWConfig( KWView* parent )
@@ -217,7 +217,7 @@ ConfigureSpellPage::ConfigureSpellPage( KWView *view, TQVBox *box, char *name )
config = KWFactory::instance()->config();
m_spellConfigWidget = new ConfigWidget( view->broker(), box );
m_spellConfigWidget->setBackgroundCheckingButtonShown( true );
- m_spellConfigWidget->tqlayout()->setMargin( 0 );
+ m_spellConfigWidget->layout()->setMargin( 0 );
}
void ConfigureSpellPage::apply()
@@ -655,7 +655,7 @@ KCommand *ConfigureMiscPage::apply()
}
if ( needRepaint )
{
- doc->tqlayout();
+ doc->layout();
doc->repaintAllViews();
}
return macroCmd;
@@ -803,7 +803,7 @@ ConfigureDefaultDocPage::ConfigureDefaultDocPage( KWView *view, TQVBox *box, cha
labelStartingPage->setBuddy( m_variableNumberOffset );
TQHBox* hbTabStop = new TQHBox( gbDocumentSettings );
- tabStop = new TQLabel(i18n("Tab stop (%1):").tqarg(doc->unitName()), hbTabStop);
+ tabStop = new TQLabel(i18n("Tab stop (%1):").arg(doc->unitName()), hbTabStop);
m_tabStopWidth = new KoUnitDoubleSpinBox( hbTabStop,
MM_TO_POINT(2),
doc->pageManager()->page(doc->startPage())->width(),