Diffstat (limited to 'core/pim/todo/templatedialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/todo/templatedialog.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/pim/todo/templatedialog.cpp b/core/pim/todo/templatedialog.cpp index c94f69c..8dfbd0b 100644 --- a/core/pim/todo/templatedialog.cpp +++ b/core/pim/todo/templatedialog.cpp | |||
@@ -6,28 +6,30 @@ | |||
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 | /* TRANSLATOR Todo::TemplateDialog */ | ||
13 | |||
12 | TemplateDialog::TemplateDialog( QWidget* widget ) | 14 | TemplateDialog::TemplateDialog( QWidget* widget ) |
13 | : QDialog( widget, "TemplateDialog", TRUE ) | 15 | : QDialog( widget, "TemplateDialog", TRUE ) |
14 | { | 16 | { |
15 | setCaption( tr("Template Editor") ); | 17 | setCaption( QWidget::tr("Template Editor") ); |
16 | m_main = new QVBoxLayout(this ); | 18 | m_main = new QVBoxLayout(this ); |
17 | 19 | ||
18 | m_list = new QListView( this ); | 20 | m_list = new QListView( this ); |
19 | m_main->addWidget( m_list, 100 ); | 21 | m_main->addWidget( m_list, 100 ); |
20 | 22 | ||
21 | m_lne = new QLineEdit( this ); | 23 | m_lne = new QLineEdit( this ); |
22 | m_main->addWidget( m_lne ); | 24 | m_main->addWidget( m_lne ); |
23 | 25 | ||
24 | m_btnBar = new QHBox( this ); | 26 | m_btnBar = new QHBox( this ); |
25 | m_add = new QPushButton( tr("Add"), m_btnBar ); | 27 | m_add = new QPushButton( QWidget::tr("Add"), m_btnBar ); |
26 | m_edit = new QPushButton( tr("Edit"), m_btnBar ); | 28 | m_edit = new QPushButton( QWidget::tr("Edit"), m_btnBar ); |
27 | m_rem = new QPushButton( tr("Remove"), m_btnBar ); | 29 | m_rem = new QPushButton( QWidget::tr("Remove"), m_btnBar ); |
28 | m_main->addWidget( m_btnBar ); | 30 | m_main->addWidget( m_btnBar ); |
29 | 31 | ||
30 | connect(m_add, SIGNAL(clicked() ), | 32 | connect(m_add, SIGNAL(clicked() ), |
31 | this, SLOT(slotAdd() ) ); | 33 | this, SLOT(slotAdd() ) ); |
32 | connect(m_edit, SIGNAL(clicked() ), | 34 | connect(m_edit, SIGNAL(clicked() ), |
33 | this, SLOT(slotEdit() ) ); | 35 | this, SLOT(slotEdit() ) ); |