summaryrefslogtreecommitdiffstats
path: root/src/gui/termcapform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/termcapform.h')
-rw-r--r--src/gui/termcapform.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/gui/termcapform.h b/src/gui/termcapform.h
new file mode 100644
index 0000000..3cc53df
--- /dev/null
+++ b/src/gui/termcapform.h
@@ -0,0 +1,40 @@
+#ifndef TERMCAPFORM_H
+#define TERMCAPFORM_H
+#include "ui_termcapform.h"
+#include "getaddressform.h"
+#include "phone.h"
+#include "sockets/url.h"
+#include "user.h"
+
+class t_phone;
+extern t_phone *phone;
+
+class TermCapForm : public QDialog, public Ui::TermCapForm
+{
+ Q_OBJECT
+
+public:
+ TermCapForm(QWidget* parent = 0, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
+ ~TermCapForm();
+
+public slots:
+ virtual void show( t_user * user_config, const QString & dest );
+ virtual void validate();
+ virtual void showAddressBook();
+ virtual void selectedAddress( const QString & address );
+
+signals:
+ void destination(t_user *, const t_url &);
+
+protected slots:
+ virtual void languageChange();
+
+private:
+ GetAddressForm *getAddressForm;
+
+ void init();
+ void destroy();
+
+};
+
+#endif