Diffstat (limited to 'core/pim/todo/templatedialogimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/templatedialogimpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/pim/todo/templatedialogimpl.cpp b/core/pim/todo/templatedialogimpl.cpp index 77c5363..fed92f0 100644 --- a/core/pim/todo/templatedialogimpl.cpp +++ b/core/pim/todo/templatedialogimpl.cpp | |||
@@ -11,2 +11,4 @@ using namespace Todo; | |||
11 | 11 | ||
12 | /* TRANSLATOR Todo::TemplateDialogImpl */ | ||
13 | |||
12 | namespace { | 14 | namespace { |
@@ -63,3 +65,3 @@ TemplateDialogImpl::TemplateDialogImpl( MainWindow* win, | |||
63 | } | 65 | } |
64 | listView()->addColumn( tr("Name") ); | 66 | listView()->addColumn( QWidget::tr("Name") ); |
65 | 67 | ||
@@ -72,3 +74,3 @@ TemplateDialogImpl::~TemplateDialogImpl() { | |||
72 | void TemplateDialogImpl::slotAdd() { | 74 | void TemplateDialogImpl::slotAdd() { |
73 | QString str = tr("New Template %1").arg( listView()->childCount() ); | 75 | QString str = QWidget::tr("New Template %1").arg( listView()->childCount() ); |
74 | OTodo ev; | 76 | OTodo ev; |
@@ -89,5 +91,3 @@ void TemplateDialogImpl::slotEdit() { | |||
89 | if ( m_win->currentEditor()->accepted() ) { | 91 | if ( m_win->currentEditor()->accepted() ) { |
90 | qWarning("accepted"); | ||
91 | item->setEvent( ev ); | 92 | item->setEvent( ev ); |
92 | qWarning("Priority %d", ev.priority() ); | ||
93 | m_man->removeEvent( item->text() ); | 93 | m_man->removeEvent( item->text() ); |
@@ -115,3 +115,3 @@ void TemplateDialogImpl::slotClicked( QListViewItem* item) { | |||
115 | 115 | ||
116 | TemplateListItem* tbl = (TemplateListItem*)item; | 116 | TemplateListItem* tbl = static_cast<TemplateListItem*>(item); |
117 | edit()->setText( tbl->text() ); | 117 | edit()->setText( tbl->text() ); |