summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditorplugins.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/profileeditorplugins.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditorplugins.h96
1 files changed, 0 insertions, 96 deletions
diff --git a/noncore/apps/opie-console/profileeditorplugins.h b/noncore/apps/opie-console/profileeditorplugins.h
deleted file mode 100644
index f576143..0000000
--- a/noncore/apps/opie-console/profileeditorplugins.h
+++ b/dev/null
@@ -1,96 +0,0 @@
1#ifndef PROFILE_EDITOR_PLUGINS_H
2#define PROFILE_EDITOR_PLUGINS_H
3
4
5#include <qobject.h>
6
7class QWidget;
8class Profile;
9class ProfileEditorPlugin : public QObject
10{
11 Q_OBJECT
12public:
13 ProfileEditorPlugin(QWidget *parent);
14
15 virtual ~ProfileEditorPlugin();
16
17 virtual void save() = 0;
18
19 virtual QWidget *widget() = 0;
20
21 QWidget *connection_widget();
22 QWidget *terminal_widget();
23
24public slots:
25 void slotConnFlow(int id);
26 void slotConnParity(int id);
27 void slotConnSpeed(int id);
28 void slotTermTerm(int id);
29 void slotTermColour(int id);
30 void slotTermFont(int id);
31 void slotTermEcho(bool on);
32 void slotTermWrap(bool on);
33 void slotTermInbound(bool on);
34 void slotTermOutbound(bool on);
35
36protected:
37 QWidget *m_parent, *m_widget;
38 Profile *m_profile;
39
40private:
41 enum ParityIds
42 {
43 id_parity_odd,
44 id_parity_even
45 };
46
47 enum FlowIds
48 {
49 id_flow_hw,
50 id_flow_sw
51 };
52
53 enum SpeedIds
54 {
55 id_baud_115200,
56 id_baud_57600,
57 id_baud_38400,
58 id_baud_19200,
59 id_baud_9600
60 };
61
62 enum TermIds
63 {
64 id_term_vt100,
65 id_term_vt220,
66 id_term_ansi
67 };
68
69 enum ColourIds
70 {
71 id_term_black,
72 id_term_white
73 };
74
75 enum FontIds
76 {
77 id_size_small,
78 id_size_medium,
79 id_size_large
80 };
81};
82
83//#ifdef __cplusplus
84//extern "C" {
85//#endif
86
87ProfileEditorPlugin *factory_serial(QWidget *parent, Profile *p);
88ProfileEditorPlugin *factory_irda(QWidget *parent, Profile *p);
89ProfileEditorPlugin *factory_modem(QWidget *parent, Profile *p);
90
91//#ifdef __cplusplus
92//}
93//#endif
94
95#endif
96