kde-workspace/kcontrol/componentchooser/componentchooserbrowser.h

45 lines
1.5 KiB
C
Raw Normal View History

2014-11-15 03:14:34 +02:00
/***************************************************************************
componentchooserbrowser.h
-------------------
copyright : (C) 2002 by Joseph Wenninger
email : jowenn@kde.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License version 2 as *
* published by the Free Software Foundationi *
* *
***************************************************************************/
#ifndef COMPONENTCHOOSERBROWSER_H
#define COMPONENTCHOOSERBROWSER_H
#include "ui_browserconfig_ui.h"
#include "componentchooser.h"
class CfgBrowser: public QWidget, public Ui::BrowserConfig_UI, public CfgPlugin
{
Q_OBJECT
public:
CfgBrowser(QWidget *parent);
virtual ~CfgBrowser();
virtual void load(KConfig *cfg);
virtual void save(KConfig *cfg);
virtual void defaults();
protected Q_SLOTS:
void selectBrowser();
void configChanged();
Q_SIGNALS:
void changed(bool);
private:
QString m_browserExec;
KService::Ptr m_browserService;
};
#endif /* COMPONENTCHOOSERBROWSER_H */