KDEUI
kstandardguiitem.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
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