Classified ads
status.h
Go to the documentation of this file.
1 /* -*-C++-*- -*-coding: utf-8-unix;-*-
2  Classified Ads is Copyright (c) Antti Järvinen 2013.
3 
4  This file is part of Classified Ads.
5 
6  Classified Ads is free software: you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation, either version 3 of the License, or
9  (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
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with Classified Ads. If not, see <http://www.gnu.org/licenses/>.
18 */
19 
20 #ifndef CA_STATUS_DIALOG_H
21 #define CA_STATUS_DIALOG_H
22 
23 #include <QDialog>
24 #include "../mcontroller.h"
25 #include "../ui_statusDialog.h"
26 
28 
33 class StatusDialog : public QDialog
34 {
35 Q_OBJECT
36 
37 public:
41  StatusDialog(QWidget *aParent,
42  MController& aController );
44  ~StatusDialog();
45 
46 private slots:
47  void addButtonClicked() ;
48 signals:
50  const QString& aExplanation) ;
51 private:
52  Ui_statusDialog ui ;
55 };
56 
57 #endif
Model-class for displaying open network connections This is the underlying data-container of the "net...
Definition: connectionlistingmodel.h:34
ConnectionListingModel * iListingModel
Definition: status.h:54
CAErrorSituation
Definition: mcontroller.h:48
void error(MController::CAErrorSituation aError, const QString &aExplanation)
MController & iController
Definition: status.h:53
void addButtonClicked()
Pure-virtual interface class for controller. This is spammed across parties needing access to applica...
Definition: mcontroller.h:39
class for displaying connections status
Definition: status.h:33
Ui_statusDialog ui
Definition: status.h:52
StatusDialog(QWidget *aParent, MController &aController)