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

akonadi/kcal

itembrowser.h

Go to the documentation of this file.
00001 /*
00002     Copyright (c) 2007 Tobias Koenig <tokoe@kde.org>
00003 
00004     This library is free software; you can redistribute it and/or modify it
00005     under the terms of the GNU Library General Public License as published by
00006     the Free Software Foundation; either version 2 of the License, or (at your
00007     option) any later version.
00008 
00009     This library is distributed in the hope that it will be useful, but WITHOUT
00010     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00012     License for more details.
00013 
00014     You should have received a copy of the GNU Library General Public License
00015     along with this library; see the file COPYING.LIB.  If not, write to the
00016     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017     02110-1301, USA.
00018 */
00019 
00020 #ifndef AKONADI_ITEMBROWSER_H
00021 #define AKONADI_ITEMBROWSER_H
00022 
00023 #include "akonadi-kcal_export.h"
00024 #include <akonadi/itemmonitor.h>
00025 #include <ktextbrowser.h>
00026 
00027 namespace Akonadi {
00028 
00029 class Item;
00030 
00040 class AKONADI_KCAL_EXPORT ItemBrowser : public KTextBrowser, public ItemMonitor
00041 {
00042   Q_OBJECT
00043 
00044   public:
00048     ItemBrowser( QWidget *parent = 0 );
00049 
00053     virtual ~ItemBrowser();
00054 
00055   public Q_SLOTS:
00056     void setItem( const Akonadi::Item &item );
00057 
00058   protected:
00065     virtual QString itemToRichText( const Item &item );
00066 
00067   private:
00068     void itemAdded( const Item &item );
00069     void itemChanged( const Item &item );
00070     void itemRemoved();
00071 
00072     class Private;
00073     Private* const d;
00074 
00075     Q_DISABLE_COPY( ItemBrowser )
00076 };
00077 
00078 }
00079 
00080 #endif

akonadi/kcal

Skip menu "akonadi/kcal"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • 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
  • 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