summaryrefslogtreecommitdiffstats
path: root/knotes/knotesapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotesapp.cpp')
-rw-r--r--knotes/knotesapp.cpp16
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() );