• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

  • tdeui
karrowbutton.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2001, 2002 Frerich Raabe <raabe@kde.org>
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public
6 License version 2 as published by the Free Software Foundation.
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Library General Public License for more details.
12
13 You should have received a copy of the GNU Library General Public License
14 along with this library; see the file COPYING.LIB. If not, write to
15 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 Boston, MA 02110-1301, USA.
17*/
18
19#ifndef __karrowbutton_h__
20#define __karrowbutton_h__
21
22#include <tqpushbutton.h>
23
24#include <tdelibs_export.h>
25
26class KArrowButtonPrivate;
38class TDEUI_EXPORT KArrowButton : public TQPushButton
39{
40 TQ_OBJECT
41 TQ_PROPERTY( int arrowType READ arrowTp WRITE setArrowTp )
42
43 public:
51 KArrowButton(TQWidget *parent = 0, TQt::ArrowType arrow = TQt::UpArrow,
52 const char *name = 0);
53
57 virtual ~KArrowButton();
58
62 virtual TQSize sizeHint() const;
63
68 TQt::ArrowType arrowType() const;
69
70 // hacks for moc braindamages with enums
71 int arrowTp() const { return (int) arrowType(); }
72 void setArrowTp( int tp ) { setArrowType( (TQt::ArrowType) tp ); }
73 public slots:
80 void setArrowType(TQt::ArrowType a);
81
82 protected:
86 virtual void drawButton(TQPainter *);
87
88 protected:
89 virtual void virtual_hook( int id, void* data );
90 private:
91 KArrowButtonPrivate *d;
92};
93
94#endif // __karrowbutton_h__
KArrowButton
Draws a button with an arrow.
Definition: karrowbutton.h:39

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.