X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Faction.h;h=62bc8a37178ee14106b69b69b00dc0af26c6c463;hp=fb0a7e18887468f356612f7aa5fea4a5f4bb7b4a;hb=ab7ef4d24f62b5848b628482b7762ebfc0b53e1a;hpb=c55df5f2d765b100b7a1ead5a72202f969aa9581 diff --git a/src/uisupport/action.h b/src/uisupport/action.h index fb0a7e18..62bc8a37 100644 --- a/src/uisupport/action.h +++ b/src/uisupport/action.h @@ -20,10 +20,7 @@ * Parts of this API have been shamelessly stolen from KDE's kaction.h * ***************************************************************************/ -#ifndef ACTION_H_ -#define ACTION_H_ - -#ifndef HAVE_KDE4 +#pragma once #include #include @@ -70,24 +67,3 @@ private slots: Q_DECLARE_OPERATORS_FOR_FLAGS(Action::ShortcutTypes) - -#else /* HAVE_KDE4 */ -#include - -class Action : public KAction -{ - Q_OBJECT - -public: - explicit Action(QObject *parent); - Action(const QString &text, QObject *parent, const QObject *receiver = 0, const char *slot = 0, const QKeySequence &shortcut = 0); - Action(const QIcon &icon, const QString &text, QObject *parent, const QObject *receiver = 0, const char *slot = 0, const QKeySequence &shortcut = 0); - -private: - void init(); -}; - - -#endif - -#endif