From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knotes/knotesapp.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'knotes/knotesapp.h') 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 m_noteList; KNoteActionList m_noteActions; - KFind *m_find; + KFind *m_tqfind; TQDictIterator *m_findPos; KPopupMenu *m_note_menu; -- cgit v1.2.1