|
|
|
/***************************************************************************
|
|
|
|
webpresencepreferences.h
|
|
|
|
-------------------
|
|
|
|
begin : jeu nov 14 2002
|
|
|
|
copyright : (C) 2002 by Olivier Goffart
|
|
|
|
email : ogoffart @ 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 WEBPRSENCEPREFERECES_H
|
|
|
|
#define WEBPRSENCEPREFERECES_H
|
|
|
|
|
|
|
|
#include "tdecmodule.h"
|
|
|
|
|
|
|
|
class WebPresencePrefsUI;
|
|
|
|
class KAutoConfig;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Preference widget for the Now Listening plugin, copied from the Cryptography plugin
|
|
|
|
* @author Olivier Goffart
|
|
|
|
*/
|
|
|
|
class WebPresencePreferences : public TDECModule {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
WebPresencePreferences(TQWidget *parent = 0, const char *name = 0, const TQStringList &args = TQStringList());
|
|
|
|
|
|
|
|
virtual void save();
|
|
|
|
virtual void defaults();
|
|
|
|
|
|
|
|
private:
|
|
|
|
WebPresencePrefsUI *preferencesDialog;
|
|
|
|
KAutoConfig *kautoconfig;
|
|
|
|
|
|
|
|
private slots: // Public slots
|
|
|
|
void widgetModified();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|