mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
44 lines
1.5 KiB
C++
44 lines
1.5 KiB
C++
/***************************************************************************
|
|
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 */
|
|
|