Back to index

Public Slots | Public Member Functions | Protected Member Functions | Private Attributes
QTMWidgetAction Class Reference

#include <QTMMenuHelper.hpp>

Collaboration diagram for QTMWidgetAction:
Collaboration graph

List of all members.

Public Slots

virtual void doRefresh ()

Public Member Functions

 QTMWidgetAction (widget _wid, QObject *parent=NULL)
 ~QTMWidgetAction ()

Protected Member Functions

QWidget * createWidget (QWidget *parent)

Private Attributes

widget wid

Detailed Description

Definition at line 144 of file QTMMenuHelper.hpp.

Constructor & Destructor Documentation

QTMWidgetAction::QTMWidgetAction ( widget  _wid,
QObject *  parent = NULL 

Definition at line 148 of file qt_ui_element.cpp.

: QWidgetAction (parent), wid (_wid) { 
  QObject::connect (the_gui->gui_helper, SIGNAL(refresh()), this, SLOT(doRefresh()));

Here is the call graph for this function:

Definition at line 153 of file qt_ui_element.cpp.


Member Function Documentation

QWidget * QTMWidgetAction::createWidget ( QWidget *  parent) [protected]

Definition at line 169 of file qt_ui_element.cpp.

  QWidget *qw = concrete(wid)->as_qwidget();
  return qw;

Here is the call graph for this function:

void QTMWidgetAction::doRefresh ( ) [virtual, slot]

Definition at line 158 of file qt_ui_element.cpp.

#if 0
  if (N(str)) {
    string t= tm_var_encode (str);
    if (t == "Help") t= "Help ";
    setText (to_qstring (t));

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Definition at line 147 of file QTMMenuHelper.hpp.

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