diff options
Diffstat (limited to 'kontact/plugins/knotes/knotes_part.h')
-rw-r--r-- | kontact/plugins/knotes/knotes_part.h | 36 |
1 files changed, 18 insertions, 18 deletions
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 <qdict.h> +#include <tqdict.h> #include <kiconview.h> #include <kglobal.h> @@ -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<QString, QString> notes() const; + TQMap<TQString, TQString> 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<KNotesIconViewItem> mNoteList; + TQDict<KNotesIconViewItem> mNoteList; }; #endif |