summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoAutoFormatDia.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 /lib/kotext/KoAutoFormatDia.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 'lib/kotext/KoAutoFormatDia.cpp')
-rw-r--r--lib/kotext/KoAutoFormatDia.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/kotext/KoAutoFormatDia.cpp b/lib/kotext/KoAutoFormatDia.cpp
index 30a110a0..e6dce371 100644
--- a/lib/kotext/KoAutoFormatDia.cpp
+++ b/lib/kotext/KoAutoFormatDia.cpp
@@ -28,7 +28,7 @@
#include <klistview.h>
#include <kstandarddirs.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqwhatsthis.h>
#include <tqcheckbox.h>
#include <tqpushbutton.h>
@@ -286,7 +286,7 @@ void KoAutoFormatDia::setupTab1()
cbAutoReplaceNumber=new TQCheckBox( tab1 );
cbAutoReplaceNumber->setText( i18n(
"We add the 1/2 char at the %1", "Re&place 1/2... with %1..." )
- .arg( TQString( "�" ) ) );
+ .tqarg( TQString( "�" ) ) );
TQWhatsThis::add( cbAutoReplaceNumber, i18n(
"Most standard fraction notations will be converted when available"
) );
@@ -331,11 +331,11 @@ void KoAutoFormatDia::setupTab1()
hbox->addSpacing( 20 );
hbox->setSpacing(KDialog::spacingHint());
pbBulletStyle = new TQPushButton( tab1 );
- pbBulletStyle->setFixedSize( pbBulletStyle->sizeHint() );
+ pbBulletStyle->setFixedSize( pbBulletStyle->tqsizeHint() );
hbox->addWidget( pbBulletStyle );
pbDefaultBulletStyle = new TQPushButton( tab1 );
pbDefaultBulletStyle->setText(i18n("Default"));
- pbDefaultBulletStyle->setFixedSize( pbDefaultBulletStyle->sizeHint() );
+ pbDefaultBulletStyle->setFixedSize( pbDefaultBulletStyle->tqsizeHint() );
hbox->addWidget( pbDefaultBulletStyle );
hbox->addStretch( 1 );
@@ -393,10 +393,10 @@ void KoAutoFormatDia::setupTab2()
hbox->addSpacing( 20 );
pbDoubleQuote1 = new TQPushButton( tab2 );
- pbDoubleQuote1->setFixedSize( pbDoubleQuote1->sizeHint() );
+ pbDoubleQuote1->setFixedSize( pbDoubleQuote1->tqsizeHint() );
pbDoubleQuote2 = new TQPushButton( tab2 );
- pbDoubleQuote2->setFixedSize( pbDoubleQuote2->sizeHint() );
+ pbDoubleQuote2->setFixedSize( pbDoubleQuote2->tqsizeHint() );
if (TQApplication::reverseLayout()) {
hbox->addWidget( pbDoubleQuote2 );
@@ -410,7 +410,7 @@ void KoAutoFormatDia::setupTab2()
pbDoubleDefault = new TQPushButton( tab2 );
pbDoubleDefault->setText(i18n("Default"));
- pbDoubleDefault->setFixedSize( pbDoubleDefault->sizeHint() );
+ pbDoubleDefault->setFixedSize( pbDoubleDefault->tqsizeHint() );
hbox->addWidget( pbDoubleDefault );
hbox->addStretch( 1 );
@@ -434,10 +434,10 @@ void KoAutoFormatDia::setupTab2()
hbox->addSpacing( 20 );
pbSimpleQuote1 = new TQPushButton( tab2 );
- pbSimpleQuote1->setFixedSize( pbSimpleQuote1->sizeHint() );
+ pbSimpleQuote1->setFixedSize( pbSimpleQuote1->tqsizeHint() );
pbSimpleQuote2 = new TQPushButton( tab2 );
- pbSimpleQuote2->setFixedSize( pbSimpleQuote2->sizeHint() );
+ pbSimpleQuote2->setFixedSize( pbSimpleQuote2->tqsizeHint() );
if (TQApplication::reverseLayout()) {
hbox->addWidget( pbSimpleQuote2 );
@@ -451,7 +451,7 @@ void KoAutoFormatDia::setupTab2()
pbSimpleDefault = new TQPushButton( tab2 );
pbSimpleDefault->setText(i18n("Default"));
- pbSimpleDefault->setFixedSize( pbSimpleDefault->sizeHint() );
+ pbSimpleDefault->setFixedSize( pbSimpleDefault->tqsizeHint() );
hbox->addWidget( pbSimpleDefault );
hbox->addStretch( 1 );