author | zecke <zecke> | 2002-09-28 18:29:02 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-28 18:29:02 (UTC) |
commit | bc88219d0a9cf935d90c88fe75e238e86c675937 (patch) (unidiff) | |
tree | 0121d1d3d881cf69948f3faf420a71d894dd6832 /noncore/apps/opie-console/tabwidget.h | |
parent | 18d575d0ee47a0700091de81bc3e8c54be4eae18 (diff) | |
download | opie-bc88219d0a9cf935d90c88fe75e238e86c675937.zip opie-bc88219d0a9cf935d90c88fe75e238e86c675937.tar.gz opie-bc88219d0a9cf935d90c88fe75e238e86c675937.tar.bz2 |
io_layer take Profile instead of Config
Profile added including some Config like stuff
io_serial getBaud -> baud
a default for gcc3 later
tabdwidget will be our central widget
profileconfig I needed groups() and clearAll
that's pretty much it
Diffstat (limited to 'noncore/apps/opie-console/tabwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/tabwidget.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/tabwidget.h b/noncore/apps/opie-console/tabwidget.h new file mode 100644 index 0000000..d5d4be3 --- a/dev/null +++ b/noncore/apps/opie-console/tabwidget.h | |||
@@ -0,0 +1,28 @@ | |||
1 | #ifndef OPIE_TAB_WIDGET_H | ||
2 | #define OPIE_TAB_WIDGET_H | ||
3 | |||
4 | #include <qmap.h> | ||
5 | #include <qtabwidget.h> | ||
6 | |||
7 | #include "session.h" | ||
8 | /** | ||
9 | * This is our central tab widget | ||
10 | * we can add sessions here | ||
11 | */ | ||
12 | class TabWidget : QTabWidget{ | ||
13 | Q_OBJECT | ||
14 | public: | ||
15 | TabWidget(QWidget *parent, const char* name ); | ||
16 | ~TabWidget(); | ||
17 | void add( Session* ); | ||
18 | void remove( Session* ); | ||
19 | |||
20 | signals: | ||
21 | void activated(Session* ses ); | ||
22 | private slots: | ||
23 | void slotCurChanged( QWidget* wid ); | ||
24 | private: | ||
25 | QMap<QWidget*, Session*> m_map; | ||
26 | }; | ||
27 | |||
28 | #endif | ||