diff options
author | Andreas Holzammer <andreas.holzammer.qnx@kdab.com> | 2012-04-19 15:53:42 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-19 16:20:02 +0200 |
commit | 4acb8bfc59ae9fec77e25eeeaaece8a80f87dc50 (patch) | |
tree | d745a901e88630120c97204433e061eb87f0e43b /examples/widgets/charactermap/mainwindow.h | |
parent | d48f3fc1e74f4d489238f511df56a134b53e6a0b (diff) |
Compile fix if QT_NO_CLIPBOARD defined
Change-Id: I818122f2b2d2119248ad2e84b138aab8ab621a41
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'examples/widgets/charactermap/mainwindow.h')
-rw-r--r-- | examples/widgets/charactermap/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/widgets/charactermap/mainwindow.h b/examples/widgets/charactermap/mainwindow.h index 478df1dc06..37109827ab 100644 --- a/examples/widgets/charactermap/mainwindow.h +++ b/examples/widgets/charactermap/mainwindow.h @@ -66,11 +66,15 @@ public slots: void findStyles(const QFont &font); void findSizes(const QFont &font); void insertCharacter(const QString &character); +#ifndef QT_NO_CLIPBOARD void updateClipboard(); +#endif private: CharacterWidget *characterWidget; +#ifndef QT_NO_CLIPBOARD QClipboard *clipboard; +#endif QComboBox *styleCombo; QComboBox *sizeCombo; QFontComboBox *fontCombo; |