KVIrc  4.9.2
DeveloperAPIs
KviKvsAsyncDnsOperation.h
Go to the documentation of this file.
1 #ifndef _KVI_KVS_ASYNCDNSOPERATION_H_
2 #define _KVI_KVS_ASYNCDNSOPERATION_H_
3 //=============================================================================
4 //
5 // File : KviKvsAsyncDnsOperation.h
6 // Creation date : Sun 10 Jul 2005 04:36:15 by Szymon Stefanek
7 //
8 // This file is part of the KVIrc IRC Client distribution
9 // Copyright (C) 2005-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 "kvi_settings.h"
28 #include "KviKvsAsyncOperation.h"
29 #include "KviQString.h"
30 #include "KviDnsResolver.h"
31 
32 class KviWindow;
33 class KviKvsScript;
34 class KviKvsVariant;
35 
37 {
38  Q_OBJECT
39 public:
40  KviKvsAsyncDnsOperation(KviWindow * pWnd, QString & szQuery, KviDnsResolver::QueryType eType, KviKvsScript * pCallback = 0, KviKvsVariant * pMagic = 0);
41  virtual ~KviKvsAsyncDnsOperation();
42 
43 protected:
48  QString m_szQuery;
49 protected slots:
50  void lookupTerminated(KviDnsResolver *);
51  void dnsStartFailed();
52 };
53 
54 #endif
This class defines a new data type which contains variant data.
Definition: KviKvsVariant.h:351
#define KVIRC_API
Definition: kvi_settings.h:128
The KVIrc Script class.
Definition: KviKvsScript.h:59
KviDnsResolver * m_pDns
Definition: KviKvsAsyncDnsOperation.h:44
KviDnsResolver::QueryType m_eType
Definition: KviKvsAsyncDnsOperation.h:45
KviKvsVariant * m_pMagic
Definition: KviKvsAsyncDnsOperation.h:46
Definition: KviKvsAsyncDnsOperation.h:36
KviKvsScript * m_pCallback
Definition: KviKvsAsyncDnsOperation.h:47
Definition: KviKvsAsyncOperation.h:34
The KviDnsResolver class.
Definition: KviDnsResolver.h:93
Base class for all windows in KVIrc.
Definition: KviWindow.h:74
QueryType
Definition: KviDnsResolver.h:102
QString m_szQuery
Definition: KviKvsAsyncDnsOperation.h:48
This file contains compile time settings.
Helper functions for the QString class.