[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kplato/libs/ui
From:       Dag Andersen <danders () get2net ! dk>
Date:       2009-09-14 14:31:19
Message-ID: 1252938679.389364.25824.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1023327 by danders:

Forgotten context save/load


 M  +2 -1      kpttaskstatusview.cpp  
 M  +2 -2      kpttaskstatusview.h  


--- trunk/koffice/kplato/libs/ui/kpttaskstatusview.cpp #1023326:1023327
@@ -468,11 +468,12 @@
 bool ProjectStatusView::loadContext( const KoXmlElement &context )
 {
     kDebug();
-    return true;
+    return m_view->loadContext( context );
 }
 
 void ProjectStatusView::saveContext( QDomElement &context ) const
 {
+    m_view->saveContext( context );
 }
 
 //-----------------------------------
--- trunk/koffice/kplato/libs/ui/kpttaskstatusview.h #1023326:1023327
@@ -184,9 +184,9 @@
     }
     
     /// Loads context info into this view. Reimplement.
-    virtual bool loadContext( const KoXmlElement &/*context*/ );
+    virtual bool loadContext( const KoXmlElement &context );
     /// Save context info from this view. Reimplement.
-    virtual void saveContext( QDomElement &/*context*/ ) const;
+    virtual void saveContext( QDomElement &context ) const;
     
 protected:
     void contextMenuEvent( QContextMenuEvent *event );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic