Back to index

Public Slots | Public Member Functions | Private Attributes
QTMLazyMenu Class Reference

#include <QTMMenuHelper.hpp>

Collaboration diagram for QTMLazyMenu:
Collaboration graph

List of all members.

Public Slots

void force ()

Public Member Functions

 QTMLazyMenu (promise< widget > _pm)

Private Attributes

promise< widgetpm

Detailed Description

Definition at line 70 of file QTMMenuHelper.hpp.

Constructor & Destructor Documentation

QTMLazyMenu::QTMLazyMenu ( promise< widget _pm) [inline]

Definition at line 75 of file QTMMenuHelper.hpp.

    pm (_pm) {
      QObject::connect (this, SIGNAL (aboutToShow ()), this, SLOT (force ()));

Here is the call graph for this function:

Member Function Documentation

void QTMLazyMenu::force ( ) [slot]

Definition at line 52 of file QTMMenuHelper.cpp.

  if (DEBUG_QT)  
    cout << "Force lazy menu" << LF;
  widget w= pm ();
  QMenu *menu2 = concrete(w)->get_qmenu();
  rerootActions (this, menu2);

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Definition at line 72 of file QTMMenuHelper.hpp.

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