summaryrefslogtreecommitdiffstats
path: root/kword/KWConfig.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kword/KWConfig.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
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(),