#include <qtreewidget.h>#include <qstring.h>#include <vector>#include <assert.h>#include <qmenu.h>#include "qsong.h"#include "iterator.h"

Classes | |
| class | treeWidgetIterator< T > |
| struct | AssociatedAction< T > |
Typedefs | |
| typedef treeWidgetIterator < QTreeWidgetItem > | stdTreeWidgetIterator |
| typedef unsigned8 | wunsigned8 |
| typedef unsigned4 | wunsigned4 |
| typedef unsigned2 | wunsigned2 |
| typedef unsigned1 | wunsigned1 |
Functions | |
| template<class T > | |
| T * | findItem (QTreeWidget *lst, QString text, int pos) |
| template<class T > | |
| T * | findOneItem (QTreeWidget *lst, QString text, int pos) |
| QTreeWidgetItem * | findStdItem (QTreeWidget *lst, QString text, int pos) |
| QTreeWidgetItem * | findOneStdItem (QTreeWidget *lst, QString text, int pos) |
| void | selectAll (QTreeWidget *lst, bool yes) |
| template<class T > | |
| T * | lastItem (QTreeWidget *lst) |
| template<class T > | |
| T * | firstItem (QTreeWidget *lst) |
| template<class T > | |
| T * | nextSibling (T *lst) |
| QColor | mixColor (QColor a, float4 d, QColor b) |
| void | setBackgroundColor (QWidget *widget, QColor color) |
| QColor | backgroundColor (QWidget *widget) |
| float4 | qtof4 (QString str) |
| float8 | qtof8 (QString str) |
| signed4 | qtos4 (QString str) |
| typedef treeWidgetIterator<QTreeWidgetItem> stdTreeWidgetIterator |
| typedef unsigned1 wunsigned1 |
| typedef unsigned2 wunsigned2 |
| typedef unsigned4 wunsigned4 |
| typedef unsigned8 wunsigned8 |
Because some moron at Trolltech has no idea how to parse a type we can no longer use the unsigned1, unsigned2, unsigned4 and unsigned8 types directly. Instead we need to resort to a silly workaround in which we make sure that the bloody MOC compiler does not notice that we actually pass our favorite type along. Grmbl. I hate fools that think that they can program and just go with 'let's just fix it like this'. This said. We will be using wunsigned1 to 8 as typedefs for the other ones
| QColor backgroundColor | ( | QWidget * | widget | ) |
References assert().
Referenced by Config::open_ui().
| T* findItem | ( | QTreeWidget * | lst, | |
| QString | text, | |||
| int | pos | |||
| ) | [inline] |
| T* findOneItem | ( | QTreeWidget * | lst, | |
| QString | text, | |||
| int | pos | |||
| ) | [inline] |
| QTreeWidgetItem* findOneStdItem | ( | QTreeWidget * | lst, | |
| QString | text, | |||
| int | pos | |||
| ) | [inline] |
Referenced by SongSelectorLogic::SongSelectorLogic().
| QTreeWidgetItem* findStdItem | ( | QTreeWidget * | lst, | |
| QString | text, | |||
| int | pos | |||
| ) | [inline] |
Referenced by SongSelectorLogic::addTag().
| QColor mixColor | ( | QColor | a, | |
| float4 | d, | |||
| QColor | b | |||
| ) |
Referenced by QSong::colorOfAuthorCol(), QSong::colorOfdColorCol(), QSong::colorOfPlaycount(), and QSong::colorOfTempoCol().
| float4 qtof4 | ( | QString | str | ) |
Referenced by fetch_config_from(), and Config::open_ui().
| float8 qtof8 | ( | QString | str | ) |
| signed4 qtos4 | ( | QString | str | ) |
Referenced by SongSelectorLogic::albumItemChanged(), and Config::open_ui().
| void selectAll | ( | QTreeWidget * | lst, | |
| bool | yes | |||
| ) |
References assert().
Referenced by SongSelectorLogic::selectionAddQueue().
| void setBackgroundColor | ( | QWidget * | widget, | |
| QColor | color | |||
| ) |
Referenced by Config::open_ui(), and setTempoColors().
1.6.2