#ifndef _HTMLEXPORT_H_
#define _HTMLEXPORT_H_
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
//#include
#include
#include
#include
#include
class KAction;
class HTMLExport : public TQObject, public Plugin
{
Q_OBJECT
TQ_OBJECT
NOATUNPLUGIND
public:
HTMLExport();
~HTMLExport();
private:
TQString htmlEscape(const TQString &source);
TQString getColorByEntry(TQString s);
KConfig *config;
KAction *mAction;
private slots:
void slotExport();
};
class Prefs : public CModule
{
Q_OBJECT
TQ_OBJECT
public:
Prefs(TQObject *tqparent);
virtual void save();
virtual void reopen();
TQGroupBox* colorBox;
KColorButton* headColorSelect;
KColorButton* hoverColorSelect;
KColorButton* bgColorSelect;
KColorButton* txtColorSelect;
TQLabel* bgColorLabel;
TQLabel* txtColorLabel;
TQLabel* headColorLabel;
TQLabel* hoverColorLabel;
TQCheckBox* linkEntries;
TQCheckBox* numberEntries;
TQGroupBox* bgPicBox;
KURLRequester* bgPicPath;
protected:
TQGridLayout* bgcolorLabel;
signals:
void saved();
};
#endif