~neon/kdenetwork/trunk

« back to all changes in this revision

Viewing changes to kopete/protocols/gadu/gadueditcontact.h

  • Committer: uwolfer
  • Date: 2013-06-08 10:12:41 UTC
  • Revision ID: svn-v4:283d02a7-25f6-0310-bc7c-ecb5cbfe19da:trunk/KDE/kdenetwork:1357331
kdenetwork has moved to Git

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
// gadueditcontact.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 GADUEDITCONTACT_H
24
 
#define GADUEDITCONTACT_H
25
 
 
26
 
#include "gaducontactlist.h"
27
 
 
28
 
#include <kdialog.h>
29
 
//Added by qt3to4:
30
 
#include <QLabel>
31
 
 
32
 
class GaduAccount;
33
 
namespace Ui { class GaduAddUI; }
34
 
class QLabel;
35
 
class QWidget;
36
 
class GaduContact;
37
 
class Q3ListViewItem;
38
 
 
39
 
class GaduEditContact : public KDialog
40
 
{
41
 
        Q_OBJECT
42
 
 
43
 
public:
44
 
        GaduEditContact( GaduAccount*, GaduContact*,
45
 
                    QWidget* parent = 0 );
46
 
        GaduEditContact( GaduAccount*,  GaduContactsList::ContactLine*,
47
 
                    QWidget* parent = 0 );
48
 
        ~GaduEditContact();
49
 
protected slots:
50
 
        void slotApply();
51
 
        void listClicked( Q3ListViewItem* );
52
 
private:
53
 
 
54
 
        void init();
55
 
        void fillIn();
56
 
        void fillGroups();
57
 
        GaduAccount*    account_;
58
 
        GaduContact*    contact_;
59
 
        Ui::GaduAddUI*  ui_;
60
 
        GaduContactsList::ContactLine* cl_;
61
 
};
62
 
 
63
 
#endif