koPartSelectAction.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
#ifndef koPartSelectAction_h
00020
#define koPartSelectAction_h
00021
00022
#include <kaction.h>
00023
#include <koQueryTrader.h>
00024
00030 class KoPartSelectAction :
public KActionMenu
00031 {
00032 Q_OBJECT
00033
00034
public:
00035
KoPartSelectAction(
const QString& text,
QObject* parent = 0,
const char* name = 0 );
00036
KoPartSelectAction(
const QString& text,
const QString& icon,
00037
QObject* parent = 0,
const char* name = 0 );
00038
KoPartSelectAction(
const QString& text,
const QString& icon,
00039
QObject* receiver,
const char* slot,
QObject* parent,
const char* name = 0 );
00040
00041
KoDocumentEntry documentEntry()
const {
return m_documentEntry; }
00042
00043
00044
00045
protected:
00046
void init();
00047
00048
protected slots:
00049
virtual void slotActivated();
00050
void slotActionActivated();
00051
00052
private:
00053
QValueList<KoDocumentEntry> m_lstEntries;
00054
KoDocumentEntry m_documentEntry;
00055 };
00056
00057
#endif
This file is part of the documentation for lib Library Version 1.3.5.