File indexing completed on 2024-05-05 04:41:04

0001 /*
0002     SPDX-FileCopyrightText: 2010 Aleix Pol Gonzalez <aleixpol@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-only
0005 */
0006 
0007 #ifndef UIHELPER_H
0008 #define UIHELPER_H
0009 
0010 #include <QObject>
0011 
0012 class QString;
0013 class QAction;
0014 class UiHelper : public QObject
0015 {
0016     Q_OBJECT
0017     public:
0018         explicit UiHelper(QObject* parent);
0019         
0020     public Q_SLOTS:
0021         QAction* retrieveMenuAction(const QString& name);
0022         void showMenu(const QString& name);
0023         void setArea(const QString& name);
0024         void raiseToolView(const QString& id);
0025 };
0026 
0027 #endif // UIHELPER_H
0028