Back to index

Public Member Functions | Protected Member Functions
QTMWindow Class Reference

#include <QTMWindow.hpp>

List of all members.

Public Member Functions

 QTMWindow (qt_tm_widget_rep *_wid)
qt_tm_widget_reptm_widget ()

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)

Detailed Description

Definition at line 20 of file QTMWindow.hpp.

Constructor & Destructor Documentation

QTMWindow::QTMWindow ( qt_tm_widget_rep _wid) [inline]

Definition at line 24 of file QTMWindow.hpp.

                                          : QMainWindow () {
    setObjectName("A QTMWindow");
    setProperty ("texmacs_tm_widget", QVariant::fromValue ((void*) _wid));

Member Function Documentation

void QTMWindow::closeEvent ( QCloseEvent *  event) [protected, virtual]

Definition at line 21 of file QTMWindow.cpp.

  if (DEBUG_QT)   cout << "CLOSE WINDOW" << LF;
  qt_tm_widget_rep *wid = tm_widget ();
  if (wid) {
    wid -> quit ();
    needs_update ();
    event -> ignore ();
 // QMainWindow::closeEvent (event);

Here is the call graph for this function:

Definition at line 30 of file QTMWindow.hpp.

    QVariant v= property("texmacs_tm_widget");
    return (qt_tm_widget_rep *)
      (v.canConvert<void*> ()? v.value<void*> (): NULL);

Here is the caller graph for this function:

The documentation for this class was generated from the following files: