summaryrefslogtreecommitdiffstats
path: root/knotes/knotesapp.h
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotesapp.h')
-rw-r--r--knotes/knotesapp.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/knotes/knotesapp.h b/knotes/knotesapp.h
index 3048958dd..fc167ddf5 100644
--- a/knotes/knotesapp.h
+++ b/knotes/knotesapp.h
@@ -56,6 +56,7 @@ class KNotesApp : public TQLabel, public KSessionManaged, virtual public KXMLGUI
virtual public KNotesAppIface
{
Q_OBJECT
+ TQ_OBJECT
public:
KNotesApp();
~KNotesApp();
@@ -90,12 +91,12 @@ public:
bool isNew( const TQString& app, const TQString& id ) const;
bool isModified( const TQString& app, const TQString& id ) const;
- bool commitData( QSessionManager& );
+ bool commitData( TQSessionManager& );
public slots:
- TQString newNote( const TQString& name = TQString::null,
- const TQString& text = TQString::null );
- TQString newNoteFromClipboard( const TQString& name = TQString::null );
+ TQString newNote( const TQString& name = TQString(),
+ const TQString& text = TQString() );
+ TQString newNoteFromClipboard( const TQString& name = TQString() );
void hideAllNotes() const;
void showAllNotes() const;
@@ -149,7 +150,7 @@ private:
TQDict<KNote> m_noteList;
KNoteActionList m_noteActions;
- KFind *m_find;
+ KFind *m_tqfind;
TQDictIterator<KNote> *m_findPos;
KPopupMenu *m_note_menu;