Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 14446 → Rev 14447

/trunk/Scribus/scribus/ui/prefs_fonts.h
8,10 → 8,17
#ifndef PREFS_FONTS_H
#define PREFS_FONTS_H
 
#include <QListWidgetItem>
#include <QPushButton>
 
#include "ui_prefs_fontsbase.h"
#include "prefs_pane.h"
#include "scribusapi.h"
 
class SCRIBUS_API Prefs_Fonts : public QWidget, Ui::Prefs_Fonts
class ScribusDoc;
class ScComboBox;
 
class SCRIBUS_API Prefs_Fonts : public Prefs_Pane, Ui::Prefs_Fonts
{
Q_OBJECT
 
18,6 → 25,30
public:
Prefs_Fonts(QWidget* parent=0);
~Prefs_Fonts();
virtual void restoreDefaults(struct ApplicationPrefs *prefsData);
virtual void saveGuiToPrefs(struct ApplicationPrefs *prefsData) const;
 
public slots:
void languageChange();
void ReplaceSel(int r, int c);
void UpdateFliste();
void DelEntry();
void SelectPath(QListWidgetItem *c);
void AddPath();
void ChangePath();
void DelPath();
 
protected:
void readPaths();
void writePaths();
 
QMap<QString,QString> RList;
QList<ScComboBox*> FlagsRepl;
//! List of font names of allowed fonts for substitutions
QStringList UsedFonts;
QString HomeP;
QString CurrentPath;
ScribusDoc* m_doc;
};
 
#endif // PREFS_FONTS_H