~ubuntu-branches/ubuntu/saucy/kopete/saucy-proposed

« back to all changes in this revision

Viewing changes to protocols/yahoo/yahooverifyaccount.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-06-21 02:22:39 UTC
  • Revision ID: package-import@ubuntu.com-20130621022239-63l3zc8p0nf26pt6
Tags: upstream-4.10.80
Import upstream version 4.10.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
    yahooverifyaccount.h - UI Page for Verifying a locked account
 
3
 
 
4
    Copyright (c) 2005 by André Duffeck          <duffeck@kde.org>
 
5
 
 
6
    *************************************************************************
 
7
    *                                                                       *
 
8
    * This program is free software; you can redistribute it and/or modify  *
 
9
    * it under the terms of the GNU General Public License as published by  *
 
10
    * the Free Software Foundation; either version 2 of the License, or     *
 
11
    * (at your option) any later version.                                   *
 
12
    *                                                                       *
 
13
    *************************************************************************
 
14
*/
 
15
 
 
16
#ifndef __YAHOOVERIFYACCOUNT_H
 
17
#define __YAHOOVERIFYACCOUNT_H
 
18
 
 
19
// Local Includes
 
20
 
 
21
// Kopete Includes
 
22
// QT Includes
 
23
 
 
24
// KDE Includes
 
25
#include <kdialog.h>
 
26
 
 
27
namespace Kopete { class Account; }
 
28
namespace Ui { class YahooVerifyAccountBase; }
 
29
class KTemporaryFile;
 
30
 
 
31
class YahooVerifyAccount : public KDialog
 
32
{
 
33
        Q_OBJECT
 
34
private:
 
35
        Kopete::Account *mTheAccount;
 
36
        KTemporaryFile *mFile;
 
37
        Ui::YahooVerifyAccountBase *mTheDialog;
 
38
public:
 
39
        explicit YahooVerifyAccount(Kopete::Account *account, QWidget *parent = 0);
 
40
        ~YahooVerifyAccount();
 
41
 
 
42
        virtual bool validateData();
 
43
 
 
44
        void setUrl( const KUrl &url );
 
45
 
 
46
protected slots:
 
47
        virtual void slotClose();
 
48
        virtual void slotApply();
 
49
public slots:
 
50
        void slotData( KIO::Job *job, const QByteArray& data );
 
51
        void slotComplete( KJob *job );
 
52
};
 
53
 
 
54
#endif
 
55
 
 
56
// vim: set noet ts=4 sts=4 sw=4:
 
57