#include <QtGui>
-class RS_Font;
+class Font;
/**
* A combobox for choosing a font name.
*/
-class QG_FontBox: public QComboBox
+class FontBox: public QComboBox
{
Q_OBJECT
public:
- QG_FontBox(QWidget * parent = 0, const char * name = 0);
- virtual ~QG_FontBox();
+ FontBox(QWidget * parent = 0, const char * name = 0);
+ virtual ~FontBox();
void init();
- RS_Font * getFont();
+ Font * getFont();
void setFont(const QString & fName);
private slots:
void slotFontChanged(int index);
signals:
- void fontChanged(RS_Font * font);
+ void fontChanged(Font * font);
private:
- RS_Font * currentFont;
+ Font * currentFont;
};
#endif // __FONTBOX_H__