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.
57 lines
856 B
57 lines
856 B
15 years ago
|
//-----------------------------------------------------------------------------
|
||
|
//
|
||
|
// kblankscrn - Basic screen saver for KDE
|
||
|
//
|
||
|
// Copyright (c) Martin R. Jones 1996
|
||
|
//
|
||
|
|
||
|
#ifndef __BLANKSCRN_H__
|
||
|
#define __BLANKSCRN_H__
|
||
|
|
||
14 years ago
|
#include <tqcolor.h>
|
||
15 years ago
|
#include <kdialogbase.h>
|
||
12 years ago
|
#include <tdescreensaver.h>
|
||
15 years ago
|
|
||
|
class KColorButton;
|
||
|
|
||
|
|
||
|
class KBlankSaver : public KScreenSaver
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
KBlankSaver( WId drawable );
|
||
|
virtual ~KBlankSaver();
|
||
|
|
||
14 years ago
|
void setColor( const TQColor &col );
|
||
15 years ago
|
|
||
|
private:
|
||
|
void readSettings();
|
||
|
void blank();
|
||
|
|
||
|
private:
|
||
14 years ago
|
TQColor color;
|
||
15 years ago
|
};
|
||
|
|
||
|
class KBlankSetup : public KDialogBase
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
14 years ago
|
KBlankSetup( TQWidget *parent = NULL, const char *name = NULL );
|
||
15 years ago
|
|
||
|
protected:
|
||
|
void readSettings();
|
||
|
|
||
|
private slots:
|
||
14 years ago
|
void slotColor( const TQColor & );
|
||
15 years ago
|
void slotOk();
|
||
|
|
||
|
private:
|
||
14 years ago
|
TQWidget *preview;
|
||
15 years ago
|
KBlankSaver *saver;
|
||
|
|
||
14 years ago
|
TQColor color;
|
||
15 years ago
|
};
|
||
|
|
||
|
#endif
|
||
|
|