diff options
Diffstat (limited to 'src/kile/symbolview.cpp')
-rw-r--r-- | src/kile/symbolview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kile/symbolview.cpp b/src/kile/symbolview.cpp index 60f4a03..8fdac37 100644 --- a/src/kile/symbolview.cpp +++ b/src/kile/symbolview.cpp @@ -96,7 +96,7 @@ void SymbolView::extract(const TQString& key, int& refCnt, TQString &cmd, TQStri cmd = key.section('%',1,1); TQString text = key.section('%',2,2); - if( text.tqfind(rePkgs) != -1 ) + if( text.find(rePkgs) != -1 ) { args = TQStringList::split(",",rePkgs.cap(1)); pkgs = TQStringList::split(",",rePkgs.cap(2)); @@ -230,7 +230,7 @@ void SymbolView::contentsMousePressEvent(TQMouseEvent *e) int count; bool math=false, bracket=false; - if( (e->button() & Qt::LeftButton) == Qt::LeftButton && ( item = tqfindItem( e->pos() ) ) ) + if( (e->button() & Qt::LeftButton) == Qt::LeftButton && ( item = findItem( e->pos() ) ) ) { bracket = (e->state() & TQt::ControlButton) == TQt::ControlButton; math = (e->state() & TQt::ShiftButton) == TQt::ShiftButton; @@ -372,7 +372,7 @@ void SymbolView::slotAddToList(const TQIconViewItem *item) extract(tmpItem->key(),refCnt); TQString key = tmpItem->key(); - key.tqreplace(reCnt,TQString::number(refCnt+1)); + key.replace(reCnt,TQString::number(refCnt+1)); tmpItem->setKey(key); } else |