Advertisement
Guest User

Untitled

a guest
May 19th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.16 KB | None | 0 0
  1. #ifndef DROPSHADOW_H
  2. #define DROPSHADOW_H
  3.  
  4. #include <QDialog>
  5.  
  6. #include "pluginapi.h"
  7. #include "scplugin.h"
  8.  
  9. namespace Ui {
  10.     class DropShadow;
  11. }
  12.  
  13. class PLUGIN_API DropShadow : public ScActionPlugin
  14. {
  15.         Q_OBJECT
  16.  
  17.         public:
  18.                 DropShadow(QWidget *parent = 0);
  19.                 ~DropShadow();
  20.                 /*! \brief run the plug
  21.                 \param target none usage here */
  22.                 virtual bool run(ScribusDoc* doc, QString target = QString::null);
  23.                 virtual const QString fullTrName() const;
  24.                 virtual const AboutData* getAboutData() const;
  25.                 virtual void deleteAboutData(const AboutData* about) const;
  26.                 virtual void languageChange();
  27.                 virtual void addToMainWindowMenu(ScribusMainWindow *) {};
  28.          /*protected:
  29.                 void changeEvent(QEvent *e);*/
  30.  
  31.          private:
  32.                    Ui::DropShadow *ui;
  33.  
  34. };
  35.  
  36. extern "C" PLUGIN_API int dropshadow_getPluginAPIVersion();
  37. extern "C" PLUGIN_API ScPlugin* dropshadow_getPlugin();
  38. extern "C" PLUGIN_API void dropshadow_freePlugin(ScPlugin* plugin);
  39.  
  40. #endif // DROPSHADOW_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement