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

kjots

  • sources
  • kde-4.12
  • kdepim
  • kjots
kjotspart.h
Go to the documentation of this file.
1 /*
2  This file is part of KJots.
3 
4  Copyright (c) 2008 Stephen Kelly <steveire@gmail.com>
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 
20  As a special exception, permission is given to link this program
21  with any edition of Qt, and distribute the resulting executable,
22  without including the source code for Qt in the source distribution.
23 */
24 
25 #ifndef KJOTSPART_H
26 #define KJOTSPART_H
27 
28 #include <kparts/part.h>
29 #include <kparts/statusbarextension.h>
30 
31 class QWidget;
32 class KAboutData;
33 class KJotsWidget;
34 
43 class KJotsPart : public KParts::ReadOnlyPart
44 {
45  Q_OBJECT
46 public:
50  KJotsPart(QWidget *parentWidget,QObject *parent, const QVariantList &);
51 
55  virtual ~KJotsPart();
56 
57  static KAboutData *createAboutData();
58 
59 protected:
63  virtual bool openFile();
64 
65 protected Q_SLOTS:
66  void delayedInitialization();
67  void activeAnchorChanged(const QString &, const QString &);
68 
69 private:
70  void initAction();
71  KJotsWidget *mComponent;
72  KParts::StatusBarExtension *mStatusBar;
73 };
74 
75 #endif // KJOTSPART_H
KJotsPart
This is a "Part".
Definition: kjotspart.h:43
KJotsPart::openFile
virtual bool openFile()
This must be implemented by each part.
Definition: kjotspart.cpp:91
KJotsPart::~KJotsPart
virtual ~KJotsPart()
Destructor.
Definition: kjotspart.cpp:78
KJotsPart::KJotsPart
KJotsPart(QWidget *parentWidget, QObject *parent, const QVariantList &)
Default constructor.
QWidget
KJotsWidget
Definition: kjotswidget.h:67
QObject
KJotsPart::delayedInitialization
void delayedInitialization()
Definition: kjotspart.cpp:96
KAboutData
KJotsPart::activeAnchorChanged
void activeAnchorChanged(const QString &, const QString &)
Definition: kjotspart.cpp:102
KJotsPart::createAboutData
static KAboutData * createAboutData()
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kjots

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal