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 /korganizer/koeditorattachments.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 'korganizer/koeditorattachments.h')
-rw-r--r-- | korganizer/koeditorattachments.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/korganizer/koeditorattachments.h b/korganizer/koeditorattachments.h index 813124a22..11dd7e8d4 100644 --- a/korganizer/koeditorattachments.h +++ b/korganizer/koeditorattachments.h @@ -25,7 +25,7 @@ #ifndef KOEDITORATTACHMENTS_H #define KOEDITORATTACHMENTS_H -#include <qwidget.h> +#include <tqwidget.h> #include <kurl.h> namespace KCal { @@ -44,12 +44,12 @@ class KOEditorAttachments : public QWidget { Q_OBJECT public: - KOEditorAttachments( int spacing = 8, QWidget *parent = 0, + KOEditorAttachments( int spacing = 8, TQWidget *parent = 0, const char *name = 0 ); ~KOEditorAttachments(); void addAttachment( const KURL &uri, - const QString &mimeType = QString::null, bool asUri = true ); + const TQString &mimeType = TQString::null, bool asUri = true ); void addAttachment( KCal::Attachment *attachment ); /** Set widgets to default values */ @@ -62,29 +62,29 @@ class KOEditorAttachments : public QWidget bool hasAttachments(); protected slots: - void showAttachment( QIconViewItem *item ); + void showAttachment( TQIconViewItem *item ); void slotAdd(); void slotAddData(); void slotEdit(); void slotRemove(); void slotShow(); - void dragEnterEvent( QDragEnterEvent *event ); - void dropEvent( QDropEvent *event ); + void dragEnterEvent( TQDragEnterEvent *event ); + void dropEvent( TQDropEvent *event ); void slotCopy(); void slotCut(); void slotPaste(); void selectionChanged(); - void contextMenu( QIconViewItem* item, const QPoint &pos ); + void contextMenu( TQIconViewItem* item, const TQPoint &pos ); signals: void openURL( const KURL &url ); private: friend class AttachmentIconView; - void handlePasteOrDrop( QMimeSource* source ); + void handlePasteOrDrop( TQMimeSource* source ); AttachmentIconView *mAttachments; - QPushButton *mRemoveBtn; - QPopupMenu *mContextMenu, *mAddMenu; + TQPushButton *mRemoveBtn; + TQPopupMenu *mContextMenu, *mAddMenu; KAction *mOpenAction, *mCopyAction, *mCutAction; }; |