|
|
|
/*
|
|
|
|
**************************************************************************
|
|
|
|
description
|
|
|
|
--------------------
|
|
|
|
copyright : (C) 2003 by Andreas Zehender
|
|
|
|
email : zehender@kde.org
|
|
|
|
**************************************************************************
|
|
|
|
|
|
|
|
**************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
#ifndef PMPLUGINSETTINGS_H
|
|
|
|
#define PMPLUGINSETTINGS_H
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include <config.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "pmsettingsdialog.h"
|
|
|
|
|
|
|
|
class TQFrame;
|
|
|
|
class TQListView;
|
|
|
|
class TQPushButton;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Plugins configuration dialog page
|
|
|
|
*/
|
|
|
|
class PMPluginSettings : public PMSettingsDialogPage
|
|
|
|
{
|
|
|
|
TQ_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
* Default constructor
|
|
|
|
*/
|
|
|
|
PMPluginSettings( TQWidget* parent, const char* name = 0 );
|
|
|
|
/** */
|
|
|
|
virtual void displaySettings( );
|
|
|
|
/** */
|
|
|
|
virtual void applySettings( );
|
|
|
|
/** */
|
|
|
|
virtual bool validateData( );
|
|
|
|
/** */
|
|
|
|
virtual void displayDefaults( );
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void slotToggle( );
|
|
|
|
void slotSelectionChanged( );
|
|
|
|
|
|
|
|
private:
|
|
|
|
TQFrame* m_pPluginOptions;
|
|
|
|
TQListView* m_pPluginsList;
|
|
|
|
TQPushButton* m_pToggle;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|