summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/xsavers/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'tdescreensaver/xsavers/helpers.h')
-rw-r--r--tdescreensaver/xsavers/helpers.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tdescreensaver/xsavers/helpers.h b/tdescreensaver/xsavers/helpers.h
new file mode 100644
index 00000000..e4125709
--- /dev/null
+++ b/tdescreensaver/xsavers/helpers.h
@@ -0,0 +1,23 @@
+#ifndef __HELPERS__H__
+#define __HELPERS__H__
+
+#include <tqwidget.h>
+#include <kconfig.h>
+
+void min_width(TQWidget *);
+void fixed_width(TQWidget *);
+void min_height(TQWidget *);
+void fixed_height(TQWidget *);
+void min_size(TQWidget *);
+void fixed_size(TQWidget *);
+
+/*
+ * Use this to get a TDEConfig object that uses a reasonable config filename.
+ * TDEGlobal::config() will use the klockrc config file.
+ *
+ * Caller must delete the object when finished.
+ */
+TDEConfig *klock_config();
+
+#endif
+