symbolaction.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef _SYMBOLACTION_H_
00021
#define _SYMBOLACTION_H_
00022
00023
#include <kaction.h>
00024
#include <qvaluelist.h>
00025
#include <qstringlist.h>
00026
#include <qmemarray.h>
00027
00028
#include "kformuladefs.h"
00029
00030 KFORMULA_NAMESPACE_BEGIN
00031
00032
class SymbolAction :
public KSelectAction
00033 {
00034
public:
00035 SymbolAction(
QObject* parent = 0,
const char* name = 0 );
00036 SymbolAction(
const QString& text,
const KShortcut& cut,
00037
const QObject* receiver,
const char* slot,
QObject* parent,
00038
const char* name = 0 );
00039
00040
int plug(
QWidget*,
int index = -1 );
00041
void setSymbols(
const QStringList&,
const QValueList<QFont>&,
const QMemArray<uchar>& );
00042
void updateItems(
int );
00043
00044
private:
00045
QValueList<QFont> m_fonts;
00046
QMemArray<uchar> m_chars;
00047 };
00048
00049 KFORMULA_NAMESPACE_END
00050
00051
#endif // _SYMBOLACTION_H_
This file is part of the documentation for lib Library Version 1.3.3.