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

knode

knode_part.h

Go to the documentation of this file.
00001 /*
00002     This file is part of KMail.
00003     Copyright (c) 2003      Laurent Montel <montel@kde.org>,
00004     Based on the work of Cornelius Schumacher <schumacher@kde.org>
00005 
00006     This program is free software; you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation; either version 2 of the License, or
00009     (at your option) any later version.
00010 
00011     This program is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00014     GNU General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with this program; if not, write to the Free Software
00018     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019 
00020     As a special exception, permission is given to link this program
00021     with any edition of Qt, and distribute the resulting executable,
00022     without including the source code for Qt in the source distribution.
00023 */
00024 #ifndef KNODE_PART_H
00025 #define KNODE_PART_H
00026 
00027 
00028 #include <kdeversion.h>
00029 #include <kparts/browserextension.h>
00030 #include <kparts/factory.h>
00031 #include <kparts/event.h>
00032 #include <kparts/part.h>
00033 
00034 #include <QWidget>
00035 
00036 class KAboutData;
00037 
00038 class ActionManager;
00039 class KNMainWidget;
00040 
00042 class KNodePart: public KParts::ReadOnlyPart
00043 {
00044     Q_OBJECT
00045   public:
00046     KNodePart(QWidget *parentWidget, QObject *parent, const QVariantList &);
00047     virtual ~KNodePart();
00048 
00049     QWidget* parentWidget() const;
00050 
00051     static KAboutData *createAboutData();
00052 
00053   protected:
00054     virtual bool openFile();
00055     virtual void guiActivateEvent(KParts::GUIActivateEvent *e);
00056 
00057   private:
00058     ActionManager *mActionManager;
00059     QWidget *mParentWidget;
00060     KNMainWidget *mainWidget;
00061 };
00062 
00063 #endif

knode

Skip menu "knode"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

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