From: Ivailo Monev Date: Tue, 13 Sep 2016 00:53:08 +0000 (+0000) Subject: generic: misc cleanups X-Git-Tag: 4.22.0~838 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b482c93f87ecc34ee7099cb37134a17d457d64b3;p=kde%2Fkde-extraapps.git generic: misc cleanups Signed-off-by: Ivailo Monev --- diff --git a/okular/part.h b/okular/part.h index 3c903350..c8a7b3e6 100644 --- a/okular/part.h +++ b/okular/part.h @@ -135,8 +135,8 @@ class OKULAR_PART_EXPORT Part : public KParts::ReadWritePart, public Okular::Doc bool openNewFilesInTabs() const; public slots: // dbus - Q_SCRIPTABLE Q_NOREPLY void goToPage(uint page); - Q_SCRIPTABLE Q_NOREPLY void openDocument( const QString &doc ); + Q_SCRIPTABLE void goToPage(uint page); + Q_SCRIPTABLE void openDocument( const QString &doc ); Q_SCRIPTABLE uint pages(); Q_SCRIPTABLE uint currentPage(); Q_SCRIPTABLE QString currentDocument(); @@ -149,8 +149,8 @@ class OKULAR_PART_EXPORT Part : public KParts::ReadWritePart, public Okular::Doc Q_SCRIPTABLE void slotGotoFirst(); Q_SCRIPTABLE void slotGotoLast(); Q_SCRIPTABLE void slotTogglePresentation(); - Q_SCRIPTABLE Q_NOREPLY void reload(); - Q_SCRIPTABLE Q_NOREPLY void enableStartWithPrint(); + Q_SCRIPTABLE void reload(); + Q_SCRIPTABLE void enableStartWithPrint(); signals: void enablePrintAction(bool enable); diff --git a/okular/shell/shell.h b/okular/shell/shell.h index 0a037381..b120ae80 100644 --- a/okular/shell/shell.h +++ b/okular/shell/shell.h @@ -65,7 +65,7 @@ public: public slots: void slotQuit(); - Q_SCRIPTABLE Q_NOREPLY void tryRaise(); + Q_SCRIPTABLE void tryRaise(); Q_SCRIPTABLE bool openDocument( const QString& url, const QString &serializedOptions = QString() ); Q_SCRIPTABLE bool canOpenDocs( int numDocs, int desktop ); diff --git a/print-manager/configure-printer/ConfigurePrinterInterface.h b/print-manager/configure-printer/ConfigurePrinterInterface.h index cc3e8c68..1e9f9b02 100644 --- a/print-manager/configure-printer/ConfigurePrinterInterface.h +++ b/print-manager/configure-printer/ConfigurePrinterInterface.h @@ -20,6 +20,8 @@ #ifndef CONFIGURE_PRINTER_INTERFACE_H #define CONFIGURE_PRINTER_INTERFACE_H +#include +#include #include class QTimer;