author | zecke <zecke> | 2003-02-11 18:45:06 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-11 18:45:06 (UTC) |
commit | 5145521f5ff79d6a418244e33d357b5b8168e072 (patch) (unidiff) | |
tree | e952fa0c814ca757f3a44afab9085d2332b93936 | |
parent | 986afbabdd7c291f2fcbecd865e8c7075623bbf8 (diff) | |
download | opie-5145521f5ff79d6a418244e33d357b5b8168e072.zip opie-5145521f5ff79d6a418244e33d357b5b8168e072.tar.gz opie-5145521f5ff79d6a418244e33d357b5b8168e072.tar.bz2 |
Fix 0000645
-rw-r--r-- | core/pim/todo/templatedialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/todo/templatedialog.cpp b/core/pim/todo/templatedialog.cpp index ffcdc24..c94f69c 100644 --- a/core/pim/todo/templatedialog.cpp +++ b/core/pim/todo/templatedialog.cpp | |||
@@ -1,60 +1,60 @@ | |||
1 | #include <qpushbutton.h> | 1 | #include <qpushbutton.h> |
2 | #include <qhbox.h> | 2 | #include <qhbox.h> |
3 | #include <qlayout.h> | 3 | #include <qlayout.h> |
4 | #include <qlistview.h> | 4 | #include <qlistview.h> |
5 | #include <qlineedit.h> | 5 | #include <qlineedit.h> |
6 | 6 | ||
7 | #include "templatedialog.h" | 7 | #include "templatedialog.h" |
8 | 8 | ||
9 | 9 | ||
10 | using namespace Todo; | 10 | using namespace Todo; |
11 | 11 | ||
12 | TemplateDialog::TemplateDialog( QWidget* widget ) | 12 | TemplateDialog::TemplateDialog( QWidget* widget ) |
13 | : QDialog( widget, "TemplateDialog", TRUE ) | 13 | : QDialog( widget, "TemplateDialog", TRUE ) |
14 | { | 14 | { |
15 | setCaption( tr("Template Editor") ); | 15 | setCaption( tr("Template Editor") ); |
16 | m_main = new QVBoxLayout(this ); | 16 | m_main = new QVBoxLayout(this ); |
17 | 17 | ||
18 | m_list = new QListView( this ); | 18 | m_list = new QListView( this ); |
19 | m_main->addWidget( m_list, 100 ); | 19 | m_main->addWidget( m_list, 100 ); |
20 | 20 | ||
21 | m_lne = new QLineEdit( this ); | 21 | m_lne = new QLineEdit( this ); |
22 | m_main->addWidget( m_lne ); | 22 | m_main->addWidget( m_lne ); |
23 | 23 | ||
24 | m_btnBar = new QHBox( this ); | 24 | m_btnBar = new QHBox( this ); |
25 | m_add = new QPushButton( tr("Add"), m_btnBar ); | 25 | m_add = new QPushButton( tr("Add"), m_btnBar ); |
26 | m_edit = new QPushButton( tr("Edit"), m_btnBar ); | 26 | m_edit = new QPushButton( tr("Edit"), m_btnBar ); |
27 | m_rem = new QPushButton( tr("Remove"), m_btnBar ); | 27 | m_rem = new QPushButton( tr("Remove"), m_btnBar ); |
28 | m_main->addWidget( m_btnBar ); | 28 | m_main->addWidget( m_btnBar ); |
29 | 29 | ||
30 | connect(m_add, SIGNAL(clicked() ), | 30 | connect(m_add, SIGNAL(clicked() ), |
31 | this, SLOT(slotAdd() ) ); | 31 | this, SLOT(slotAdd() ) ); |
32 | connect(m_edit, SIGNAL(clicked() ), | 32 | connect(m_edit, SIGNAL(clicked() ), |
33 | this, SLOT(slotEdit() ) ); | 33 | this, SLOT(slotEdit() ) ); |
34 | connect(m_rem, SIGNAL(clicked() ), | 34 | connect(m_rem, SIGNAL(clicked() ), |
35 | this, SLOT(slotEdit() ) ); | 35 | this, SLOT(slotRemove() ) ); |
36 | connect(m_lne, SIGNAL(returnPressed() ), | 36 | connect(m_lne, SIGNAL(returnPressed() ), |
37 | this, SLOT(slotReturn() ) ); | 37 | this, SLOT(slotReturn() ) ); |
38 | 38 | ||
39 | } | 39 | } |
40 | TemplateDialog::~TemplateDialog() { | 40 | TemplateDialog::~TemplateDialog() { |
41 | // Qt does delete our widgets | 41 | // Qt does delete our widgets |
42 | } | 42 | } |
43 | QListView* TemplateDialog::listView() { | 43 | QListView* TemplateDialog::listView() { |
44 | return m_list; | 44 | return m_list; |
45 | } | 45 | } |
46 | QLineEdit* TemplateDialog::edit() { | 46 | QLineEdit* TemplateDialog::edit() { |
47 | return m_lne; | 47 | return m_lne; |
48 | } | 48 | } |
49 | void TemplateDialog::slotAdd() { | 49 | void TemplateDialog::slotAdd() { |
50 | qWarning("Not Implemented here"); | 50 | qWarning("Not Implemented here"); |
51 | } | 51 | } |
52 | void TemplateDialog::slotRemove() { | 52 | void TemplateDialog::slotRemove() { |
53 | qWarning("Not Implemented here"); | 53 | qWarning("Not Implemented here"); |
54 | } | 54 | } |
55 | void TemplateDialog::slotEdit() { | 55 | void TemplateDialog::slotEdit() { |
56 | qWarning("Not Implemented here"); | 56 | qWarning("Not Implemented here"); |
57 | } | 57 | } |
58 | void TemplateDialog::slotReturn() { | 58 | void TemplateDialog::slotReturn() { |
59 | qWarning("Not Implemented here"); | 59 | qWarning("Not Implemented here"); |
60 | } | 60 | } |