19#ifndef KOSELECTACTION_H
20#define KOSELECTACTION_H
23#include <koffice_export.h>
42 KoSelectAction( const TQString& text, const TQString& icon, TQObject* parent = 0, const char* name = 0);
51 KoSelectAction( const TQString& text, const TQString& icon, const TQObject* receiver,
52 const char* slot, TQObject* parent, const char* name = 0);
60 void popup( const TQPoint& global);
62 virtual int plug(TQWidget* widget, int index = -1);
65 virtual int currentSelection();
68 void setShowCurrentSelection( bool show);
78 virtual void setCurrentSelection( int index);
84 virtual void execute( int index);
87 class KoSelectActionPrivate;
88 KoSelectActionPrivate* d;
An action that provides a menu with items that can be selected.
void selectionChanged(int) Emited when the selection changed.
virtual int plug(TQWidget *widget, int index=-1)
|