tdeaccelgen.h
247 generate<TQStringList::ConstIterator, Deref<TQStringList::ConstIterator> >(source.begin(), source.end(), target);
260 generate<TQMapConstIterator<Key,TQString>, Deref_Key<TQMapConstIterator<Key,TQString> > >(source.begin(), source.end(), target);
Static dereference class that calls the key() method on its target; for use as a template parameter.
Definition: tdeaccelgen.h:101
Static dereference class, for use as a template parameter.
Definition: tdeaccelgen.h:90
Provides functions that, given a collection of QStrings, will automatically and intelligently assign ...
Definition: tdeaccelgen.h:81
void generateFromValues(const TQMap< Key, TQString > &source, TQStringList &target)
Convenience function; generates accelerators for all the values in a TQMap<T,TQString>.
Definition: tdeaccelgen.h:258
void loadPredefined(Iter begin, Iter end, TQMap< TQChar, bool > &keys)
Loads all legal predefined accelerators in the (implicitly specified) collection into the given TQMap...
Definition: tdeaccelgen.h:130
void generateFromKeys(Iter begin, Iter end, TQStringList &target)
Another convenience function; looks up the key instead of dereferencing directly for the given iterat...
Definition: tdeaccelgen.h:232
void generate(Iter begin, Iter end, TQStringList &target)
Main, maximally flexible template function that assigns accelerators to the elements of a collection ...
Definition: tdeaccelgen.h:167
bool isLegalAccelerator(const TQString &str, uint index)
Helper to determine if the given offset in the string could be a legal alphanumeric accelerator.
Definition: tdeaccelgen.h:114