From 4c6f8d69e2d1501837affb472c4eb8fec4462240 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knotes/knotesapp.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'knotes/knotesapp.cpp') diff --git a/knotes/knotesapp.cpp b/knotes/knotesapp.cpp index 5f2d74fb2..7b38121c3 100644 --- a/knotes/knotesapp.cpp +++ b/knotes/knotesapp.cpp @@ -94,7 +94,7 @@ int KNotesApp::KNoteActionList::compareItems( TQPtrCollection::Item s1, TQPtrCol KNotesApp::KNotesApp() : DCOPObject("KNotesIface"), TQLabel( 0, 0, WType_TopLevel ), - m_alarm( 0 ), m_listener( 0 ), m_tqfind( 0 ), m_findPos( 0 ) + m_alarm( 0 ), m_listener( 0 ), m_find( 0 ), m_findPos( 0 ) { connect( kapp, TQT_SIGNAL(lastWindowClosed()), kapp, TQT_SLOT(quit()) ); @@ -521,8 +521,8 @@ void KNotesApp::slotOpenFindDialog() m_findPos = new TQDictIterator( m_noteList ); // this could be in an own method if searching without a dialog should be possible - delete m_tqfind; - m_tqfind = new KFind( findDia.pattern(), findDia.options(), this ); + delete m_find; + m_find = new KFind( findDia.pattern(), findDia.options(), this ); slotFindNext(); } @@ -533,13 +533,13 @@ void KNotesApp::slotFindNext() { KNote *note = **m_findPos; ++*m_findPos; - note->tqfind( m_tqfind->pattern(), m_tqfind->options() ); + note->find( m_find->pattern(), m_find->options() ); } else { - m_tqfind->displayFinalDialog(); - delete m_tqfind; - m_tqfind = 0; + m_find->displayFinalDialog(); + delete m_find; + m_find = 0; delete m_findPos; m_findPos = 0; } @@ -703,7 +703,7 @@ void KNotesApp::updateNoteActions() for ( TQDictIterator it( m_noteList ); it.current(); ++it ) { - KAction *action = new KAction( it.current()->name().tqreplace("&", "&&"), + KAction *action = new KAction( it.current()->name().replace("&", "&&"), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotShowNote()), (TQObject *)0, it.current()->noteId().utf8() ); -- cgit v1.2.1