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

tdeui

  • tdeui
kstdguiitem.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2001 Holger Freyther <freyther@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 __kstdguiitem_h
20#define __kstdguiitem_h
21
22// Needed for the template below
23#include <kguiitem.h>
24
25#include <tqstring.h>
26#include <tqpair.h>
27
37class TDEUI_EXPORT KStdGuiItem
38{
39public:
45 enum BidiMode { UseRTL = 0, IgnoreRTL };
46
47 enum StdItem
48 {
49 Ok=1, Cancel, Yes, No, Discard, Save, DontSave, SaveAs,
50 Apply, Clear, Help, Defaults, Close, Back, Forward, Print,
51 Continue, Open, Quit, AdminMode, Reset, Delete, Insert,
52 Configure,
53 Find,
54 Stop,
55 Add,
56 Remove,
57 Test,
58 Properties,
59 Overwrite
60 };
61 static KGuiItem guiItem ( StdItem ui_enum );
62 static TQString stdItem ( StdItem ui_enum );
63 static KGuiItem ok();
64 static KGuiItem cancel();
65 static KGuiItem yes();
66 static KGuiItem no();
67 static KGuiItem insert();
68 static KGuiItem discard();
69 static KGuiItem save();
70 static KGuiItem help();
71 static KGuiItem dontSave();
72 static KGuiItem saveAs();
73 static KGuiItem apply();
74 static KGuiItem clear();
75 static KGuiItem defaults();
76 static KGuiItem close();
77 static KGuiItem print();
81 static KGuiItem properties();
82 static KGuiItem reset();
86 static KGuiItem overwrite();
91 static KGuiItem adminMode();
92
97 static KGuiItem cont();
98
104 static KGuiItem del();
105
106 static KGuiItem open();
107
118 static KGuiItem back( BidiMode useBidi = IgnoreRTL );
119
130 static KGuiItem forward( BidiMode useBidi = IgnoreRTL );
131
136 static KGuiItem configure();
137
144 static TQPair<KGuiItem, KGuiItem> backAndForward();
145
146 static KGuiItem quit();
147
152 static KGuiItem find();
153
158 static KGuiItem stop();
159
164 static KGuiItem add();
165
170 static KGuiItem remove();
171
176 static KGuiItem test();
177
178};
179
180#endif
KGuiItem
An abstract class for GUI data such as ToolTip and Icon.
Definition: kguiitem.h:39
KStdGuiItem
Provides a set of standardized KGuiItems.
Definition: kstdguiitem.h:38
KStdGuiItem::StdItem
StdItem
Definition: kstdguiitem.h:48
KStdGuiItem::Find
@ Find
Definition: kstdguiitem.h:53
KStdGuiItem::Properties
@ Properties
Definition: kstdguiitem.h:58
KStdGuiItem::Test
@ Test
Definition: kstdguiitem.h:57
KStdGuiItem::Stop
@ Stop
Definition: kstdguiitem.h:54
KStdGuiItem::Add
@ Add
Definition: kstdguiitem.h:55
KStdGuiItem::Remove
@ Remove
Definition: kstdguiitem.h:56
KStdGuiItem::Configure
@ Configure
Definition: kstdguiitem.h:52
KStdGuiItem::BidiMode
BidiMode
The back and forward items by default use the RTL settings for Hebrew and Arab countries.
Definition: kstdguiitem.h:45

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.