summaryrefslogtreecommitdiffstats
path: root/kscreensaver/xsavers/helpers.h
blob: 948c86ef036a7f9f9d175debe1f7a8408359bb25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __HELPERS__H__
#define __HELPERS__H__

#include <qwidget.h>
#include <kconfig.h>

void min_width(QWidget *);
void fixed_width(QWidget *);
void min_height(QWidget *);
void fixed_height(QWidget *);
void min_size(QWidget *);
void fixed_size(QWidget *);

/*
 * Use this to get a KConfig object that uses a reasonable config filename.
 * KGlobal::config() will use the klockrc config file.
 *
 * Caller must delete the object when finished.
 */
KConfig *klock_config();

#endif