summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_editors.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /kspread/kspread_editors.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'kspread/kspread_editors.cc')
-rw-r--r--kspread/kspread_editors.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/kspread/kspread_editors.cc b/kspread/kspread_editors.cc
index 7f0fa282..ddf41d31 100644
--- a/kspread/kspread_editors.cc
+++ b/kspread/kspread_editors.cc
@@ -315,11 +315,11 @@ TQObject( editor )
d->editor = editor;
d->hintLabel = 0;
- d->completionPopup = new TQVBox( editor->topLevelWidget(), 0, WType_Popup );
+ d->completionPopup = new TQVBox( editor->tqtopLevelWidget(), 0, WType_Popup );
d->completionPopup->setFrameStyle( TQFrame::Box | TQFrame::Plain );
d->completionPopup->setLineWidth( 1 );
d->completionPopup->installEventFilter( this );
- d->completionPopup->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum);
+ d->completionPopup->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum);
d->completionListBox = new KListBox( d->completionPopup );
d->completionPopup->setFocusProxy( d->completionListBox );
@@ -430,7 +430,7 @@ void FunctionCompletion::showCompletion( const TQStringList &choices )
// size of the pop-up
d->completionPopup->setMaximumHeight( 100 );
- d->completionPopup->resize( d->completionListBox->sizeHint() +
+ d->completionPopup->resize( d->completionListBox->tqsizeHint() +
TQSize( d->completionListBox->verticalScrollBar()->width() + 4,
d->completionListBox->horizontalScrollBar()->height() + 4 ) );
int h = d->completionListBox->height();
@@ -612,7 +612,7 @@ void CellEditor::triggerFunctionAutoComplete()
TQStringList fnames = KSpread::FunctionRepository::self()->functionNames();
TQStringList choices;
for( unsigned i=0; i<fnames.count(); i++ )
- if( fnames[i].startsWith( id, false ) )
+ if( fnames[i].tqstartsWith( id, false ) )
choices.append( fnames[i] );
choices.sort();
@@ -828,7 +828,7 @@ void CellEditor::setEditorFont(TQFont const & font, bool updateSize)
d->fontLength = fm.width('x');
int mw = fm.width( d->textEdit->text() ) + d->fontLength;
- // don't make it smaller: then we would have to repaint the obscured cells
+ // don't make it smaller: then we would have to tqrepaint the obscured cells
if (mw < width())
mw = width();
@@ -1455,7 +1455,7 @@ EditWidget::EditWidget( TQWidget *_parent, Canvas *_canvas,
m_pCanvas = _canvas;
Q_ASSERT(m_pCanvas != NULL);
// Those buttons are created by the caller, so that they are inserted
- // properly in the layout - but they are then managed here.
+ // properly in the tqlayout - but they are then managed here.
m_pCancelButton = cancelButton;
m_pOkButton = okButton;
isArray = false;