summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index d552928..924fde1 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -61,3 +61,3 @@
-using namespace Opie::Core;
+using Opie::Core::OApplicationFactory;
OPIE_EXPORT_APP( OApplicationFactory<Todo::MainWindow> )
@@ -298,3 +298,3 @@ QPopupMenu* MainWindow::contextMenu( int , bool recur ) {
QPopupMenu* MainWindow::options() {
- Opie::Core::owarn << "Options" << oendl;
+ owarn << "Options" << oendl;
return m_options;
@@ -317,3 +317,3 @@ OPimTodoAccess::List MainWindow::sorted( bool asc, int sortOrder ) {
- Opie::Core::owarn << " Category " << cat << " " << m_curCat << oendl;
+ owarn << " Category " << cat << " " << m_curCat << oendl;
@@ -376,3 +376,3 @@ void MainWindow::closeEvent( QCloseEvent* e ) {
if ( m_todoMgr.saveAll() ){
- Opie::Core::owarn << "saved" << oendl;
+ owarn << "saved" << oendl;
quit = true;
@@ -539,3 +539,3 @@ void MainWindow::setCategory( int c) {
- Opie::Core::owarn << "Iterating over cats " << c << oendl;
+ owarn << "Iterating over cats " << c << oendl;
for ( unsigned int i = 1; i < m_catMenu->count(); i++ )
@@ -683,3 +683,5 @@ void MainWindow::slotShow( int uid ) {
if ( uid == 0 ) return;
- Opie::Core::owarn << "slotShow" << oendl;
+
+
+ owarn << "slotShow" << oendl;
currentShow()->slotShow( event( uid ) );
@@ -742,3 +744,3 @@ void MainWindow::setReadAhead( uint count ) {
void MainWindow::slotQuickEntered() {
- Opie::Core::owarn << "entered" << oendl;
+ owarn << "entered" << oendl;
OPimTodo todo = quickEditor()->todo();
@@ -789,3 +791,3 @@ void MainWindow::slotComplete( const OPimTodo& todo ) {
int dayDiff = to.dueDate().daysTo( date );
- Opie::Core::owarn << "day diff is " << dayDiff << oendl;
+ owarn << "day diff is " << dayDiff << oendl;
QDate inval;
@@ -952,3 +954,3 @@ namespace {
for ( it = als.begin(); it != als.end(); ++it ) {
- Opie::Core::owarn << "Adding alarm for " << (*it).dateTime().toString() << oendl;
+ owarn << "Adding alarm for " << (*it).dateTime().toString() << oendl;
AlarmServer::addAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid );
@@ -960,3 +962,3 @@ namespace {
for ( it = als.begin(); it != als.end(); ++it ) {
- Opie::Core::owarn << "Removinf alarm for " << (*it).dateTime().toString() << oendl;
+ owarn << "Removinf alarm for " << (*it).dateTime().toString() << oendl;
AlarmServer::deleteAlarm( (*it).dateTime(), "QPE/Application/todolist", "alarm(QDateTime,int)", uid );