• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

kstandardguiitem.h

Go to the documentation of this file.
00001 /* This file is part of the KDE libraries
00002    Copyright (C) 2001 Holger Freyther <freyther@kde.org>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #ifndef kstandardguiitem_h
00020 #define kstandardguiitem_h
00021 
00022 #include <kdeui_export.h>
00023 
00024 #include <QtCore/QPair>
00025 
00026 #include <kguiitem.h>
00027 
00028 class QString;
00029 
00039 namespace KStandardGuiItem
00040 {
00046     enum BidiMode { UseRTL = 0, IgnoreRTL };
00047 
00048     enum StandardItem
00049     {
00050         Ok=1, Cancel, Yes, No, Discard, Save, DontSave, SaveAs, Apply, Clear,
00051         Help, Defaults, Close, Back, Forward, Print, Continue, Open, Quit,
00052         AdminMode, Reset, Delete, Insert, Configure, Find, Stop, Add, Remove,
00053         Test, Properties, Overwrite, CloseWindow, CloseDocument
00054     };
00055 
00061     KDEUI_EXPORT KGuiItem guiItem( StandardItem id );
00062 
00068     KDEUI_EXPORT QString standardItem( StandardItem id );
00069 
00073     KDEUI_EXPORT KGuiItem ok();
00074 
00078     KDEUI_EXPORT KGuiItem cancel();
00079 
00083     KDEUI_EXPORT KGuiItem yes();
00084 
00088     KDEUI_EXPORT KGuiItem no();
00089 
00093     KDEUI_EXPORT KGuiItem insert();
00094 
00098     KDEUI_EXPORT KGuiItem discard();
00099 
00103     KDEUI_EXPORT KGuiItem save();
00104 
00108     KDEUI_EXPORT KGuiItem help();
00109 
00113     KDEUI_EXPORT KGuiItem dontSave();
00114 
00118     KDEUI_EXPORT KGuiItem saveAs();
00119 
00123     KDEUI_EXPORT KGuiItem apply();
00124 
00128     KDEUI_EXPORT KGuiItem clear();
00129 
00133     KDEUI_EXPORT KGuiItem defaults();
00134 
00138     KDEUI_EXPORT KGuiItem close();
00139 
00144     KDEUI_EXPORT KGuiItem closeWindow();
00145 
00150     KDEUI_EXPORT KGuiItem closeDocument();
00151 
00155     KDEUI_EXPORT KGuiItem print();
00156 
00160     KDEUI_EXPORT KGuiItem properties();
00161 
00165     KDEUI_EXPORT KGuiItem reset();
00166 
00170     KDEUI_EXPORT KGuiItem overwrite();
00171 
00176     KDEUI_EXPORT KGuiItem adminMode();
00177 
00182     KDEUI_EXPORT KGuiItem cont();
00183 
00188     KDEUI_EXPORT KGuiItem del();
00189 
00193     KDEUI_EXPORT KGuiItem open();
00194 
00205     KDEUI_EXPORT KGuiItem back( BidiMode useBidi = IgnoreRTL );
00206 
00217     KDEUI_EXPORT KGuiItem forward( BidiMode useBidi = IgnoreRTL );
00218 
00222     KDEUI_EXPORT KGuiItem configure();
00223 
00230     KDEUI_EXPORT QPair<KGuiItem, KGuiItem> backAndForward();
00231 
00235     KDEUI_EXPORT KGuiItem quit();
00236 
00240     KDEUI_EXPORT KGuiItem find();
00241 
00245     KDEUI_EXPORT KGuiItem stop();
00246 
00250     KDEUI_EXPORT KGuiItem add();
00251 
00255     KDEUI_EXPORT KGuiItem remove();
00256 
00260     KDEUI_EXPORT KGuiItem test();
00261 
00262 }
00263 
00264 #endif

KDEUI

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal