mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
42 lines
1,020 B
C++
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
|