summaryrefslogtreecommitdiffstats
path: root/kscreensaver/xsavers/helpers.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit8b2aa1b5301ab60368a03e36df4ff5216726e87d (patch)
tree36163d4ee667c23b5cf232df2f3004cd0a76202a /kscreensaver/xsavers/helpers.h
downloadtdeartwork-8b2aa1b5301ab60368a03e36df4ff5216726e87d.tar.gz
tdeartwork-8b2aa1b5301ab60368a03e36df4ff5216726e87d.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/xsavers/helpers.h')
-rw-r--r--kscreensaver/xsavers/helpers.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/kscreensaver/xsavers/helpers.h b/kscreensaver/xsavers/helpers.h
new file mode 100644
index 00000000..948c86ef
--- /dev/null
+++ b/kscreensaver/xsavers/helpers.h
@@ -0,0 +1,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
+