1// -*- Mode: c++-mode; c-basic-offset: 2; indent-tabs-mode: t; tab-width: 2; -*-
2//
3// Copyright (C) 2003 Grzegorz Jaskiewicz <gj at pointblue.com.pl>
4// Copyright (C) 2002-2003 Zack Rusin <zack@kde.org>
5//
6// gaduaway.h
7//
8// This program is free software; you can redistribute it and/or
9// modify it under the terms of the GNU General Public License
10// as published by the Free Software Foundation; either version 2
11// of the License, or (at your option) any later version.
12//
13// This program is distributed in the hope that it will be useful,
14// but WITHOUT ANY WARRANTY; without even the implied warranty of
15// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16// GNU General Public License for more details.
17//
18// You should have received a copy of the GNU General Public License
19// along with this program; if not, write to the Free Software
20// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21// 02110-1301, USA.
22
23#ifndef GADUAWAY_H
24#define GADUAWAY_H
25
26#include <kdialog.h>
27#include <qstring.h>
28
29class GaduAccount;
30namespace Ui { class GaduAwayUI; }
31
32class GaduAway : public KDialog
33{
34 Q_OBJECT
35
36public:
37 explicit GaduAway( GaduAccount*, QWidget* parent = 0 );
38 ~GaduAway();
39 int status() const;
40 QString awayText() const;
41
42protected slots:
43 void slotApply();
44
45private:
46 GaduAccount* account_;
47 Ui::GaduAwayUI* ui_;
48};
49
50#endif
51