You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
61 lines
1.6 KiB
15 years ago
|
//-----------------------------------------------------------------------------
|
||
|
//
|
||
|
// KDE xscreensaver configuration dialog
|
||
|
//
|
||
|
// Copyright (c) Martin R. Jones <mjones@kde.org> 1999
|
||
|
//
|
||
|
// 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;
|
||
|
// version 2 of the License.
|
||
|
//
|
||
|
// This program is distributed in the hope that it will be useful,
|
||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
// General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU General Public License
|
||
|
// along with this program; see the file COPYING. If not, write to
|
||
|
// the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||
|
// Boston, MA 02110-1301, USA.
|
||
|
|
||
|
#ifndef __KXSCONFIG_H__
|
||
|
#define __KXSCONFIG_H__
|
||
|
|
||
|
#include <kdialogbase.h>
|
||
|
#include "kxsitem.h"
|
||
|
|
||
12 years ago
|
class TDEProcess;
|
||
14 years ago
|
class TQLabel;
|
||
15 years ago
|
|
||
|
class KXSConfigDialog : public KDialogBase
|
||
|
{
|
||
|
Q_OBJECT
|
||
13 years ago
|
|
||
15 years ago
|
public:
|
||
14 years ago
|
KXSConfigDialog(const TQString &file, const TQString &name);
|
||
15 years ago
|
~KXSConfigDialog();
|
||
|
|
||
|
bool create();
|
||
14 years ago
|
TQString command();
|
||
15 years ago
|
|
||
|
protected slots:
|
||
12 years ago
|
void slotPreviewExited(TDEProcess *);
|
||
15 years ago
|
void slotNewPreview();
|
||
|
void slotChanged();
|
||
|
virtual void slotOk();
|
||
|
virtual void slotCancel();
|
||
|
|
||
|
protected:
|
||
14 years ago
|
TQString mFilename;
|
||
|
TQString mExeName;
|
||
|
TQString mConfigFile;
|
||
12 years ago
|
TDEProcess *mPreviewProc;
|
||
14 years ago
|
TQWidget *mPreview;
|
||
|
TQTimer *mPreviewTimer;
|
||
|
TQPtrList<KXSConfigItem> mConfigItemList;
|
||
15 years ago
|
bool mKilled;
|
||
|
};
|
||
|
|
||
|
#endif
|