• Skip to content
  • Skip to link menu
KDE 4.1 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,
00051         Apply, Clear, Help, Defaults, Close, Back, Forward, Print,
00052         Continue, Open, Quit, AdminMode, Reset, Delete, Insert,
00053         Configure, Find, Stop, Add, Remove, Test, Properties, Overwrite
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 
00143     KDEUI_EXPORT KGuiItem print();
00144 
00148     KDEUI_EXPORT KGuiItem properties();
00149 
00153     KDEUI_EXPORT KGuiItem reset();
00154 
00158     KDEUI_EXPORT KGuiItem overwrite();
00159 
00164     KDEUI_EXPORT KGuiItem adminMode();
00165 
00170     KDEUI_EXPORT KGuiItem cont();
00171 
00176     KDEUI_EXPORT KGuiItem del();
00177 
00181     KDEUI_EXPORT KGuiItem open();
00182 
00193     KDEUI_EXPORT KGuiItem back( BidiMode useBidi = IgnoreRTL );
00194 
00205     KDEUI_EXPORT KGuiItem forward( BidiMode useBidi = IgnoreRTL );
00206 
00210     KDEUI_EXPORT KGuiItem configure();
00211 
00218     KDEUI_EXPORT QPair<KGuiItem, KGuiItem> backAndForward();
00219 
00223     KDEUI_EXPORT KGuiItem quit();
00224 
00228     KDEUI_EXPORT KGuiItem find();
00229 
00233     KDEUI_EXPORT KGuiItem stop();
00234 
00238     KDEUI_EXPORT KGuiItem add();
00239 
00243     KDEUI_EXPORT KGuiItem remove();
00244 
00248     KDEUI_EXPORT KGuiItem test();
00249 
00250 }
00251 
00252 #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
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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