Diffstat (limited to 'core/pim/todo/templateeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/templateeditor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/todo/templateeditor.cpp b/core/pim/todo/templateeditor.cpp index 1b52d4f..3930428 100644 --- a/core/pim/todo/templateeditor.cpp +++ b/core/pim/todo/templateeditor.cpp | |||
@@ -12,25 +12,25 @@ using namespace Todo; | |||
12 | TemplateEditor::TemplateEditor( MainWindow* main, | 12 | TemplateEditor::TemplateEditor( MainWindow* main, |
13 | TemplateManager* manager ) | 13 | TemplateManager* manager ) |
14 | : QObject( main ), m_main( main ), m_man( manager ) | 14 | : QObject( main ), m_main( main ), m_man( manager ) |
15 | { | 15 | { |
16 | init(); | 16 | init(); |
17 | 17 | ||
18 | } | 18 | } |
19 | TemplateEditor::~TemplateEditor() { | 19 | TemplateEditor::~TemplateEditor() { |
20 | 20 | ||
21 | } | 21 | } |
22 | /* ok we add us to the Menubar */ | 22 | /* ok we add us to the Menubar */ |
23 | void TemplateEditor::init() { | 23 | void TemplateEditor::init() { |
24 | QAction* a = new QAction( QString::null, tr("Configure Templates"), | 24 | QAction* a = new QAction( QString::null, QWidget::tr("Configure Templates"), |
25 | 0, this, 0, FALSE ); | 25 | 0, this, 0, FALSE ); |
26 | connect(a, SIGNAL(activated() ), | 26 | connect(a, SIGNAL(activated() ), |
27 | this, SLOT(setUp() ) ); | 27 | this, SLOT(setUp() ) ); |
28 | 28 | ||
29 | a->addTo( m_main->options() ); | 29 | a->addTo( m_main->options() ); |
30 | } | 30 | } |
31 | void TemplateEditor::setUp() { | 31 | void TemplateEditor::setUp() { |
32 | qWarning("set up"); | 32 | qWarning("set up"); |
33 | TemplateDialogImpl dlg(m_main, m_man ); | 33 | TemplateDialogImpl dlg(m_main, m_man ); |
34 | int ret= dlg.exec(); | 34 | int ret= dlg.exec(); |
35 | if (QDialog::Accepted != ret ) { | 35 | if (QDialog::Accepted != ret ) { |
36 | m_man->load(); | 36 | m_man->load(); |