From kde-commits Tue Aug 31 23:41:34 2004 From: Michael Brade Date: Tue, 31 Aug 2004 23:41:34 +0000 To: kde-commits Subject: kdepim/kontact/plugins/knotes Message-Id: <20040831234134.27BB39350 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=109399570221328 CVS commit by brade: And now get rid of the DCOP stuff that's senseless in Kontact. M +0 -31 knotes_part.cpp 1.44 M +0 -8 knotes_part.h 1.21 --- kdepim/kontact/plugins/knotes/knotes_part.cpp #1.43:1.44 @@ -139,19 +139,4 @@ QString KNotesPart::newNoteFromClipboard } -void KNotesPart::showNote( const QString& id ) const -{ - KNotesIconViewItem *note = mNoteList[ id ]; - if ( !note ) - return; - - mNotesView->ensureItemVisible( note ); - mNotesView->setCurrentItem( note ); -} - -void KNotesPart::hideNote( const QString& ) const -{ - // simply does nothing, there is nothing to hide -} - void KNotesPart::killNote( const QString& id ) { @@ -219,20 +204,4 @@ QMap KNotesPart::notes } -// TODO KDE 4.0: remove - -void KNotesPart::sync( const QString& ) -{ -} - -bool KNotesPart::isNew( const QString&, const QString& ) const -{ - return true; -} - -bool KNotesPart::isModified( const QString&, const QString& ) const -{ - return true; -} - // private stuff --- kdepim/kontact/plugins/knotes/knotes_part.h #1.20:1.21 @@ -61,7 +61,4 @@ class KNotesPart : public KPIM::Part, vi public: - void showNote( const QString& id ) const; - void hideNote( const QString& id ) const; - void killNote( const QString& id ); void killNote( const QString& id, bool force ); @@ -75,9 +72,4 @@ class KNotesPart : public KPIM::Part, vi QMap notes() const; -// TODO: remove for KDE 4.0 - void sync( const QString& app ); - bool isNew( const QString& app, const QString& id ) const; - bool isModified( const QString& app, const QString& id ) const; - private slots: void createNote( KCal::Journal *journal );