/usr/include/gwenhywfar4/gwen-gui-qt4/qt4_gui.hpp is in libgwenhywfar60-dev 4.10.0beta-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | /***************************************************************************
begin : Mon Feb 15 2010
copyright : (C) 2010 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* Please see toplevel file COPYING for license details *
***************************************************************************/
#ifndef QT4_GUI_H
#define QT4_GUI_H
#if defined __GNUC__ && (! defined (__sun)) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
# ifdef BUILDING_QT4_GUI
# define QT4GUI_API __attribute__ ((visibility("default")))
# else
# define QT4GUI_API
# endif
#else
# define QT4GUI_API
#endif
class QT4_Gui;
class QWidget;
#include <gwen-gui-cpp/cppgui.hpp>
#include <QString>
#include <string>
/**
* This is an implementation of GWEN_GUI for QT4.
*
* It implements the GWEN_DIALOG framework.
*
* @todo: @ref GWEN_Gui_Print() needs to be implemented
*/
class QT4GUI_API QT4_Gui: public CppGui {
private:
QWidget *_parentWidget;
std::list<QWidget*> _pushedParents;
public:
QT4_Gui();
virtual ~QT4_Gui();
QWidget *getParentWidget() const { return _parentWidget;};
void pushParentWidget(QWidget *w);
void popParentWidget();
static QString extractHtml(const char *text);
protected:
/** @name User Interaction
*
*/
/*@{*/
virtual int execDialog(GWEN_DIALOG *dlg, uint32_t guiid);
virtual int openDialog(GWEN_DIALOG *dlg, uint32_t guiid);
virtual int closeDialog(GWEN_DIALOG *dlg);
virtual int runDialog(GWEN_DIALOG *dlg, int untilEnd);
virtual int getFileName(const char *caption,
GWEN_GUI_FILENAME_TYPE fnt,
uint32_t flags,
const char *patterns,
GWEN_BUFFER *pathBuffer,
uint32_t guiid);
};
#endif
|