summaryrefslogtreecommitdiffstats
path: root/knotes/KNotesIface.h
diff options
context:
space:
mode:
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;
};