summaryrefslogtreecommitdiff
path: root/core/pim/todo/taskeditoroverview.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/taskeditoroverview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/taskeditoroverview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditoroverview.cpp b/core/pim/todo/taskeditoroverview.cpp
index 415dcf2..294acb9 100644
--- a/core/pim/todo/taskeditoroverview.cpp
+++ b/core/pim/todo/taskeditoroverview.cpp
@@ -19,25 +19,25 @@
 :     =  ...= . :.=-
 -.   .:....=;==+<; You should have received a copy of the GNU
  -_. . .   )=.  = General Public License along with
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "taskeditoroverview.h"
-#include <opie/orecur.h>
+//#include <opie2/opimrecurrence.h>
#include <qpe/categoryselect.h>
#include <qpe/datebookmonth.h>
#include <qpe/resource.h>
#include <qcheckbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qmultilineedit.h>
#include <qwhatsthis.h>
TaskEditorOverView::TaskEditorOverView( QWidget* parent, const char* name, WFlags fl )
@@ -118,46 +118,46 @@ TaskEditorOverView::TaskEditorOverView( QWidget* parent, const char* name, WFla
layout->addWidget( label, 5, 0 );
QWhatsThis::add( label, tr( "Enter any additional information about this task here." ) );
mleNotes = new QMultiLineEdit( container );
mleNotes->setWordWrap( QMultiLineEdit::WidgetWidth );
layout->addMultiCellWidget( mleNotes, 6, 6, 0, 1 );
QWhatsThis::add( mleNotes, tr( "Enter any additional information about this task here." ) );
}
TaskEditorOverView::~TaskEditorOverView()
{
}
-void TaskEditorOverView::load( const OTodo& todo )
+void TaskEditorOverView::load( const OPimTodo& todo )
{
// Description
cmbDesc->insertItem( todo.summary(), 0 );
cmbDesc->setCurrentItem( 0 );
// Priority
cmbPriority->setCurrentItem( todo.priority() - 1 );
// Category
cmbCategory->setCategories( todo.categories(), "Todo List", tr( "Todo List" ) );
// Recurrence
ckbRecurrence->setChecked( todo.hasRecurrence() );
emit recurranceEnabled( todo.hasRecurrence() );
// Notes
mleNotes->setText( todo.description() );
}
-void TaskEditorOverView::save( OTodo &todo )
+void TaskEditorOverView::save( OPimTodo &todo )
{
// Description
todo.setSummary( cmbDesc->currentText() );
// Priority
todo.setPriority( cmbPriority->currentItem() + 1 );
// Category
if ( cmbCategory->currentCategory() != -1 )
{
QArray<int> arr = cmbCategory->currentCategories();
todo.setCategories( arr );