Ananas Library  0.9.5
Public Member Functions | List of all members
aWindowsList Class Reference

#include <awindowslist.h>

Inheritance diagram for aWindowsList:

Public Member Functions

 aWindowsList ()
 
virtual ~aWindowsList ()
 
void insert (int id, QWidget *window, Q_ULLONG ido=0)
 
void remove (int id, Q_ULLONG ido=0)
 
void remove (QWidget *window)
 
bool find (int id, Q_ULLONG ido=0)
 
bool find (QWidget *window)
 
QWidget * get (int id, Q_ULLONG ido=0)
 

Detailed Description

Contains list of opened window.

Constructor & Destructor Documentation

◆ aWindowsList()

aWindowsList::aWindowsList ( )

Constructor

◆ ~aWindowsList()

aWindowsList::~aWindowsList ( )
virtual

Destructor

Member Function Documentation

◆ find() [1/2]

bool aWindowsList::find ( int  id,
Q_ULLONG  ido = 0 
)

Find window with id and ido.

Parameters
id- object class id
ido- object id (default 0)
Returns
true, if window found

Referenced by aForm::init(), and aEngine::openForm().

◆ find() [2/2]

bool aWindowsList::find ( QWidget *  window)

Find object in list with link

Parameters
window- link to form
Returns
true, if window found

◆ get()

QWidget * aWindowsList::get ( int  id,
Q_ULLONG  ido = 0 
)

Get window with id and ido.

Parameters
id- object class id
ido- object id (default 0)
Returns
link to window, or 0 if window not found

Referenced by aForm::New(), aEngine::openForm(), and aForm::Select().

◆ insert()

void aWindowsList::insert ( int  id,
QWidget *  window,
Q_ULLONG  ido = 0 
)

Insert window into list.

Parameters
id- object class id
window- link to form
ido- object id (default 0)

Referenced by aForm::init(), aForm::New(), and aForm::Select().

◆ remove() [1/2]

void aWindowsList::remove ( int  id,
Q_ULLONG  ido = 0 
)

Remove window from list.

Parameters
id- object class id
ido- object id (default 0)

Referenced by aForm::Close(), aForm::init(), aForm::New(), and aForm::Select().

◆ remove() [2/2]

void aWindowsList::remove ( QWidget *  window)

Remove window from list.

Parameters
window- link to form

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