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

tdeui

  • tdeui
tdetoolbarlabelaction.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2004 Felix Berger <felixberger@beldesign.de>
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#ifndef TDETOOLBARLABELACTION_H
19#define TDETOOLBARLABELACTION_H
20
21#include <tdeactionclasses.h>
22
23class TQLabel;
24
49class TDEUI_EXPORT TDEToolBarLabelAction : public KWidgetAction
50{
51public:
62 TDEToolBarLabelAction(const TQString &text,
63 const TDEShortcut &cut,
64 const TQObject *receiver, const char *slot,
65 TDEActionCollection *parent, const char *name);
78 TDEToolBarLabelAction(TQWidget* buddy, const TQString &text,
79 const TDEShortcut &cut,
80 const TQObject *receiver, const char *slot,
81 TDEActionCollection *parent, const char *name);
101 TDEToolBarLabelAction(TQLabel* label, const TDEShortcut &cut,
102 const TQObject *receiver, const char *slot,
103 TDEActionCollection* parent, const char *name);
104
105 virtual ~TDEToolBarLabelAction();
109 virtual void setText(const TQString& text);
115 virtual void setBuddy(TQWidget* buddy);
121 TQWidget* buddy() const;
125 TQLabel* label() const;
126
127protected:
128 virtual void virtual_hook(int id, void* data);
129
130private:
131 class TDEToolBarLabelActionPrivate;
132 TDEToolBarLabelActionPrivate *d;
133 void init();
134};
135
136
137#endif
KWidgetAction
An action that automatically embeds a widget into a toolbar.
Definition: tdeactionclasses.h:1310
TDEActionCollection
A managed set of TDEAction objects.
Definition: tdeactioncollection.h:79
TDEAction::setText
virtual void setText(const TQString &text)
Sets the text associated with this action.
Definition: tdeaction.cpp:879
TDEShortcut
TDEToolBarLabelAction
Class to display a label in a toolbar.
Definition: tdetoolbarlabelaction.h:50

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.