diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-15 18:53:13 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-15 18:53:13 (GMT) |
commit | 79d610f3c038acb65dfb2f5ccf59cd0b3ffeacf1 (patch) | |
tree | 1bbf520a77d334e3795a25d65a9b78ac3df588b9 /Swift/QtUI/QtUtilities.h | |
parent | 59d973448045888d2ffa8e5cd949357d9c93ead3 (diff) | |
download | swift-contrib-79d610f3c038acb65dfb2f5ccf59cd0b3ffeacf1.zip swift-contrib-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.h | 14 |
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); +}; |