summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_editors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kspread/kspread_editors.cpp')
-rw-r--r--kspread/kspread_editors.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/kspread/kspread_editors.cpp b/kspread/kspread_editors.cpp
index add8d217..a4baad77 100644
--- a/kspread/kspread_editors.cpp
+++ b/kspread/kspread_editors.cpp
@@ -326,10 +326,10 @@ TQObject( editor )
d->completionListBox->setFrameStyle( TQFrame::NoFrame );
d->completionListBox->setVariableWidth( true );
d->completionListBox->installEventFilter( this );
- connect( d->completionListBox, TQT_SIGNAL(selected(const TQString&)), this,
- TQT_SLOT(itemSelected(const TQString&)) );
- connect( d->completionListBox, TQT_SIGNAL(highlighted(const TQString&)), this,
- TQT_SLOT(itemSelected(const TQString&)) );
+ connect( d->completionListBox, TQ_SIGNAL(selected(const TQString&)), this,
+ TQ_SLOT(itemSelected(const TQString&)) );
+ connect( d->completionListBox, TQ_SIGNAL(highlighted(const TQString&)), this,
+ TQ_SLOT(itemSelected(const TQString&)) );
d->hintLabel = new TQLabel( 0, "autocalc", TQt::WStyle_StaysOnTop |
TQt::WStyle_Customize | TQt::WStyle_NoBorder | TQt::WStyle_Tool | TQt::WX11BypassWM );
@@ -373,7 +373,7 @@ void FunctionCompletion::itemSelected( const TQString& item )
d->hintLabel->raise();
// do not show it forever
- //TQTimer::singleShot( 5000, d->hintLabel, TQT_SLOT( hide()) );
+ //TQTimer::singleShot( 5000, d->hintLabel, TQ_SLOT( hide()) );
}
bool FunctionCompletion::eventFilter( TQObject *obj, TQEvent *ev )
@@ -517,11 +517,11 @@ CellEditor::CellEditor( Cell* _cell, Canvas* _parent, bool captureAllKeyEvents,
d->functionCompletion = new FunctionCompletion( this );
d->functionCompletionTimer = new TQTimer( this );
- connect( d->functionCompletion, TQT_SIGNAL( selectedCompletion( const TQString& ) ),
- TQT_SLOT( functionAutoComplete( const TQString& ) ) );
- connect( d->textEdit, TQT_SIGNAL( textChanged() ), TQT_SLOT( checkFunctionAutoComplete() ) );
- connect( d->functionCompletionTimer, TQT_SIGNAL( timeout() ),
- TQT_SLOT( triggerFunctionAutoComplete() ) );
+ connect( d->functionCompletion, TQ_SIGNAL( selectedCompletion( const TQString& ) ),
+ TQ_SLOT( functionAutoComplete( const TQString& ) ) );
+ connect( d->textEdit, TQ_SIGNAL( textChanged() ), TQ_SLOT( checkFunctionAutoComplete() ) );
+ connect( d->functionCompletionTimer, TQ_SIGNAL( timeout() ),
+ TQ_SLOT( triggerFunctionAutoComplete() ) );
if (!cell()->format()->multiRow(cell()->column(),cell()->row()))
d->textEdit->setWordWrap(TQTextEdit::NoWrap);
@@ -536,11 +536,11 @@ CellEditor::CellEditor( Cell* _cell, Canvas* _parent, bool captureAllKeyEvents,
*/
setFocusProxy( d->textEdit );
- connect( d->textEdit, TQT_SIGNAL( cursorPositionChanged(int,int) ), this, TQT_SLOT (slotCursorPositionChanged(int,int)));
- connect( d->textEdit, TQT_SIGNAL( cursorPositionChanged(TQTextCursor*) ), this, TQT_SLOT (slotTextCursorChanged(TQTextCursor*)));
- connect( d->textEdit, TQT_SIGNAL( textChanged() ), this, TQT_SLOT( slotTextChanged() ) );
+ connect( d->textEdit, TQ_SIGNAL( cursorPositionChanged(int,int) ), this, TQ_SLOT (slotCursorPositionChanged(int,int)));
+ connect( d->textEdit, TQ_SIGNAL( cursorPositionChanged(TQTextCursor*) ), this, TQ_SLOT (slotTextCursorChanged(TQTextCursor*)));
+ connect( d->textEdit, TQ_SIGNAL( textChanged() ), this, TQ_SLOT( slotTextChanged() ) );
-// connect( d->textEdit, TQT_SIGNAL(completionModeChanged( TDEGlobalSettings::Completion )),this,TQT_SLOT (slotCompletionModeChanged(TDEGlobalSettings::Completion)));
+// connect( d->textEdit, TQ_SIGNAL(completionModeChanged( TDEGlobalSettings::Completion )),this,TQ_SLOT (slotCompletionModeChanged(TDEGlobalSettings::Completion)));
// A choose should always start at the edited cell
// canvas()->setChooseMarkerRow( canvas()->markerRow() );
@@ -743,8 +743,8 @@ void CellEditor::slotCursorPositionChanged(int /* para */, int pos)
{
d->highlighter->resetRangeChanged();
- disconnect( d->canvas->choice(), TQT_SIGNAL(changed(const Region&)),
- d->canvas->view(), TQT_SLOT(slotScrollChoice(const Region&)) );
+ disconnect( d->canvas->choice(), TQ_SIGNAL(changed(const Region&)),
+ d->canvas->view(), TQ_SLOT(slotScrollChoice(const Region&)) );
d->canvas->doc()->emitBeginOperation();
setUpdateChoice(false);
@@ -783,8 +783,8 @@ void CellEditor::slotCursorPositionChanged(int /* para */, int pos)
}
setUpdateChoice(true);
d->canvas->doc()->emitEndOperation(*d->canvas->choice());
- connect( d->canvas->choice(), TQT_SIGNAL(changed(const Region&)),
- d->canvas->view(), TQT_SLOT(slotScrollChoice(const Region&)) );
+ connect( d->canvas->choice(), TQ_SIGNAL(changed(const Region&)),
+ d->canvas->view(), TQ_SLOT(slotScrollChoice(const Region&)) );
}
}
}
@@ -1267,7 +1267,7 @@ ComboboxLocationEditWidget::ComboboxLocationEditWidget( TQWidget * _parent,
TQValueList<Reference> area = _view->doc()->listArea();
for ( it = area.begin(); it != area.end(); ++it )
slotAddAreaName( (*it).ref_name);
- connect( this, TQT_SIGNAL( activated ( const TQString & ) ), m_locationWidget, TQT_SLOT( slotActivateItem() ) );
+ connect( this, TQ_SIGNAL( activated ( const TQString & ) ), m_locationWidget, TQ_SLOT( slotActivateItem() ) );
}
@@ -1465,10 +1465,10 @@ EditWidget::EditWidget( TQWidget *_parent, Canvas *_canvas,
if ( !m_pCanvas->doc()->isReadWrite() || !m_pCanvas->activeSheet() )
setEnabled( false );
- TQObject::connect( m_pCancelButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotAbortEdit() ) );
- TQObject::connect( m_pOkButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( slotDoneEdit() ) );
+ TQObject::connect( m_pCancelButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotAbortEdit() ) );
+ TQObject::connect( m_pOkButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( slotDoneEdit() ) );
setEditMode( false ); // disable buttons
}