Classified ads
|
Misc utilities needed in TCL-related code. More...
#include <tclUtil.h>
Signals | |
void | error (MController::CAErrorSituation aError, const QString &aExplanation) |
Public Member Functions | |
TclUtil () | |
~TclUtil () | |
Static Public Member Functions | |
static QString | constructCAGroup (QString aAboutComboBoxText, QString aConcernsComboBoxText, QString aInComboBoxText, const Model &aModel) |
Misc utilities needed in TCL-related code.
Functionality not really TCL-dependent but called from TCL-wrapper.
TclUtil::TclUtil | ( | ) |
TclUtil::~TclUtil | ( | ) |
|
static |
Method for constructing the group string of classified ad group string. String is of form about.concerns.where. See method in FrontWidget::selectedClassification that has same purpose but has different input
aAboutComboBoxText | "about" part of group string. This is checked against localized strings in datamodel and user types "Veneet" (boats in finnish) and happens to have finnish locale, then datamodel will catch the situation and return "Boats" - idea is that any boat ad will go to same group regardless of locale. |
aConcernsComboBoxText | "concerns" e.g. the verb part of group string. |
aInComboBoxText | "where" part of the group string. |
aModel | datamodel reference |
|
signal |