summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profileeditordialog.h
authorjosef <josef>2002-10-06 18:34:28 (UTC)
committer josef <josef>2002-10-06 18:34:28 (UTC)
commitaa8332baeebf7056d81fc245399477c7feaa1235 (patch) (side-by-side diff)
tree4b23429bcad955d02df24b40144cf5b7b6ffe0f3 /noncore/apps/opie-console/profileeditordialog.h
parent6da8cac26f1d610d458c91bc2daad018cf9cf887 (diff)
downloadopie-aa8332baeebf7056d81fc245399477c7feaa1235.zip
opie-aa8332baeebf7056d81fc245399477c7feaa1235.tar.gz
opie-aa8332baeebf7056d81fc245399477c7feaa1235.tar.bz2
- more factorization (is nearly complete now ;)
- move config plugins into separate file (3 classes and virtual superclass) - first stub for save function
Diffstat (limited to 'noncore/apps/opie-console/profileeditordialog.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/profileeditordialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profileeditordialog.h b/noncore/apps/opie-console/profileeditordialog.h
index 8ebfba1..faabda0 100644
--- a/noncore/apps/opie-console/profileeditordialog.h
+++ b/noncore/apps/opie-console/profileeditordialog.h
@@ -3,24 +3,25 @@
#include <qtabdialog.h>
#include "profile.h"
class MetaFactory;
class EditBase;
class QTabWidget;
class QHBoxLayout;
class QLineEdit;
class QComboBox;
class QLabel;
+class ProfileEditorPlugin;
class ProfileEditorDialog : public QTabDialog {
Q_OBJECT
public:
ProfileEditorDialog(MetaFactory* fact,
const Profile& prof );
ProfileEditorDialog(MetaFactory* fact );
~ProfileEditorDialog();
Profile profile()const;
QString prof_name();
QString prof_type();
@@ -40,17 +41,18 @@ private:
void initUI();
MetaFactory* m_fact;
EditBase* m_base;
QTabWidget* m_tab;
QHBoxLayout* m_lay;
Profile m_prof;
//QLabel *frame_number;
QLineEdit *name_line;
//QLineEdit *frame_device_line, *frame_number_line;
QComboBox *terminal_box, *speed_box, *device_box;
- QWidget *plugin_base, *plugin_plugin;
+ QWidget *plugin_base;
+ ProfileEditorPlugin *plugin_plugin;
QHBoxLayout *plugin_layout;
};
#endif