Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kdeui
kdeui
kdeui
ktoolbarlabelaction.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 KTOOLBARLABELACTION_H
19
#define KTOOLBARLABELACTION_H
20
21
#include <kactionclasses.h>
22
23
class
TQLabel;
24
49
class
KDEUI_EXPORT
KToolBarLabelAction
:
public
KWidgetAction
50
{
51
public
:
62
KToolBarLabelAction
(
const
TQString &text,
63
const
KShortcut
&cut,
64
const
TQObject *receiver,
const
char
*slot,
65
KActionCollection
*parent,
const
char
*name);
78
KToolBarLabelAction
(TQWidget* buddy,
const
TQString &text,
79
const
KShortcut
&cut,
80
const
TQObject *receiver,
const
char
*slot,
81
KActionCollection
*parent,
const
char
*name);
101
KToolBarLabelAction
(TQLabel* label,
const
KShortcut
&cut,
102
const
TQObject *receiver,
const
char
*slot,
103
KActionCollection
* parent,
const
char
*name);
104
105
virtual
~
KToolBarLabelAction
();
109
virtual
void
setText
(
const
TQString& text);
115
virtual
void
setBuddy(TQWidget* buddy);
121
TQWidget* buddy()
const
;
125
TQLabel* label()
const
;
126
127
protected
:
128
virtual
void
virtual_hook(
int
id
,
void
* data);
129
130
private
:
131
class
KToolBarLabelActionPrivate;
132
KToolBarLabelActionPrivate *d;
133
void
init();
134
};
135
136
137
#endif
kdeui
Skip menu "kdeui"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
kdeui
Skip menu "kdeui"
arts
dcop
dnssd
interfaces
interface
library
kspeech
ktexteditor
kabc
kate
kcmshell
kdecore
kded
kdefx
kdeprint
kdesu
kdeui
kdoctools
khtml
kimgio
kinit
kio
bookmarks
httpfilter
kfile
kio
kioexec
kpasswdserver
kssl
kioslave
http
kjs
kmdi
kmdi
knewstuff
kparts
krandr
kresources
kspell2
kunittest
kutils
kwallet
libkmid
libkscreensaver