summaryrefslogtreecommitdiffstats
path: root/knotes/KNotesIface.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/KNotesIface.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/KNotesIface.h')
-rw-r--r--knotes/KNotesIface.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/knotes/KNotesIface.h b/knotes/KNotesIface.h
index dc9cd41de..1fba18605 100644
--- a/knotes/KNotesIface.h
+++ b/knotes/KNotesIface.h
@@ -39,8 +39,8 @@ k_dcop:
* @param text the body of the new note
* @return the new notes' id
*/
- virtual TQString newNote( const TQString& name = TQString::null,
- const TQString& text = TQString::null ) = 0;
+ virtual TQString newNote( const TQString& name = TQString(),
+ const TQString& text = TQString() ) = 0;
/**
* Create a new note and inserts the current text in the clipboard
@@ -50,7 +50,7 @@ k_dcop:
* KNotes will choose an appropriate name
* @return the new notes' id
*/
- virtual TQString newNoteFromClipboard( const TQString& name = TQString::null ) = 0;
+ virtual TQString newNoteFromClipboard( const TQString& name = TQString() ) = 0;
/**
* Deletes a note forever.
@@ -88,14 +88,14 @@ k_dcop:
/**
* Returns the title/name of a note.
* @param noteId the id of the note in question
- * @return the name as a QString
+ * @return the name as a TQString
*/
virtual TQString name( const TQString& noteId ) const = 0;
/**
* Returns the text of a note.
* @param noteId the id of the note in question
- * @return the body as a QString
+ * @return the body as a TQString
*/
virtual TQString text( const TQString& noteId ) const = 0;
};