KNewStuff

knewstuffaction.h
1 /*
2  This file is part of KNewStuff2.
3  SPDX-FileCopyrightText: 2002 Cornelius Schumacher <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7 #ifndef KNEWSTUFF3_KNEWSTUFFACTION_H
8 #define KNEWSTUFF3_KNEWSTUFFACTION_H
9 
10 #include "knewstuff_export.h"
11 #include <QString>
12 
13 class QObject;
14 class QAction;
15 class KActionCollection;
16 
20 namespace KNS3
21 {
22 #if KNEWSTUFF_ENABLE_DEPRECATED_SINCE(5, 78)
23 
38 KNEWSTUFF_DEPRECATED_VERSION(5, 78, "Create the QAction instance manually")
39 KNEWSTUFF_EXPORT QAction *standardAction(const QString &what,
40  const QObject *receiver,
41  const char *slot,
42  KActionCollection *parent,
43  const char *name = nullptr);
44 #endif
45 
46 #if KNEWSTUFF_ENABLE_DEPRECATED_SINCE(5, 78)
47 
62 KNEWSTUFF_DEPRECATED_VERSION(5, 78, "Create the QAction instance manually")
63 KNEWSTUFF_EXPORT QAction *standardActionUpload(const QString &what,
64  const QObject *receiver,
65  const char *slot,
66  KActionCollection *parent,
67  const char *name = nullptr);
68 #endif
69 }
70 
71 #endif // KNEWSTUFFACTION_H
The namespace for the KNewStuff classes.
Definition: button.cpp:19
KNEWSTUFF_EXPORT QAction * standardActionUpload(const QString &what, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name=nullptr)
Standard action for Uploading files with Hot New Stuff.
KNEWSTUFF_EXPORT QAction * standardAction(const QString &what, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name=nullptr)
Standard action for the Hot New Stuff Download.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 22:43:50 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.