diff options
Diffstat (limited to 'kformula/kformula_view.cpp')
-rw-r--r-- | kformula/kformula_view.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kformula/kformula_view.cpp b/kformula/kformula_view.cpp index 1c7e044c..baa244a4 100644 --- a/kformula/kformula_view.cpp +++ b/kformula/kformula_view.cpp @@ -83,7 +83,7 @@ KFormulaPartView::KFormulaPartView(KFormulaDoc* _doc, TQWidget* _parent, const c copyAction->setEnabled(false); // tip of the day - KStdAction::tipOfDay( TQT_TQOBJECT(this), TQT_SLOT( slotShowTip() ), actionCollection() ); + KStdAction::tipOfDay( this, TQT_SLOT( slotShowTip() ), actionCollection() ); // elements addBracketAction = document->wrapper()->getAddBracketAction(); @@ -101,55 +101,55 @@ KFormulaPartView::KFormulaPartView(KFormulaDoc* _doc, TQWidget* _parent, const c addGenericLowerAction = document->wrapper()->getAddGenericLowerAction(); removeEnclosingAction = document->wrapper()->getRemoveEnclosingAction(); - (void) KStdAction::selectAll(TQT_TQOBJECT(formulaWidget), TQT_SLOT(slotSelectAll()), actionCollection()); + (void) KStdAction::selectAll(formulaWidget, TQT_SLOT(slotSelectAll()), actionCollection()); //------------------------ Settings menu - KStdAction::preferences( TQT_TQOBJECT(this), TQT_SLOT(configure()), actionCollection(), "configure" ); + KStdAction::preferences( this, TQT_SLOT(configure()), actionCollection(), "configure" ); // font stuff // TDEFontAction* actionElement_Text_Font = new TDEFontAction(i18n( "Font Family" ),0, // actionCollection(),"textfont"); -// connect( actionElement_Text_Font, TQT_SIGNAL( activated( const TQString& ) ), TQT_TQOBJECT(this), TQT_SLOT( fontSelected( const TQString& ) ) ); +// connect( actionElement_Text_Font, TQT_SIGNAL( activated( const TQString& ) ), this, TQT_SLOT( fontSelected( const TQString& ) ) ); TDEFontSizeAction* actionTextSize = new TDEFontSizeAction(i18n( "Size" ),0, actionCollection(),"formula_textsize"); actionTextSize->setFontSize( m_pDoc->getFormula()->fontSize() ); - connect( actionTextSize, TQT_SIGNAL( fontSizeChanged( int ) ), TQT_TQOBJECT(this), TQT_SLOT( sizeSelected( int ) ) ); + connect( actionTextSize, TQT_SIGNAL( fontSizeChanged( int ) ), this, TQT_SLOT( sizeSelected( int ) ) ); connect( formula, TQT_SIGNAL( baseSizeChanged( int ) ), actionTextSize, TQT_SLOT( setFontSize( int ) ) ); // TDEToggleAction* actionElement_Text_Bold = new TDEToggleAction(i18n( "Bold" ), // "bold", // 0, // actionCollection(),"textbold"); -// connect( actionElement_Text_Bold, TQT_SIGNAL( toggled( bool ) ), TQT_TQOBJECT(this), TQT_SLOT( bold( bool ) ) ); +// connect( actionElement_Text_Bold, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( bold( bool ) ) ); // TDEToggleAction* actionElement_Text_Italic = new TDEToggleAction(i18n( "Italic" ), // "italic", // 0, // actionCollection(),"textitalic"); -// connect( actionElement_Text_Italic, TQT_SIGNAL( toggled( bool ) ), TQT_TQOBJECT(this), TQT_SLOT( italic( bool ) ) ); +// connect( actionElement_Text_Italic, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( italic( bool ) ) ); // TDEToggleAction* actionElement_Text_Under = new TDEToggleAction(i18n( "Underlined" ), // "underl", // 0, // actionCollection(),"textunder"); -// connect(actionElement_Text_Under, TQT_SIGNAL( toggled( bool ) ), TQT_TQOBJECT(this), TQT_SLOT( underline( bool ) ) ); +// connect(actionElement_Text_Under, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( underline( bool ) ) ); formulaStringAction = new TDEAction( i18n( "Edit Formula String..." ), 0, - TQT_TQOBJECT(this), TQT_SLOT( formulaString() ), + this, TQT_SLOT( formulaString() ), actionCollection(), "formula_formulastring" ); // notify on cursor change connect(formulaWidget, TQT_SIGNAL(cursorChanged(bool, bool)), - TQT_TQOBJECT(this), TQT_SLOT(cursorChanged(bool, bool))); + this, TQT_SLOT(cursorChanged(bool, bool))); connect( formula, TQT_SIGNAL( statusMsg( const TQString& ) ), - TQT_TQOBJECT(this), TQT_SLOT( slotActionStatusText( const TQString& ) ) ); + this, TQT_SLOT( slotActionStatusText( const TQString& ) ) ); if ( !_doc->isEmbedded() && first_window ) { - TQTimer::singleShot( 200, TQT_TQOBJECT(this), TQT_SLOT(slotShowTipOnStart()) ); + TQTimer::singleShot( 200, this, TQT_SLOT(slotShowTipOnStart()) ); first_window = false; } } |