File indexing completed on 2024-04-28 04:32:46

0001 /*
0002     SPDX-FileCopyrightText: 2013 Azat Khuzhin <a3at.mail@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef _OKULAR_TEXTDOCUMENTSETTINGS_P_H_
0008 #define _OKULAR_TEXTDOCUMENTSETTINGS_P_H_
0009 
0010 class KFontRequester;
0011 class Ui_TextDocumentSettings;
0012 
0013 namespace Okular
0014 {
0015 class TextDocumentSettingsWidgetPrivate
0016 {
0017 public:
0018     /**
0019      * @note the private class won't take ownership of the ui, so you
0020      *       must delete it yourself
0021      */
0022     explicit TextDocumentSettingsWidgetPrivate(Ui_TextDocumentSettings *ui)
0023         : mUi(ui)
0024     {
0025     }
0026 
0027     KFontRequester *mFont;
0028     Ui_TextDocumentSettings *mUi;
0029 };
0030 
0031 class TextDocumentSettingsPrivate : public QObject
0032 {
0033     Q_OBJECT
0034 
0035 public:
0036     explicit TextDocumentSettingsPrivate(QObject *parent)
0037         : QObject(parent)
0038     {
0039     }
0040 
0041     QFont mFont;
0042 };
0043 
0044 }
0045 
0046 #endif