diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kotext/KoParagDia.cpp | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kotext/KoParagDia.cpp')
-rw-r--r-- | lib/kotext/KoParagDia.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/lib/kotext/KoParagDia.cpp b/lib/kotext/KoParagDia.cpp index 3ee02617..4f687956 100644 --- a/lib/kotext/KoParagDia.cpp +++ b/lib/kotext/KoParagDia.cpp @@ -54,8 +54,8 @@ #include <tqapplication.h> #include <tqwidgetstack.h> -KoCounterStyleWidget::KoCounterStyleWidget( bool displayDepth, bool onlyStyleTypeLetter, bool disableAll, TQWidget * tqparent, const char* name ) - :TQWidget( tqparent, name ), +KoCounterStyleWidget::KoCounterStyleWidget( bool displayDepth, bool onlyStyleTypeLetter, bool disableAll, TQWidget * parent, const char* name ) + :TQWidget( parent, name ), stylesList() { noSignals = true; @@ -405,8 +405,8 @@ void KoCounterStyleWidget::numStyleChanged() { -KoSpinBox::KoSpinBox( TQWidget * tqparent, const char * name ) - : TQSpinBox(tqparent,name) +KoSpinBox::KoSpinBox( TQWidget * parent, const char * name ) + : TQSpinBox(parent,name) { m_Etype=NONE; //max value supported by roman number @@ -417,9 +417,9 @@ KoSpinBox::~KoSpinBox( ) } KoSpinBox::KoSpinBox( int minValue, int maxValue, int step , - TQWidget * tqparent , const char * name ) + TQWidget * parent , const char * name ) : TQSpinBox(minValue, maxValue,step , - tqparent , name) + parent , name) { m_Etype=NONE; } @@ -497,8 +497,8 @@ int KoSpinBox::mapTextToValue( bool * ok ) /* class KPagePreview */ /******************************************************************/ -KPagePreview::KPagePreview( TQWidget* tqparent, const char* name ) - : TQGroupBox( i18n( "Preview" ), tqparent, name ) +KPagePreview::KPagePreview( TQWidget* parent, const char* name ) + : TQGroupBox( i18n( "Preview" ), parent, name ) { left = 0; right = 0; @@ -571,8 +571,8 @@ int KPagePreview::convert(double input) { /* class KPagePreview2 */ /******************************************************************/ -KPagePreview2::KPagePreview2( TQWidget* tqparent, const char* name ) - : TQGroupBox( i18n( "Preview" ), tqparent, name ) +KPagePreview2::KPagePreview2( TQWidget* parent, const char* name ) + : TQGroupBox( i18n( "Preview" ), parent, name ) { align = TQt::AlignLeft; } @@ -650,8 +650,8 @@ void KPagePreview2::drawContents( TQPainter* p ) /******************************************************************/ -KoBorderPreview::KoBorderPreview( TQWidget* tqparent, const char* name ) - :TQFrame(tqparent,name) +KoBorderPreview::KoBorderPreview( TQWidget* parent, const char* name ) + :TQFrame(parent,name) { } @@ -776,8 +776,8 @@ TQPen KoBorderPreview::setBorderPen( KoBorder _brd ) /******************************************************************/ class MyFlow : public KoTextFlow { public: - MyFlow(TQWidget *tqparent, KoTextZoomHandler *zoom) { - m_parent = tqparent; + MyFlow(TQWidget *parent, KoTextZoomHandler *zoom) { + m_parent = parent; m_zoomHandler = zoom; } int availableHeight() const { @@ -788,8 +788,8 @@ class MyFlow : public KoTextFlow { KoTextZoomHandler *m_zoomHandler; }; -KoStylePreview::KoStylePreview( const TQString& title, const TQString& text, TQWidget* tqparent, const char* name ) - : TQGroupBox( title, tqparent, name ) +KoStylePreview::KoStylePreview( const TQString& title, const TQString& text, TQWidget* parent, const char* name ) + : TQGroupBox( title, parent, name ) { setMinimumHeight(80); m_zoomHandler = new KoTextZoomHandler; @@ -860,8 +860,8 @@ void KoStylePreview::drawContents( TQPainter *painter ) painter->restore(); } -KoIndentSpacingWidget::KoIndentSpacingWidget( KoUnit::Unit unit, double _frameWidth,TQWidget * tqparent, const char * name ) - : KoParagLayoutWidget( KoParagDia::PD_SPACING, tqparent, name ), m_unit( unit ) +KoIndentSpacingWidget::KoIndentSpacingWidget( KoUnit::Unit unit, double _frameWidth,TQWidget * parent, const char * name ) + : KoParagLayoutWidget( KoParagDia::PD_SPACING, parent, name ), m_unit( unit ) { TQString unitName = KoUnit::unitName( m_unit ); TQGridLayout *mainGrid = new TQGridLayout( this, 3, 2, KDialog::marginHint(), KDialog::spacingHint() ); @@ -1205,8 +1205,8 @@ void KoIndentSpacingWidget::afterChanged( double _val ) } -KoParagAlignWidget::KoParagAlignWidget( bool breakLine, TQWidget * tqparent, const char * name ) - : KoParagLayoutWidget( KoParagDia::PD_ALIGN, tqparent, name ) +KoParagAlignWidget::KoParagAlignWidget( bool breakLine, TQWidget * parent, const char * name ) + : KoParagLayoutWidget( KoParagDia::PD_ALIGN, parent, name ) { TQGridLayout *grid = new TQGridLayout( this, 3, 2, KDialog::marginHint(), KDialog::spacingHint() ); @@ -1359,9 +1359,9 @@ void KoParagAlignWidget::clearAligns() //////////////////////////////////////////////////////////////////////////////// -KoParagDecorationWidget::KoParagDecorationWidget( TQWidget * tqparent, +KoParagDecorationWidget::KoParagDecorationWidget( TQWidget * parent, const char * name ) - : KoParagLayoutWidget( KoParagDia::PD_DECORATION, tqparent, name ) + : KoParagLayoutWidget( KoParagDia::PD_DECORATION, parent, name ) { TQVBoxLayout *tabLayout = new TQVBoxLayout( this ); wDeco = new KoParagDecorationTab( this ); @@ -1594,8 +1594,8 @@ void KoParagDecorationWidget::brdJoinToggled( bool _on ) { //////////////////////////////////////////////////////////////////////////////// -KoParagCounterWidget::KoParagCounterWidget( bool disableAll, TQWidget * tqparent, const char * name ) - : KoParagLayoutWidget( KoParagDia::PD_NUMBERING, tqparent, name ) +KoParagCounterWidget::KoParagCounterWidget( bool disableAll, TQWidget * parent, const char * name ) + : KoParagLayoutWidget( KoParagDia::PD_NUMBERING, parent, name ) { TQVBoxLayout *Form1Layout = new TQVBoxLayout( this ); @@ -1720,8 +1720,8 @@ void KoParagCounterWidget::save( KoParagLayout & lay ) { lay.counter = new KoParagCounter( m_counter ); } -KoTabulatorsLineEdit::KoTabulatorsLineEdit( TQWidget *tqparent, double lower, double upper, double step, double value /*= 0.0*/, KoUnit::Unit unit /*= KoUnit::U_PT*/, unsigned int precision /*= 2*/, const char *name /*= 0*/ ) - : KoUnitDoubleSpinBox ( tqparent, lower, upper, step, value, unit, precision, name ) +KoTabulatorsLineEdit::KoTabulatorsLineEdit( TQWidget *parent, double lower, double upper, double step, double value /*= 0.0*/, KoUnit::Unit unit /*= KoUnit::U_PT*/, unsigned int precision /*= 2*/, const char *name /*= 0*/ ) + : KoUnitDoubleSpinBox ( parent, lower, upper, step, value, unit, precision, name ) { setRange( 0, 9999, 1, false); } @@ -1737,8 +1737,8 @@ void KoTabulatorsLineEdit::keyPressEvent ( TQKeyEvent *ke ) KoUnitDoubleSpinBox::keyPressEvent (ke); } -KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double frameWidth,TQWidget * tqparent, const char * name ) - : KoParagLayoutWidget( KoParagDia::PD_TABS, tqparent, name ), m_unit(unit) { +KoParagTabulatorsWidget::KoParagTabulatorsWidget( KoUnit::Unit unit, double frameWidth,TQWidget * parent, const char * name ) + : KoParagLayoutWidget( KoParagDia::PD_TABS, parent, name ), m_unit(unit) { TQString length; if(frameWidth==-1) { frameWidth=9999; @@ -2147,9 +2147,9 @@ TQString KoParagTabulatorsWidget::tabName() { /******************************************************************/ /* Class: KoParagDia */ /******************************************************************/ -KoParagDia::KoParagDia( TQWidget* tqparent, const char* name, +KoParagDia::KoParagDia( TQWidget* parent, const char* name, int flags, KoUnit::Unit unit, double _frameWidth, bool breakLine, bool disableAll ) - : KDialogBase(Tabbed, TQString(), Ok | Cancel | User1 | Apply, Ok, tqparent, name, true ) + : KDialogBase(Tabbed, TQString(), Ok | Cancel | User1 | Apply, Ok, parent, name, true ) { m_decorationsWidget = 0; m_flags = flags; |