|
|
|
/*
|
|
|
|
Kopete Motion Detector Auto-Away plugin
|
|
|
|
|
|
|
|
Copyright (c) 2002-2004 by Duncan Mac-Vicar Prett <duncan@kde.org>
|
|
|
|
|
|
|
|
Kopete (c) 2002 by the Kopete developers <kopete-devel@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 MOTIONAWAYPREFERENCES_H
|
|
|
|
#define MOTIONAWAYPREFERENCES_H
|
|
|
|
|
|
|
|
#include "kcmodule.h"
|
|
|
|
|
|
|
|
class motionawayPrefsUI;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Preference widget for the Motion Away plugin
|
|
|
|
* @author Duncan Mac-Vicar P.
|
|
|
|
*/
|
|
|
|
class MotionAwayPreferences : public TDECModule
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
MotionAwayPreferences(TQWidget *parent = 0, const char *name = 0, const TQStringList &args = TQStringList());
|
|
|
|
virtual void save();
|
|
|
|
virtual void load();
|
|
|
|
|
|
|
|
private:
|
|
|
|
motionawayPrefsUI *preferencesDialog;
|
|
|
|
private slots:
|
|
|
|
void slotWidgetModified();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// vim: set noet ts=4 sts=4 sw=4:
|