summaryrefslogtreecommitdiffstats
path: root/knotes/knotesapp.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /knotes/knotesapp.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
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;