summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTextProperty.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/KPrTextProperty.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/KPrTextProperty.cpp')
-rw-r--r--kpresenter/KPrTextProperty.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kpresenter/KPrTextProperty.cpp b/kpresenter/KPrTextProperty.cpp
index 6708065b..fd794daa 100644
--- a/kpresenter/KPrTextProperty.cpp
+++ b/kpresenter/KPrTextProperty.cpp
@@ -23,7 +23,7 @@
#include "KPrTextProperty.h"
#include <tqcheckbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <klocale.h>
#include <kdebug.h>
@@ -37,15 +37,15 @@ KPrTextProperty::KPrTextProperty( TQWidget *parent, const char *name, const Marg
, m_unit( unit )
, m_protectContent( protectContent )
{
- TQGridLayout *tqlayout = new TQGridLayout( this, 1, 1, 11, 6 );
+ TQGridLayout *layout = new TQGridLayout( this, 1, 1, 11, 6 );
- tqlayout->addWidget( m_protectContentCheck = new TQCheckBox( i18n( "Protect content" ), this ), 0, 0 );
- tqlayout->addWidget( m_margins = new KPrMarginWidget( this, name, m_unit ), 1, 0 );
+ layout->addWidget( m_protectContentCheck = new TQCheckBox( i18n( "Protect content" ), this ), 0, 0 );
+ layout->addWidget( m_margins = new KPrMarginWidget( this, name, m_unit ), 1, 0 );
connect( m_protectContentCheck, TQT_SIGNAL( toggled ( bool ) ),
this, TQT_SLOT( slotProtectContentChanged( bool ) ) );
- resize( TQSize( 301, 217 ).expandedTo( tqminimumSizeHint() ) );
+ resize( TQSize( 301, 217 ).expandedTo( minimumSizeHint() ) );
m_margins->setValues( marginsStruct.leftMargin, marginsStruct.rightMargin,
marginsStruct.topMargin, marginsStruct.bottomMargin );