summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/knotes/knotes_part.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kontact/plugins/knotes/knotes_part.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 'kontact/plugins/knotes/knotes_part.h')
-rw-r--r--kontact/plugins/knotes/knotes_part.h36
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