summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorattachments.h
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/koeditorattachments.h')
-rw-r--r--korganizer/koeditorattachments.h20
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;
};