136 void setConflict(
bool newConflictState =
true ) { _conflict = newConflictState; }
163 static std::string::size_type
findShortcutPos(
const std::string & str, std::string::size_type start_pos = 0 );
171 static char findShortcut(
const std::string & str, std::string::size_type start_pos = 0 );
204 std::string _shortcutString;
205 bool _shortcutStringCached;
207 std::string _cleanShortcutString;
208 bool _cleanShortcutStringCached;
215 bool _isWizardButton;
216 int _distinctShortcutChars;
267 typedef std::vector<YShortcut *> YShortcutList;
268 typedef YShortcutList::iterator YShortcutListIterator;
271 #endif // YShortcut_h
bool isWizardButton() const
virtual void setShortcut(char newShortcut)
static std::string::size_type findShortcutPos(const std::string &str, std::string::size_type start_pos=0)
virtual std::string getShortcutString()
virtual void setShortcut(char newShortcut)
static char normalized(char c)
void setConflict(bool newConflictState=true)
virtual std::string getShortcutString()
std::string cleanShortcutString()
static char shortcutMarker()
static char findShortcut(const std::string &str, std::string::size_type start_pos=0)
std::string shortcutString()
const char * widgetClass() const
int distinctShortcutChars()
bool hasValidShortcutChar()
YItemShortcut(YWidget *widget, YItem *item)
YShortcut(YWidget *shortcut_widget)
static bool isValid(char c)