diff --git a/core/textdocumentsettings_p.h b/core/textdocumentsettings_p.h new file mode 100644 index 000000000..5104de25b --- /dev/null +++ b/core/textdocumentsettings_p.h @@ -0,0 +1,42 @@ +/*************************************************************************** + * Copyright (C) 2013 by Azat Khuzhin * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + ***************************************************************************/ + + +#ifndef _OKULAR_TEXTDOCUMENTSETTINGS_P_H_ +#define _OKULAR_TEXTDOCUMENTSETTINGS_P_H_ + +class KFontRequester; +class Ui_TextDocumentSettings; + +namespace Okular { + +class TextDocumentSettingsWidgetPrivate +{ + public: + /** + * @note the private class won't take ownership of the ui, so you + * must delete it yourself + */ + TextDocumentSettingsWidgetPrivate(Ui_TextDocumentSettings *ui) + : mUi(ui) + {} + + KFontRequester *mFont; + Ui_TextDocumentSettings *mUi; +}; + +class TextDocumentSettingsPrivate +{ + public: + QFont mFont; +}; + +} + +#endif