author | zecke <zecke> | 2002-10-23 19:53:47 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-23 19:53:47 (UTC) |
commit | c4c50c8468b607da19ccee21c92837c2d4b39efc (patch) (unidiff) | |
tree | e09dada3b875dd3badc542877fa877c9c57b88fe /noncore/apps/opie-console/function_keyboard.cpp | |
parent | 748f658f5102a50502cd060d50b35fded71356c3 (diff) | |
download | opie-c4c50c8468b607da19ccee21c92837c2d4b39efc.zip opie-c4c50c8468b607da19ccee21c92837c2d4b39efc.tar.gz opie-c4c50c8468b607da19ccee21c92837c2d4b39efc.tar.bz2 |
Fix stupid bug in function_keyboard
class Doo{
public:
Doo (){
Foo* m_foo = new Foo();
}
void do(){
m_foo->woot()
}
private
Foo* m_foo
};
what is wrong in the above code?
cvslastchange for the answer
Diffstat (limited to 'noncore/apps/opie-console/function_keyboard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/function_keyboard.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.cpp b/noncore/apps/opie-console/function_keyboard.cpp index c314949..b2f1c78 100644 --- a/noncore/apps/opie-console/function_keyboard.cpp +++ b/noncore/apps/opie-console/function_keyboard.cpp | |||
@@ -190,13 +190,14 @@ void FunctionKeyboard::loadDefaults() { | |||
190 | 190 | ||
191 | FunctionKeyboardConfig::FunctionKeyboardConfig(const QString& name, QWidget* parent, const char* na ) | 191 | FunctionKeyboardConfig::FunctionKeyboardConfig(const QString& name, QWidget* parent, const char* na ) |
192 | : ProfileDialogKeyWidget(name, parent, na) { | 192 | : ProfileDialogKeyWidget(name, parent, na) { |
193 | qWarning("FunctionKeyboardConfig"); | ||
193 | 194 | ||
194 | 195 | ||
195 | kb = new FunctionKeyboard(this); | 196 | kb = new FunctionKeyboard(this); |
196 | 197 | ||
197 | QGroupBox *dimentions = new QGroupBox(2, Qt::Horizontal, tr("Dimentions"), this); | 198 | QGroupBox *dimentions = new QGroupBox(2, Qt::Horizontal, tr("Dimentions"), this); |
198 | QLabel *l = new QLabel("Rows", dimentions); | 199 | QLabel *l = new QLabel("Rows", dimentions); |
199 | QSpinBox *m_rowBox = new QSpinBox(1, 15, 1, dimentions); | 200 | m_rowBox = new QSpinBox(1, 15, 1, dimentions); |
200 | connect (m_rowBox, SIGNAL(valueChanged(int)), this, SLOT(slotChangeRows(int))); | 201 | connect (m_rowBox, SIGNAL(valueChanged(int)), this, SLOT(slotChangeRows(int))); |
201 | l = new QLabel("Columns", dimentions); | 202 | l = new QLabel("Columns", dimentions); |
202 | m_colBox = new QSpinBox(1, 15, 1, dimentions); | 203 | m_colBox = new QSpinBox(1, 15, 1, dimentions); |