1 //-----------------------------------------------------------------------------
10 #include <q3ptrlist.h>
15 #include <kscreensaver.h>
19 #include "vm_random.h"
22 #define THREAD_MAX_STACK_SIZE 10
23 #define MAX_THREADS_NUM 20
25 #define MAX_REFRESH_TIMEOUT 40
29 int grid_width
, grid_height
;
32 int char_width
, char_height
;
33 bool insert_top_p
, insert_bottom_p
;
35 struct tvm_pool
* pool
;
40 int image_width
, image_height
;
46 class kVmSaver
: public KScreenSaver
53 void setSpeed( int spd
);
54 void setRefreshTimeout( const int refreshTimeout
);
59 int getRandom( const int max_value
);
60 void modifyArea( const int op
);
75 class kVmSetup
: public KDialog
79 kVmSetup( QWidget
*parent
= NULL
, const char *name
= NULL
);
85 void slotSpeed( int );
86 void slotRefreshTimeout( int num
);