diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /knotes/KNotesIface.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knotes/KNotesIface.h')
-rw-r--r-- | knotes/KNotesIface.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/knotes/KNotesIface.h b/knotes/KNotesIface.h index b1d22de3a..dc9cd41de 100644 --- a/knotes/KNotesIface.h +++ b/knotes/KNotesIface.h @@ -22,8 +22,8 @@ #ifndef __KNotesIface_h__ #define __KNotesIface_h__ -#include <qstring.h> -#include <qmap.h> +#include <tqstring.h> +#include <tqmap.h> #include <dcopobject.h> @@ -39,8 +39,8 @@ k_dcop: * @param text the body of the new note * @return the new notes' id */ - virtual QString newNote( const QString& name = QString::null, - const QString& text = QString::null ) = 0; + virtual TQString newNote( const TQString& name = TQString::null, + const TQString& text = TQString::null ) = 0; /** * Create a new note and inserts the current text in the clipboard @@ -50,54 +50,54 @@ k_dcop: * KNotes will choose an appropriate name * @return the new notes' id */ - virtual QString newNoteFromClipboard( const QString& name = QString::null ) = 0; + virtual TQString newNoteFromClipboard( const TQString& name = TQString::null ) = 0; /** * Deletes a note forever. * @param noteId the id of the note to kill */ - virtual ASYNC killNote( const QString& noteId ) = 0; + virtual ASYNC killNote( const TQString& noteId ) = 0; /** * Deletes a note forever. * @param noteId the id of the note to kill * @param force do not request confirmation */ - virtual ASYNC killNote( const QString& noteId, bool force ) = 0; + virtual ASYNC killNote( const TQString& noteId, bool force ) = 0; /** * Get all the notes including their ids. - * @return a QMap that maps the id of a note to its name + * @return a TQMap that maps the id of a note to its name */ - virtual QMap<QString,QString> notes() const = 0; + virtual TQMap<TQString,TQString> notes() const = 0; /** * Changes the title/name of a note. * @param noteId the id of the note to be modified * @param newName the new title */ - virtual ASYNC setName( const QString& noteId, const QString& newName ) = 0; + virtual ASYNC setName( const TQString& noteId, const TQString& newName ) = 0; /** * Sets the text of a note. This will delete the old text! * @param noteId the id of the note * @param newText the new text for the note */ - virtual ASYNC setText( const QString& noteId, const QString& newText ) = 0; + virtual ASYNC setText( const TQString& noteId, const TQString& newText ) = 0; /** * Returns the title/name of a note. * @param noteId the id of the note in question * @return the name as a QString */ - virtual QString name( const QString& noteId ) const = 0; + 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 */ - virtual QString text( const QString& noteId ) const = 0; + virtual TQString text( const TQString& noteId ) const = 0; }; #endif |