File indexing completed on 2024-04-28 16:26:31
0001 /************************************************************************** 0002 * Copyright (C) 2011 by Michel Ludwig (michel.ludwig@kdemail.net) * 0003 ***************************************************************************/ 0004 0005 /************************************************************************** 0006 * * 0007 * This program is free software; you can redistribute it and/or modify * 0008 * it under the terms of the GNU General Public License as published by * 0009 * the Free Software Foundation; either version 2 of the License, or * 0010 * (at your option) any later version. * 0011 * * 0012 ***************************************************************************/ 0013 0014 #ifndef LIVEPREVIEWCONFIGWIDGET_H 0015 #define LIVEPREVIEWCONFIGWIDGET_H 0016 0017 #include <QWidget> 0018 0019 #include <KConfig> 0020 #include "kiletool.h" 0021 0022 #include "ui_livepreviewconfigwidget.h" 0023 0024 0025 class KileWidgetLivePreviewConfig : public QWidget, public Ui::KileWidgetLivePreviewConfig 0026 { 0027 Q_OBJECT 0028 0029 public: 0030 explicit KileWidgetLivePreviewConfig(KConfig *config, QWidget *parent = Q_NULLPTR); 0031 ~KileWidgetLivePreviewConfig(); 0032 0033 void readConfig(); 0034 void writeConfig(); 0035 0036 protected: 0037 KConfig *m_config; 0038 }; 0039 0040 #endif