[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/kontact/plugins/knotes
From: Michael Brade <brade () kde ! org>
Date: 2004-08-31 23:41:34
Message-ID: 20040831234134.27BB39350 () office ! kde ! org
[Download RAW message or body]
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<QString, QString> 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<QString, QString> 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 );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic