• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kontact

knotes_plugin.h

Go to the documentation of this file.
00001 /*
00002   This file is part of the KDE project
00003 
00004   Copyright (C) 2002 Daniel Molkentin <molkentin@kde.org>
00005   Copyright (c) 2004 Michael Brade <brade@kde.org>
00006 
00007   This program is free software; you can redistribute it and/or
00008   modify it under the terms of the GNU General Public
00009   License as published by the Free Software Foundation; either
00010   version 2 of the License, or (at your option) any later version.
00011 
00012   This program is distributed in the hope that it will be useful,
00013   but WITHOUT ANY WARRANTY; without even the implied warranty of
00014   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015   General Public License for more details.
00016 
00017   You should have received a copy of the GNU General Public License
00018   along with this program; see the file COPYING.  If not, write to
00019   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020   Boston, MA 02110-1301, USA.
00021 */
00022 
00023 #ifndef KNOTES_PLUGIN_H
00024 #define KNOTES_PLUGIN_H
00025 
00026 #include <kontactinterfaces/plugin.h>
00027 
00028 class SummaryWidget;
00029 
00030 class KNotesPlugin : public Kontact::Plugin
00031 {
00032   Q_OBJECT
00033   public:
00034     KNotesPlugin( Kontact::Core *core, const QVariantList & );
00035     ~KNotesPlugin();
00036 
00037     virtual Kontact::Summary *createSummaryWidget( QWidget *parentWidget );
00038 
00039     virtual QString tipFile() const;
00040     int weight() const { return 600; }
00041 
00042     const KAboutData *aboutData();
00043 
00044     virtual bool canDecodeMimeData( const QMimeData *data );
00045     virtual void processDropEvent( QDropEvent * );
00046 
00047   protected:
00048     KParts::ReadOnlyPart *createPart();
00049 
00050   private slots:
00051     void slotNewNote();
00052     void slotSyncNotes();
00053 
00054   private:
00055     KAboutData *mAboutData;
00056 };
00057 
00058 #endif

kontact

Skip menu "kontact"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal