You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.3 KiB
42 lines
1.3 KiB
/*************************************************************************** |
|
* Copyright (C) 2007 by Pino Toscano <pino@kde.org> * |
|
* * |
|
* This program is free software; you can redistribute it and/or modify * |
|
* it under the terms of the GNU General Public License as published by * |
|
* the Free Software Foundation; either version 2 of the License, or * |
|
* (at your option) any later version. * |
|
***************************************************************************/ |
|
|
|
#ifndef _OKULAR_GUIINTERFACE_H_ |
|
#define _OKULAR_GUIINTERFACE_H_ |
|
|
|
#include "okular_export.h" |
|
|
|
class QToolBox; |
|
class KActionCollection; |
|
|
|
namespace Okular { |
|
|
|
/** |
|
* @short Abstract interface for user interface control |
|
* |
|
* This interface defines an way to interact with the Okular user interface, |
|
* eg adding actions in the menus. |
|
*/ |
|
class OKULAR_EXPORT GuiInterface |
|
{ |
|
public: |
|
virtual ~GuiInterface() {} |
|
|
|
virtual QString xmlFile() const = 0; |
|
|
|
virtual void setupGui( KActionCollection *, QToolBox * ) = 0; |
|
|
|
virtual void freeGui() = 0; |
|
}; |
|
|
|
} |
|
|
|
Q_DECLARE_INTERFACE( Okular::GuiInterface, "org.kde.okular.GuiInterface/0.1" ) |
|
|
|
#endif
|
|
|