KWidgetsAddons

ktoolbarspaceraction.h
1 /*
2  This file is part of the KDE libraries
3  SPDX-FileCopyrightText: 2006 Hamish Rodda <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.0-only
6 */
7 
8 #ifndef KTOOLBARSPACERACTION_H
9 #define KTOOLBARSPACERACTION_H
10 
11 #include <QWidgetAction>
12 
13 #include <kwidgetsaddons_export.h>
14 
26 class KWIDGETSADDONS_EXPORT KToolBarSpacerAction : public QWidgetAction
27 {
28  Q_OBJECT
29 
30 public:
36  explicit KToolBarSpacerAction(QObject *parent);
37 
38  ~KToolBarSpacerAction() override;
39 
43  QWidget *createWidget(QWidget *parent) override;
44 
45 private:
46  class Private;
47  Private *const d;
48 };
49 
50 #endif
An extension to QAction which allows for adding a spacer item into a QToolBar / KToolBar.
virtual QWidget * createWidget(QWidget *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Sep 23 2020 22:44:31 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.