• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.10.1 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

  • kdeui
  • util
kstandardguiitem.h
Go to the documentation of this file.
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 kstandardguiitem_h
20 #define kstandardguiitem_h
21 
22 #include <kdeui_export.h>
23 
24 #include <QtCore/QPair>
25 
26 #include <kguiitem.h>
27 
28 class QString;
29 
39 namespace KStandardGuiItem
40 {
46  enum BidiMode { UseRTL = 0, IgnoreRTL };
47 
48  enum StandardItem
49  {
50  Ok=1, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, Apply, Clear,
51  Help, Defaults, Close, Back, Forward, Print, Continue, Open, Quit,
52  AdminMode, Reset, Delete, Insert, Configure, Find, Stop, Add, Remove,
53  Test, Properties, Overwrite, CloseWindow, CloseDocument
54  };
55 
61  KDEUI_EXPORT KGuiItem guiItem( StandardItem id );
62 
68  KDEUI_EXPORT QString standardItem( StandardItem id );
69 
73  KDEUI_EXPORT KGuiItem ok();
74 
78  KDEUI_EXPORT KGuiItem cancel();
79 
83  KDEUI_EXPORT KGuiItem yes();
84 
88  KDEUI_EXPORT KGuiItem no();
89 
93  KDEUI_EXPORT KGuiItem insert();
94 
98  KDEUI_EXPORT KGuiItem discard();
99 
103  KDEUI_EXPORT KGuiItem save();
104 
108  KDEUI_EXPORT KGuiItem help();
109 
113  KDEUI_EXPORT KGuiItem dontSave();
114 
118  KDEUI_EXPORT KGuiItem saveAs();
119 
123  KDEUI_EXPORT KGuiItem apply();
124 
128  KDEUI_EXPORT KGuiItem clear();
129 
133  KDEUI_EXPORT KGuiItem defaults();
134 
138  KDEUI_EXPORT KGuiItem close();
139 
144  KDEUI_EXPORT KGuiItem closeWindow();
145 
150  KDEUI_EXPORT KGuiItem closeDocument();
151 
155  KDEUI_EXPORT KGuiItem print();
156 
160  KDEUI_EXPORT KGuiItem properties();
161 
165  KDEUI_EXPORT KGuiItem reset();
166 
170  KDEUI_EXPORT KGuiItem overwrite();
171 
176  KDEUI_EXPORT KGuiItem adminMode();
177 
182  KDEUI_EXPORT KGuiItem cont();
183 
188  KDEUI_EXPORT KGuiItem del();
189 
193  KDEUI_EXPORT KGuiItem open();
194 
205  KDEUI_EXPORT KGuiItem back( BidiMode useBidi = IgnoreRTL );
206 
217  KDEUI_EXPORT KGuiItem forward( BidiMode useBidi = IgnoreRTL );
218 
222  KDEUI_EXPORT KGuiItem configure();
223 
230  KDEUI_EXPORT QPair<KGuiItem, KGuiItem> backAndForward();
231 
235  KDEUI_EXPORT KGuiItem quit();
236 
240  KDEUI_EXPORT KGuiItem find();
241 
245  KDEUI_EXPORT KGuiItem stop();
246 
250  KDEUI_EXPORT KGuiItem add();
251 
255  KDEUI_EXPORT KGuiItem remove();
256 
260  KDEUI_EXPORT KGuiItem test();
261 
262 }
263 
264 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Wed Mar 20 2013 07:17:37 by doxygen 1.8.3.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDEUI

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

kdelibs-4.10.1 API Reference

Skip menu "kdelibs-4.10.1 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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