diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /knotes/knotesapp.cpp | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
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
Diffstat (limited to 'knotes/knotesapp.cpp')
-rw-r--r-- | knotes/knotesapp.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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<KNote>( 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<KNote> 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() ); |