File indexing completed on 2024-04-28 16:26:31
0001 /************************************************************************** 0002 * Copyright (C) 2007 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 LATEXCONFIGWIDGET_H 0015 #define LATEXCONFIGWIDGET_H 0016 0017 #include <QWidget> 0018 0019 #include "kconfig.h" 0020 0021 #include "latexcmd.h" 0022 0023 #include "ui_latexconfigwidget.h" 0024 0025 class KileWidgetLatexConfig : public QWidget, public Ui::KileWidgetLatexConfig 0026 { 0027 Q_OBJECT 0028 0029 public: 0030 explicit KileWidgetLatexConfig(QWidget *parent = 0); 0031 ~KileWidgetLatexConfig(); 0032 0033 void setLatexCommands(KConfig *config, KileDocument::LatexCommands *commands); 0034 0035 protected Q_SLOTS: 0036 void slotConfigure(); 0037 0038 protected: 0039 KConfig *m_config; 0040 KileDocument::LatexCommands *m_commands; 0041 }; 0042 0043 #endif