Classified ads
tclUtil.h
Go to the documentation of this file.
1 /* -*-C++-*- -*-coding: utf-8-unix;-*-
2  Classified Ads is Copyright (c) Antti Järvinen 2013-2016.
3 
4  This file is part of Classified Ads.
5 
6  Classified Ads is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Lesser General Public
8  License as published by the Free Software Foundation; either
9  version 2.1 of the License, or (at your option) any later version.
10 
11  Classified Ads is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Lesser General Public License for more details.
15 
16  You should have received a copy of the GNU Lesser General Public
17  License along with Classified Ads; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20 
21 
22 #ifndef TCLUTIL_H
23 #define TCLUTIL_H
24 #include <QObject>
25 #include "../mcontroller.h"
26 
33 class TclUtil : public QObject {
34  Q_OBJECT
35 public:
36  TclUtil();
37  ~TclUtil() ;
38 
39 signals:
41  const QString& aExplanation) ;
42 
43 public: // methods
63  static QString constructCAGroup ( QString aAboutComboBoxText ,
64  QString aConcernsComboBoxText ,
65  QString aInComboBoxText ,
66  const Model& aModel ) ;
67 private: // variables
68 
69 } ;
70 #endif
static QString constructCAGroup(QString aAboutComboBoxText, QString aConcernsComboBoxText, QString aInComboBoxText, const Model &aModel)
Misc utilities needed in TCL-related code.
Definition: tclUtil.h:33
CAErrorSituation
Definition: mcontroller.h:57
void error(MController::CAErrorSituation aError, const QString &aExplanation)
M of the MVC pattern. Handles permanent storage.
Definition: model.h:50