30 #ifndef MOUSETOOLSTATE_H_
31 #define MOUSETOOLSTATE_H_
41 namespace QtMouseToolNames {
55 for(
int i=0;; i++)
if (
tools[i]==tool || i==
nTools)
return i;
60 if(toolindex<0 || toolindex>=
nTools)
return NONE;
61 return tools[toolindex];
64 inline std::string
longName(std::string tool) {
67 inline std::string
iconName(std::string tool) {
70 inline std::string
help(std::string tool) {