summaryrefslogtreecommitdiffstats
path: root/kword/KWConfig.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kword/KWConfig.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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 82db66e88..977ff3222 100644
--- a/kword/KWConfig.cpp
+++ b/kword/KWConfig.cpp
@@ -36,7 +36,7 @@
#include <tqpushbutton.h>
#include <tqlistbox.h>
#include <tqlineedit.h>
-#include <layout.h>
+#include <tqlayout.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::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium );
+ ->loadIcon( TQString::tqfromLatin1(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->layout()->setMargin( 0 );
+ m_spellConfigWidget->tqlayout()->setMargin( 0 );
}
void ConfigureSpellPage::apply()
@@ -655,7 +655,7 @@ KCommand *ConfigureMiscPage::apply()
}
if ( needRepaint )
{
- doc->layout();
+ doc->tqlayout();
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):").arg(doc->unitName()), hbTabStop);
+ tabStop = new TQLabel(i18n("Tab stop (%1):").tqarg(doc->unitName()), hbTabStop);
m_tabStopWidth = new KoUnitDoubleSpinBox( hbTabStop,
MM_TO_POINT(2),
doc->pageManager()->page(doc->startPage())->width(),