summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPgConfDia.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kpresenter/KPrPgConfDia.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 'kpresenter/KPrPgConfDia.cpp')
-rw-r--r--kpresenter/KPrPgConfDia.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpresenter/KPrPgConfDia.cpp b/kpresenter/KPrPgConfDia.cpp
index a7df156f..a8219a7f 100644
--- a/kpresenter/KPrPgConfDia.cpp
+++ b/kpresenter/KPrPgConfDia.cpp
@@ -32,7 +32,7 @@
#include <tqvgroupbox.h>
#include <tqheader.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlistview.h>
#include <tqpen.h>
#include <tqpushbutton.h>
@@ -135,9 +135,9 @@ void KPrPgConfDia::setupPageGeneral()
"using the mouse.</p>"
"<p>You can configure the color of the drawing pen and the "
"width of the pen.</p>" ) );
- penGroup->tqlayout()->setSpacing(KDialog::marginHint());
- penGroup->tqlayout()->setMargin(KDialog::spacingHint());
- //TQGridLayout *grid = new TQGridLayout(penGroup->tqlayout(), 3, 2 );
+ penGroup->layout()->setSpacing(KDialog::marginHint());
+ penGroup->layout()->setMargin(KDialog::spacingHint());
+ //TQGridLayout *grid = new TQGridLayout(penGroup->layout(), 3, 2 );
TQLabel* label = new TQLabel( i18n( "Color:" ), penGroup );
//grid->addWidget( label, 0, 0 );
@@ -209,7 +209,7 @@ void KPrPgConfDia::setupPageSlides()
TQWidget* spacer = new TQWidget( buttonGroup );
- spacer->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Expanding ) );
+ spacer->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Expanding ) );
slidesLayout->addMultiCellWidget( buttonGroup, 4, 4, 0, 1 );
if ( !m_doc->presentationName().isEmpty() )