From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kontact/plugins/knotes/knotes_part.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kontact/plugins/knotes/knotes_part.h') diff --git a/kontact/plugins/knotes/knotes_part.h b/kontact/plugins/knotes/knotes_part.h index c034d04fb..b737ddf83 100644 --- a/kontact/plugins/knotes/knotes_part.h +++ b/kontact/plugins/knotes/knotes_part.h @@ -22,7 +22,7 @@ #ifndef KNOTES_PART_H #define KNOTES_PART_H -#include +#include #include #include @@ -49,42 +49,42 @@ class KNotesPart : public KParts::ReadOnlyPart, virtual public KNotesIface Q_OBJECT public: - KNotesPart( QObject *parent = 0, const char *name = 0 ); + KNotesPart( TQObject *parent = 0, const char *name = 0 ); ~KNotesPart(); bool openFile(); public slots: - QString newNote( const QString& name = QString::null, - const QString& text = QString::null ); - QString newNoteFromClipboard( const QString& name = QString::null ); + TQString newNote( const TQString& name = TQString::null, + const TQString& text = TQString::null ); + TQString newNoteFromClipboard( const TQString& name = TQString::null ); public: - void killNote( const QString& id ); - void killNote( const QString& id, bool force ); + void killNote( const TQString& id ); + void killNote( const TQString& id, bool force ); - QString name( const QString& id ) const; - QString text( const QString& id ) const; + TQString name( const TQString& id ) const; + TQString text( const TQString& id ) const; - void setName( const QString& id, const QString& newName ); - void setText( const QString& id, const QString& newText ); + void setName( const TQString& id, const TQString& newName ); + void setText( const TQString& id, const TQString& newText ); - QMap notes() const; + TQMap notes() const; private slots: void createNote( KCal::Journal *journal ); void killNote( KCal::Journal *journal ); - void editNote( QIconViewItem *item ); + void editNote( TQIconViewItem *item ); void renameNote(); - void renamedNote( QIconViewItem *item ); + void renamedNote( TQIconViewItem *item ); - void slotOnItem( QIconViewItem *item ); + void slotOnItem( TQIconViewItem *item ); void slotOnViewport(); - void slotOnCurrentChanged( QIconViewItem *item ); + void slotOnCurrentChanged( TQIconViewItem *item ); - void popupRMB( QIconViewItem *item, const QPoint& pos ); + void popupRMB( TQIconViewItem *item, const TQPoint& pos ); void killSelectedNotes(); void printSelectedNotes(); @@ -95,7 +95,7 @@ class KNotesPart : public KParts::ReadOnlyPart, virtual public KNotesIface KNoteEditDlg *mNoteEditDlg; KNotesResourceManager *mManager; - QDict mNoteList; + TQDict mNoteList; }; #endif -- cgit v1.2.1