Back to index

texmacs  1.0.7.15
qt_window_widget.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : qt_window_widget.hpp
00004 * DESCRIPTION: QT window widget.
00005 * COPYRIGHT  : (C) 2008  Massimiliano Gubinelli
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef QT_WINDOW_WIDGET_HPP
00013 #define QT_WINDOW_WIDGET_HPP
00014 
00015 #include "qt_widget.hpp"
00016 
00017 class QWidget;
00018 
00019 
00023 class qt_window_widget_rep: public widget_rep {
00024 public:
00025   QWidget *wid;
00026   command quit;    // Ignored
00027   
00028   qt_window_widget_rep (QWidget* _wid, command q);
00029   ~qt_window_widget_rep ();
00030 
00031   virtual void send (slot s, blackbox val);
00032   virtual blackbox query (slot s, int type_id);
00033   virtual widget read (slot s, blackbox index);
00034   virtual void write (slot s, blackbox index, widget w);
00035   virtual void notify (slot s, blackbox new_val);
00036 };
00037 
00038 #endif // defined QT_WINDOW_WIDGET_HPP