summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/transferdialog.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-console/transferdialog.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/transferdialog.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/transferdialog.h b/noncore/apps/opie-console/transferdialog.h
index 4fe17dd..62ae14d 100644
--- a/noncore/apps/opie-console/transferdialog.h
+++ b/noncore/apps/opie-console/transferdialog.h
@@ -1,14 +1,16 @@
#ifndef TRANSFER_DIALOG_H
#define TRANSFER_DIALOG_H
-#include "qwidget.h"
+#include "qdialog.h"
class QLineEdit;
class QComboBox;
class QProgressBar;
class QLabel;
+class QPushButton;
+class FileTransfer;
-class TransferDialog : public QWidget
+class TransferDialog : public QDialog
{
Q_OBJECT
public:
@@ -18,12 +20,15 @@ class TransferDialog : public QWidget
public slots:
void slotFilename();
void slotTransfer();
+ void slotCancel();
private:
QLineEdit *filename;
QComboBox *protocol;
QProgressBar *progressbar;
QLabel *statusbar;
+ QPushButton *ok, *cancel;
+ FileTransfer *transfer;
};
#endif