author | josef <josef> | 2002-10-07 16:03:17 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-07 16:03:17 (UTC) |
commit | ab5b7ba61580bfd3aa20297e67bd9fa6b6c90d41 (patch) (side-by-side diff) | |
tree | 40ae13308e3509ffed90570b22ffbb000fe7cb10 | |
parent | e68537563c9950654b9a771730f0fc3890803a54 (diff) | |
download | opie-ab5b7ba61580bfd3aa20297e67bd9fa6b6c90d41.zip opie-ab5b7ba61580bfd3aa20297e67bd9fa6b6c90d41.tar.gz opie-ab5b7ba61580bfd3aa20297e67bd9fa6b6c90d41.tar.bz2 |
- forgot : QObject()
-rw-r--r-- | noncore/apps/opie-console/profileeditorplugins.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profileeditorplugins.cpp b/noncore/apps/opie-console/profileeditorplugins.cpp index a0bcab8..b63fa1c 100644 --- a/noncore/apps/opie-console/profileeditorplugins.cpp +++ b/noncore/apps/opie-console/profileeditorplugins.cpp @@ -1,42 +1,43 @@ #include "profileeditorplugins.h" #include "profile.h" #include "qframe.h" #include "qlabel.h" #include "qlineedit.h" #include "qlayout.h" #include "qcombobox.h" #include "qradiobutton.h" #include "qcheckbox.h" #include "qbuttongroup.h" #include "io_serial.h" // Base class ProfileEditorPlugin::ProfileEditorPlugin(QWidget *parent, Profile *p) +: QObject() { m_parent = parent; m_profile = p; m_widget = NULL; } ProfileEditorPlugin::~ProfileEditorPlugin() { if(m_widget) delete m_widget; } QWidget *ProfileEditorPlugin::connection_widget() { QWidget *root; QVBoxLayout *lroot; root = new QWidget(); // Build GUI QComboBox *speed_box = new QComboBox(root); speed_box->insertItem("115200 baud", id_baud_115200); speed_box->insertItem("57600 baud", id_baud_57600); speed_box->insertItem("38400 baud", id_baud_38400); |