summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTextProperty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrTextProperty.cpp')
-rw-r--r--kpresenter/KPrTextProperty.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpresenter/KPrTextProperty.cpp b/kpresenter/KPrTextProperty.cpp
index 1f610538..850c89b4 100644
--- a/kpresenter/KPrTextProperty.cpp
+++ b/kpresenter/KPrTextProperty.cpp
@@ -22,8 +22,8 @@
#include "KPrTextProperty.h"
-#include <qcheckbox.h>
-#include <qlayout.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <kdebug.h>
@@ -31,21 +31,21 @@
#include "KPrMarginWidget.h"
-KPrTextProperty::KPrTextProperty( QWidget *parent, const char *name, const MarginsStruct &marginsStruct,
+KPrTextProperty::KPrTextProperty( TQWidget *tqparent, const char *name, const MarginsStruct &marginsStruct,
const KoUnit::Unit unit, PropValue protectContent )
-: QWidget( parent, name )
+: TQWidget( tqparent, name )
, m_unit( unit )
, m_protectContent( protectContent )
{
- QGridLayout *layout = new QGridLayout( this, 1, 1, 11, 6 );
+ TQGridLayout *tqlayout = new TQGridLayout( this, 1, 1, 11, 6 );
- layout->addWidget( m_protectContentCheck = new QCheckBox( i18n( "Protect content" ), this ), 0, 0 );
- layout->addWidget( m_margins = new KPrMarginWidget( this, name, m_unit ), 1, 0 );
+ tqlayout->addWidget( m_protectContentCheck = new TQCheckBox( i18n( "Protect content" ), this ), 0, 0 );
+ tqlayout->addWidget( m_margins = new KPrMarginWidget( this, name, m_unit ), 1, 0 );
- connect( m_protectContentCheck, SIGNAL( toggled ( bool ) ),
- this, SLOT( slotProtectContentChanged( bool ) ) );
+ connect( m_protectContentCheck, TQT_SIGNAL( toggled ( bool ) ),
+ this, TQT_SLOT( slotProtectContentChanged( bool ) ) );
- resize( QSize( 301, 217 ).expandedTo( minimumSizeHint() ) );
+ resize( TQSize( 301, 217 ).expandedTo( tqminimumSizeHint() ) );
m_margins->setValues( marginsStruct.leftMargin, marginsStruct.rightMargin,
marginsStruct.topMargin, marginsStruct.bottomMargin );
@@ -63,7 +63,7 @@ int KPrTextProperty::getTextPropertyChange() const
{
int flags = 0;
- if ( m_protectContentCheck->state() != QButton::NoChange )
+ if ( m_protectContentCheck->state() != TQButton::NoChange )
{
if ( ( m_protectContentCheck->isOn() ? STATE_ON : STATE_OFF ) != m_protectContent )
{