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

knotes

  • sources
  • kde-4.12
  • kdepim
  • knotes
  • notes
knotebutton.h
Go to the documentation of this file.
1 /*******************************************************************
2  KNotes -- Notes for the KDE project
3 
4  Copyright (c) 1997-2006, The KNotes Developers
5 
6  This program is free software; you can redistribute it and/or
7  modify it under the terms of the GNU General Public License
8  as published by the Free Software Foundation; either version 2
9  of the License, or (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 
21 #ifndef KNOTEBUTTON_H
22 #define KNOTEBUTTON_H
23 
24 #include <QPushButton>
25 
26 
27 class KNoteButton : public QPushButton
28 {
29  Q_OBJECT
30 public:
31  explicit KNoteButton( const QString &icon, QWidget *parent = 0 );
32  ~KNoteButton();
33 
34  virtual int heightForWidth( int w ) const;
35  virtual QSize sizeHint() const;
36 
37 protected:
38  void enterEvent( QEvent * );
39  void leaveEvent( QEvent * );
40 
41  void paintEvent ( QPaintEvent *e );
42 };
43 
44 #endif
KNoteButton::enterEvent
void enterEvent(QEvent *)
Definition: knotebutton.cpp:51
QWidget
QPushButton
KNoteButton
Definition: knotebutton.h:27
KNoteButton::heightForWidth
virtual int heightForWidth(int w) const
Definition: knotebutton.cpp:63
KNoteButton::sizeHint
virtual QSize sizeHint() const
Definition: knotebutton.cpp:68
KNoteButton::~KNoteButton
~KNoteButton()
Definition: knotebutton.cpp:47
KNoteButton::paintEvent
void paintEvent(QPaintEvent *e)
Definition: knotebutton.cpp:74
KNoteButton::KNoteButton
KNoteButton(const QString &icon, QWidget *parent=0)
Definition: knotebutton.cpp:34
KNoteButton::leaveEvent
void leaveEvent(QEvent *)
Definition: knotebutton.cpp:57
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

knotes

Skip menu "knotes"
  • Main Page
  • Namespace List
  • Namespace Members
  • 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