summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-15 18:53:13 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-15 18:53:13 (GMT)
commit79d610f3c038acb65dfb2f5ccf59cd0b3ffeacf1 (patch)
tree1bbf520a77d334e3795a25d65a9b78ac3df588b9 /Swift/QtUI/QtUtilities.h
parent59d973448045888d2ffa8e5cd949357d9c93ead3 (diff)
downloadswift-79d610f3c038acb65dfb2f5ccf59cd0b3ffeacf1.zip
swift-79d610f3c038acb65dfb2f5ccf59cd0b3ffeacf1.tar.bz2
Set a special X11 window resource name on the main dialog.
This allows users to tweak windowmanagers like FVWM based on the type of dialog of Swift.
Diffstat (limited to 'Swift/QtUI/QtUtilities.h')
-rw-r--r--Swift/QtUI/QtUtilities.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Swift/QtUI/QtUtilities.h b/Swift/QtUI/QtUtilities.h
new file mode 100644
index 0000000..6e64d6e
--- /dev/null
+++ b/Swift/QtUI/QtUtilities.h
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2010 Remko Tronçon
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+
+#pragma once
+
+class QWidget;
+class QString;
+
+namespace QtUtilities {
+ void setX11Resource(QWidget* widget, const QString& c);
+};