summaryrefslogtreecommitdiffstats
path: root/src/gui/sendfileform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sendfileform.h')
-rw-r--r--src/gui/sendfileform.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gui/sendfileform.h b/src/gui/sendfileform.h
new file mode 100644
index 0000000..6601ad2
--- /dev/null
+++ b/src/gui/sendfileform.h
@@ -0,0 +1,33 @@
+#ifndef SENDFILEFORM_H
+#define SENDFILEFORM_H
+#include "ui_sendfileform.h"
+
+class SendFileForm : public QDialog, public Ui::SendFileForm
+{
+ Q_OBJECT
+
+public:
+ SendFileForm(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+ ~SendFileForm();
+
+public slots:
+ virtual void signalSelectedInfo();
+ virtual void chooseFile();
+ virtual void setFilename();
+
+signals:
+ void selected(const QString &filename, const QString &subject);
+
+protected slots:
+ virtual void languageChange();
+
+private:
+ QDialog *_chooseFileDialog;
+
+ void init();
+ void destroy();
+
+};
+
+
+#endif