On Fri, Sep 23, 2005 at 10:50:41AM -0400, Benjamin Meyer wrote: > On Friday 23 September 2005 9:22 am, Joseph Wenninger wrote: Hi, > + /** > + * If the widget with focus provides a paste() slot, call that slot. Thus for a > + * simple application copy can be implemented as: ^^^^ should be 'paste' > + * \code > + * createAutomaticPasteAction(actionCollection()); > + * \endcode > + */ > + KAction *createAutomaticPasteAction(KActionCollection *collection) const; > + > + /** > + * If the widget with focus provides a clear() slot, call that slot. Thus for a > + * simple application clear() can be implemented as: > + * \code > + * new KAction( i18n( "Clear" ), "editclear", 0, this, SLOT( clear() ), actionCollection(), "clear" ); > + * \endcode > + * > + * Note that for some widgets, this may not provide the intended bahavior. For ^^^^ 'behaviour' Ciao, Tobias -- Separate politics from religion and economy! The Councile of the European Union is an undemocratic and illegal institution! ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de