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

kontact

  • sources
  • kde-4.12
  • kdepim
  • kontact
  • plugins
  • knotes
knotesiconview.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2013 Montel Laurent <montel@kde.org>
3 
4  This program is free software; you can redistribute it and/or modify it
5  under the terms of the GNU General Public License, version 2, as
6  published by the Free Software Foundation.
7 
8  This program is distributed in the hope that it will be useful, but
9  WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License along
14  with this program; if not, write to the Free Software Foundation, Inc.,
15  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16 */
17 
18 #ifndef KNOTESICONVIEW_H
19 #define KNOTESICONVIEW_H
20 
21 #include "knotes_part.h"
22 #include <KListWidget>
23 #include <QListWidgetItem>
24 class KNoteConfig;
25 class KNotesIconView : public KListWidget
26 {
27 public:
28  explicit KNotesIconView( KNotesPart * );
29 
30 protected:
31  void mousePressEvent( QMouseEvent * );
32 
33 private:
34  KNotesPart *m_part;
35 };
36 
37 class KNotesIconViewItem : public QListWidgetItem
38 {
39 public:
40  KNotesIconViewItem( QListWidget *parent, Journal *journal );
41  ~KNotesIconViewItem();
42 
43  Journal *journal() const;
44  QString realName() const;
45  void setIconText( const QString &text );
46  KNoteConfig *config();
47  void updateSettings();
48  bool readOnly() const;
49  void setReadOnly(bool b);
50  int tabSize() const;
51 
52  bool autoIndent() const;
53  bool isRichText() const;
54 
55  QFont textFont() const;
56 
57 private:
58  Journal *mJournal;
59  KNoteConfig *mConfig;
60 };
61 
62 #endif // KNOTESICONVIEW_H
KNotesIconViewItem::autoIndent
bool autoIndent() const
Definition: knotesiconview.cpp:131
KNotesIconView::mousePressEvent
void mousePressEvent(QMouseEvent *)
Definition: knotesiconview.cpp:43
KNotesIconViewItem::KNotesIconViewItem
KNotesIconViewItem(QListWidget *parent, Journal *journal)
Definition: knotesiconview.cpp:54
text
virtual QByteArray text(quint32 serialNumber) const =0
QListWidget
KNotesIconViewItem::journal
Journal * journal() const
Definition: knotesiconview.cpp:86
KNotesIconViewItem::~KNotesIconViewItem
~KNotesIconViewItem()
Definition: knotesiconview.cpp:68
KNotesIconViewItem::updateSettings
void updateSettings()
Definition: knotesiconview.cpp:74
KNotesPart
Definition: knotes_part.h:48
KNotesIconViewItem::setIconText
void setIconText(const QString &text)
Definition: knotesiconview.cpp:101
KNotesIconViewItem::isRichText
bool isRichText() const
Definition: knotesiconview.cpp:141
KNotesIconView::KNotesIconView
KNotesIconView(KNotesPart *)
Definition: knotesiconview.cpp:31
knotes_part.h
KNotesIconViewItem::realName
QString realName() const
Definition: knotesiconview.cpp:96
KNotesIconViewItem::config
KNoteConfig * config()
Definition: knotesiconview.cpp:91
QListWidgetItem
KNotesIconViewItem::readOnly
bool readOnly() const
Definition: knotesiconview.cpp:115
KNotesIconViewItem::textFont
QFont textFont() const
Definition: knotesiconview.cpp:136
KNotesIconViewItem
Definition: knotesiconview.h:37
KNotesIconViewItem::setReadOnly
void setReadOnly(bool b)
Definition: knotesiconview.cpp:120
KListWidget
KNotesIconViewItem::tabSize
int tabSize() const
Definition: knotesiconview.cpp:126
KNotesIconView
Definition: knotesiconview.h:25
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kontact

Skip menu "kontact"
  • 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