#include <omgtipfactory.h>
Inheritance diagram for OmgTipFactory:
Definition at line 35 of file omgtipfactory.h.
Public Member Functions | |
OmgTipFactory () | |
~OmgTipFactory () | |
OmgTip | getTip () |
OmgTip | getTip (int thePosition) |
OmgTip | getGenericTip () |
OmgTip | getGuiTip () |
Private Member Functions | |
void | addGenericTip (OmgTip) |
void | addGuiTip (OmgTip) |
int | randomNumber (int theMax) |
Private Attributes | |
QList< OmgTip > | mGenericTips |
QList< OmgTip > | mGuiTips |
QList< OmgTip > | mAllTips |
|
Constructor Definition at line 25 of file omgtipfactory.cpp. References addGenericTip(), addGuiTip(), OmgTip::setContent(), and OmgTip::setTitle(). |
Here is the call graph for this function:
|
Destructor Definition at line 124 of file omgtipfactory.cpp. |
|
Definition at line 135 of file omgtipfactory.cpp. References mAllTips, and mGenericTips. Referenced by OmgTipFactory(). |
|
Definition at line 129 of file omgtipfactory.cpp. References mAllTips, and mGuiTips. Referenced by OmgTipFactory(). |
|
Get a random generic tip
Definition at line 153 of file omgtipfactory.cpp. References mGenericTips. Referenced by OmgTipFactoryTest::getGenericTip(). |
|
Get a random gui-centric tip
Definition at line 161 of file omgtipfactory.cpp. References mGuiTips. Referenced by OmgTipFactoryTest::getGuiTip(). |
|
Get a specific tip (generic or gui-centric).
Definition at line 148 of file omgtipfactory.cpp. References mAllTips. |
|
Get a random tip (generic or gui-centric)
Definition at line 140 of file omgtipfactory.cpp. References mAllTips. Referenced by OmgTipFactoryTest::getTip(), OmgTipFactoryTest::getTipAtPosition(), and OmgMainWindow::showHelp(). |
|
Definition at line 169 of file omgtipfactory.cpp. |
|
Definition at line 71 of file omgtipfactory.h. Referenced by addGenericTip(), addGuiTip(), and getTip(). |
|
Definition at line 69 of file omgtipfactory.h. Referenced by addGenericTip(), and getGenericTip(). |
|
Definition at line 70 of file omgtipfactory.h. Referenced by addGuiTip(), and getGuiTip(). |