summaryrefslogtreecommitdiffstats
path: root/kformula
diff options
context:
space:
mode:
Diffstat (limited to 'kformula')
-rw-r--r--kformula/formulastring.cpp10
-rw-r--r--kformula/kfconfig.cpp2
-rw-r--r--kformula/kformula_doc.cpp4
-rw-r--r--kformula/kformula_view.cpp36
-rw-r--r--kformula/kformulawidget.cpp8
5 files changed, 30 insertions, 30 deletions
diff --git a/kformula/formulastring.cpp b/kformula/formulastring.cpp
index f86b113a4..0d07634e3 100644
--- a/kformula/formulastring.cpp
+++ b/kformula/formulastring.cpp
@@ -79,11 +79,11 @@ FormulaString::FormulaString( KFormulaPartView* parent, const char* name, bool m
FormulaStringLayout->addLayout( Layout1 );
// signals and slots connections
- connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
- connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
- connect( buttonHelp, TQT_SIGNAL(clicked() ), this, TQT_SLOT( helpButtonClicked() ) );
- connect( textWidget, TQT_SIGNAL( cursorPositionChanged( int, int ) ),
- this, TQT_SLOT( cursorPositionChanged( int, int ) ) );
+ connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
+ connect( buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
+ connect( buttonHelp, TQ_SIGNAL(clicked() ), this, TQ_SLOT( helpButtonClicked() ) );
+ connect( textWidget, TQ_SIGNAL( cursorPositionChanged( int, int ) ),
+ this, TQ_SLOT( cursorPositionChanged( int, int ) ) );
}
/*
diff --git a/kformula/kfconfig.cpp b/kformula/kfconfig.cpp
index 82e3ae65f..228fb0665 100644
--- a/kformula/kfconfig.cpp
+++ b/kformula/kfconfig.cpp
@@ -46,7 +46,7 @@ KFConfig::KFConfig( KFormulaPartView* parent )
// KFormulaFactory::global()->config(),
// page2 );
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotApply() ) );
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotApply() ) );
}
void KFConfig::slotApply()
diff --git a/kformula/kformula_doc.cpp b/kformula/kformula_doc.cpp
index 61b84d517..2ce07d1f5 100644
--- a/kformula/kformula_doc.cpp
+++ b/kformula/kformula_doc.cpp
@@ -72,8 +72,8 @@ KFormulaDoc::KFormulaDoc(TQWidget *parentWidget, const char *widgetName, TQObjec
document->setEnabled( true );
// the modify flag
- connect(history, TQT_SIGNAL(commandExecuted()), this, TQT_SLOT(commandExecuted()));
- connect(history, TQT_SIGNAL(documentRestored()), this, TQT_SLOT(documentRestored()));
+ connect(history, TQ_SIGNAL(commandExecuted()), this, TQ_SLOT(commandExecuted()));
+ connect(history, TQ_SIGNAL(documentRestored()), this, TQ_SLOT(documentRestored()));
dcopObject();
}
diff --git a/kformula/kformula_view.cpp b/kformula/kformula_view.cpp
index baa244a4c..1b8a2091b 100644
--- a/kformula/kformula_view.cpp
+++ b/kformula/kformula_view.cpp
@@ -76,14 +76,14 @@ KFormulaPartView::KFormulaPartView(KFormulaDoc* _doc, TQWidget* _parent, const c
KFormula::Document* document = m_pDoc->getDocument();
// copy&paste
- cutAction = KStdAction::cut(document->wrapper(), TQT_SLOT(cut()), actionCollection());
- copyAction = KStdAction::copy(document->wrapper(), TQT_SLOT(copy()), actionCollection());
- pasteAction = KStdAction::paste(document->wrapper(), TQT_SLOT(paste()), actionCollection());
+ cutAction = KStdAction::cut(document->wrapper(), TQ_SLOT(cut()), actionCollection());
+ copyAction = KStdAction::copy(document->wrapper(), TQ_SLOT(copy()), actionCollection());
+ pasteAction = KStdAction::paste(document->wrapper(), TQ_SLOT(paste()), actionCollection());
cutAction->setEnabled(false);
copyAction->setEnabled(false);
// tip of the day
- KStdAction::tipOfDay( this, TQT_SLOT( slotShowTip() ), actionCollection() );
+ KStdAction::tipOfDay( this, TQ_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(formulaWidget, TQT_SLOT(slotSelectAll()), actionCollection());
+ (void) KStdAction::selectAll(formulaWidget, TQ_SLOT(slotSelectAll()), actionCollection());
//------------------------ Settings menu
- KStdAction::preferences( this, TQT_SLOT(configure()), actionCollection(), "configure" );
+ KStdAction::preferences( this, TQ_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& ) ), this, TQT_SLOT( fontSelected( const TQString& ) ) );
+// connect( actionElement_Text_Font, TQ_SIGNAL( activated( const TQString& ) ), this, TQ_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 ) ), this, TQT_SLOT( sizeSelected( int ) ) );
- connect( formula, TQT_SIGNAL( baseSizeChanged( int ) ), actionTextSize, TQT_SLOT( setFontSize( int ) ) );
+ connect( actionTextSize, TQ_SIGNAL( fontSizeChanged( int ) ), this, TQ_SLOT( sizeSelected( int ) ) );
+ connect( formula, TQ_SIGNAL( baseSizeChanged( int ) ), actionTextSize, TQ_SLOT( setFontSize( int ) ) );
// TDEToggleAction* actionElement_Text_Bold = new TDEToggleAction(i18n( "Bold" ),
// "bold",
// 0,
// actionCollection(),"textbold");
-// connect( actionElement_Text_Bold, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( bold( bool ) ) );
+// connect( actionElement_Text_Bold, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( bold( bool ) ) );
// TDEToggleAction* actionElement_Text_Italic = new TDEToggleAction(i18n( "Italic" ),
// "italic",
// 0,
// actionCollection(),"textitalic");
-// connect( actionElement_Text_Italic, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( italic( bool ) ) );
+// connect( actionElement_Text_Italic, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( italic( bool ) ) );
// TDEToggleAction* actionElement_Text_Under = new TDEToggleAction(i18n( "Underlined" ),
// "underl",
// 0,
// actionCollection(),"textunder");
-// connect(actionElement_Text_Under, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( underline( bool ) ) );
+// connect(actionElement_Text_Under, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( underline( bool ) ) );
formulaStringAction = new TDEAction( i18n( "Edit Formula String..." ),
0,
- this, TQT_SLOT( formulaString() ),
+ this, TQ_SLOT( formulaString() ),
actionCollection(), "formula_formulastring" );
// notify on cursor change
- connect(formulaWidget, TQT_SIGNAL(cursorChanged(bool, bool)),
- this, TQT_SLOT(cursorChanged(bool, bool)));
+ connect(formulaWidget, TQ_SIGNAL(cursorChanged(bool, bool)),
+ this, TQ_SLOT(cursorChanged(bool, bool)));
- connect( formula, TQT_SIGNAL( statusMsg( const TQString& ) ),
- this, TQT_SLOT( slotActionStatusText( const TQString& ) ) );
+ connect( formula, TQ_SIGNAL( statusMsg( const TQString& ) ),
+ this, TQ_SLOT( slotActionStatusText( const TQString& ) ) );
if ( !_doc->isEmbedded() && first_window ) {
- TQTimer::singleShot( 200, this, TQT_SLOT(slotShowTipOnStart()) );
+ TQTimer::singleShot( 200, this, TQ_SLOT(slotShowTipOnStart()) );
first_window = false;
}
}
diff --git a/kformula/kformulawidget.cpp b/kformula/kformulawidget.cpp
index 05ada79fb..f921f6567 100644
--- a/kformula/kformulawidget.cpp
+++ b/kformula/kformulawidget.cpp
@@ -38,10 +38,10 @@ KFormulaWidget::KFormulaWidget(KFormula::Container* doc,
: TQWidget(parent, name, f | WRepaintNoErase | WResizeNoErase),
formulaView(doc)
{
- connect(doc, TQT_SIGNAL(formulaChanged(int, int)),
- this, TQT_SLOT(slotFormulaChanged(int, int)));
- connect(&formulaView, TQT_SIGNAL(cursorChanged(bool, bool)),
- this, TQT_SLOT(slotCursorChanged(bool, bool)));
+ connect(doc, TQ_SIGNAL(formulaChanged(int, int)),
+ this, TQ_SLOT(slotFormulaChanged(int, int)));
+ connect(&formulaView, TQ_SIGNAL(cursorChanged(bool, bool)),
+ this, TQ_SLOT(slotCursorChanged(bool, bool)));
setFocusPolicy(TQWidget::StrongFocus);
setBackgroundMode(NoBackground/*TQWidget::PaletteBase*/);