okular/optionDialogSpecialWidget.h
Stefan Kebekus bc3b74b17a make the option dialog more modular, for future interaction with kviewshell
svn path=/trunk/kdegraphics/kdvi/; revision=203637
2003-01-29 21:23:55 +00:00

42 lines
1,020 B
C++

// optionDialogSpecialWidget.h
//
// Part of KDVI - A DVI previewer for the KDE desktop environemt
//
// (C) 2003 Stefan Kebekus
// Distributed under the GPL
#ifndef OPTIONDIALOGSPECIALWIDGET_H
#define OPTIONDIALOGSPECIALWIDGET_H
// Add header files alphabetically
#include "optionDialogSpecialWidget_base.h"
class KConfig;
class KInstance;
class optionDialogSpecialWidget : public optionDialogSpecialWidget_base
{
Q_OBJECT
public:
optionDialogSpecialWidget( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~optionDialogSpecialWidget();
public slots:
void apply(void);
void slotComboBox(int item);
void slotUserDefdEditorCommand( const QString &text );
void slotExtraHelpButton( const QString &anchor);
private:
KInstance *instance;
KConfig *config;
QStringList editorNameString, editorCommandString, editorDescriptionString;
QString EditorCommand;
bool isUserDefdEditor;
QString usersEditorCommand;
};
#endif // OPTIONDIALOGSPECIALWIDGET_H