KVIrc  4.9.2
DeveloperAPIs
libkvimircimport.h
Go to the documentation of this file.
1 #ifndef _LIBKVIMIRCIMPORT_H_
2 #define _LIBKVIMIRCIMPORT_H_
3 //=============================================================================
4 //
5 // File : libkvimircimport.h
6 // Creation date : Tue Aug 27 01:28:02 2002 GMT by Szymon Stefanek
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net)
10 //
11 // This program is FREE software. You can redistribute it and/or
12 // modify it under the terms of the GNU General Public License
13 // as published by the Free Software Foundation; either version 2
14 // of the License, or (at your option) any later version.
15 //
16 // This program is distributed in the HOPE that it will be USEFUL,
17 // but WITHOUT ANY WARRANTY; without even the implied warranty of
18 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19 // See the GNU General Public License for more details.
20 //
21 // You should have received a copy of the GNU General Public License
22 // along with this program. If not, write to the Free Software Foundation,
23 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24 //
25 //=============================================================================
26 
27 #include "KviMexServerImport.h"
28 #include "KviCString.h"
29 #include "KviHttpRequest.h"
30 #include <KviTalWizard.h>
31 
32 #include <QLineEdit>
33 #include <QLabel>
34 
36 
38 {
39  Q_OBJECT
40 public:
43 
44 public:
45  int doImport(const QString & filename);
46  virtual void start();
47  virtual void die();
48 };
49 
51 {
52  Q_OBJECT
53 public:
56 
57 protected:
59 
60 public:
61  virtual void start();
62  virtual void die();
63 };
64 
66 {
67  Q_OBJECT
68 public:
71 
72 protected:
73  QLineEdit * m_pUrlEdit;
74  QLabel * m_pOutput;
77  QString m_szTmpFileName;
78 
79 protected:
80  virtual void closeEvent(QCloseEvent * e);
81  virtual void done(int r);
82  void start();
83 protected slots:
84  void getListMessage(const QString & message);
85  void getListTerminated(bool bSuccess);
86  void pageSelected(const QString & title);
87 };
88 
89 #endif //_LIBKVIMIRCIMPORT_H_
virtual void closeEvent(QCloseEvent *e)
Definition: libkvimircimport.cpp:203
KviRemoteMircServerImportWizard * m_pWizard
Definition: libkvimircimport.h:58
void getListMessage(const QString &message)
Definition: libkvimircimport.cpp:237
#define f
Definition: detector.cpp:70
KviRemoteMircServersIniImport(KviModuleExtensionDescriptor *d)
Definition: libkvimircimport.cpp:273
virtual void die()
Definition: libkvimircimport.cpp:294
void pageSelected(const QString &title)
Definition: libkvimircimport.cpp:195
~KviMircServersIniImport()
Definition: libkvimircimport.cpp:49
int doImport(const QString &filename)
Definition: libkvimircimport.cpp:54
KviRemoteMircServerImportWizard(KviRemoteMircServersIniImport *f)
Definition: libkvimircimport.cpp:143
Definition: KviMexServerImport.h:33
#define e
Definition: detector.cpp:69
~KviRemoteMircServerImportWizard()
Definition: libkvimircimport.cpp:189
QString m_szTmpFileName
Definition: libkvimircimport.h:77
Definition: libkvimircimport.h:65
Definition: libkvimircimport.h:50
char s d
Definition: KviIrcNumericCodes.h:391
~KviRemoteMircServersIniImport()
Definition: libkvimircimport.cpp:279
virtual void start()
Definition: libkvimircimport.cpp:125
void start()
Definition: libkvimircimport.cpp:213
virtual void done(int r)
Definition: libkvimircimport.cpp:208
Definition: KviHttpRequest.h:58
#define r
Definition: detector.cpp:82
KviRemoteMircServersIniImport * m_pFilter
Definition: libkvimircimport.h:75
QLabel * m_pOutput
Definition: libkvimircimport.h:74
Definition: KviModuleExtension.h:51
KviMircServersIniImport(KviModuleExtensionDescriptor *d)
Definition: libkvimircimport.cpp:44
Provides a wizard-style dialog with steps.
Definition: KviTalWizard.h:42
KviHttpRequest * m_pRequest
Definition: libkvimircimport.h:76
QLineEdit * m_pUrlEdit
Definition: libkvimircimport.h:73
virtual void die()
Definition: libkvimircimport.cpp:136
Definition: libkvimircimport.h:37
void getListTerminated(bool bSuccess)
Definition: libkvimircimport.cpp:243
virtual void start()
Definition: libkvimircimport.cpp:286