okular
guiinterface.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2007 by Pino Toscano <pino@kde.org> * 00003 * * 00004 * This program is free software; you can redistribute it and/or modify * 00005 * it under the terms of the GNU General Public License as published by * 00006 * the Free Software Foundation; either version 2 of the License, or * 00007 * (at your option) any later version. * 00008 ***************************************************************************/ 00009 00010 #ifndef _OKULAR_GUIINTERFACE_H_ 00011 #define _OKULAR_GUIINTERFACE_H_ 00012 00013 #include <okular/core/okular_export.h> 00014 00015 #include <QtCore/QObject> 00016 00017 #include <kxmlguiclient.h> 00018 00019 namespace Okular { 00020 00039 class OKULAR_EXPORT GuiInterface : protected KXMLGUIClient 00040 { 00041 public: 00045 virtual ~GuiInterface() {} 00046 00050 KXMLGUIClient* guiClient() { return this; } 00051 }; 00052 00053 } 00054 00055 Q_DECLARE_INTERFACE( Okular::GuiInterface, "org.kde.okular.GuiInterface/0.1" ) 00056 00057 #endif
KDE 4.0 API Reference