summaryrefslogtreecommitdiffstats
path: root/lib/kformula/kformulaconfigpage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kformula/kformulaconfigpage.cc')
-rw-r--r--lib/kformula/kformulaconfigpage.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kformula/kformulaconfigpage.cc b/lib/kformula/kformulaconfigpage.cc
index 21c3b946..593defa3 100644
--- a/lib/kformula/kformulaconfigpage.cc
+++ b/lib/kformula/kformulaconfigpage.cc
@@ -23,7 +23,7 @@
#include <tqcheckbox.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqmap.h>
#include <tqradiobutton.h>
#include <tqspinbox.h>
@@ -63,7 +63,7 @@ ConfigurePage::ConfigurePage( Document* document, TQWidget* view, KConfig* confi
TQGroupBox *gbox = new TQGroupBox( i18n( "Fonts" ), box );
gbox->setColumnLayout( 0, Qt::Horizontal );
- TQGridLayout* grid = new TQGridLayout( gbox->tqlayout(), 5, 3 );
+ TQGridLayout* grid = new TQGridLayout( gbox->layout(), 5, 3 );
grid->setSpacing( KDialog::spacingHint() );
grid->setColStretch(1, 1);
@@ -108,7 +108,7 @@ ConfigurePage::ConfigurePage( Document* document, TQWidget* view, KConfig* confi
// hlBox = new TQGroupBox( i18n( "Highlight Colors" ), box );
// hlBox->setColumnLayout( 0, Qt::Horizontal );
-// grid = new TQGridLayout( hlBox->tqlayout(), 5, 2 );
+// grid = new TQGridLayout( hlBox->layout(), 5, 2 );
// grid->setSpacing( KDialog::spacingHint() );
// TQLabel* defaultLabel = new TQLabel( hlBox, "defaultLabel" );
@@ -168,7 +168,7 @@ ConfigurePage::ConfigurePage( Document* document, TQWidget* view, KConfig* confi
TQPushButton* ConfigurePage::buildFontLine( TQWidget* parent,
- TQGridLayout* tqlayout, int number, TQFont font, TQString name,
+ TQGridLayout* layout, int number, TQFont font, TQString name,
TQLabel*& fontName )
{
TQLabel* fontTitle = new TQLabel( name, parent );
@@ -180,9 +180,9 @@ TQPushButton* ConfigurePage::buildFontLine( TQWidget* parent,
TQPushButton* chooseButton = new TQPushButton( i18n( "Choose..." ), parent );
- tqlayout->addWidget( fontTitle, number, 0 );
- tqlayout->addWidget( fontName, number, 1 );
- tqlayout->addWidget( chooseButton, number, 2 );
+ layout->addWidget( fontTitle, number, 0 );
+ layout->addWidget( fontName, number, 1 );
+ layout->addWidget( chooseButton, number, 2 );
return chooseButton;
}