Kexi API Documentation (2.0 alpha)

ConnectionTestDialog Class Reference

#include <utils_p.h>

Inheritance diagram for ConnectionTestDialog:

KProgressDialog List of all members.

Public Member Functions

 ConnectionTestDialog (QWidget *parent, const KexiDB::ConnectionData &data, KexiDB::MessageHandler &msgHandler)
virtual ~ConnectionTestDialog ()
int exec ()
void error (KexiDB::Object *obj)

Protected Slots

void slotTimeout ()
virtual void slotCancel ()

Protected Attributes

ConnectionTestThread * m_thread
KexiDB::ConnectionData m_connData
QTimer m_timer
KexiDB::MessageHandlerm_msgHandler
uint m_elapsedTime
KexiDB::Objectm_errorObj
QWaitCondition m_wait
bool m_stopWaiting: 1

Constructor & Destructor Documentation

ConnectionTestDialog::ConnectionTestDialog QWidget parent,
const KexiDB::ConnectionData data,
KexiDB::MessageHandler msgHandler
 

Definition at line 375 of file kexidb/utils.cpp.

References m_timer, and slotTimeout().

ConnectionTestDialog::~ConnectionTestDialog  )  [virtual]
 

Definition at line 396 of file kexidb/utils.cpp.

References m_thread, and m_wait.


Member Function Documentation

void ConnectionTestDialog::error KexiDB::Object obj  ) 
 

Definition at line 452 of file kexidb/utils.cpp.

References KexiDBDbg, m_errorObj, m_stopWaiting, and m_wait.

int ConnectionTestDialog::exec  ) 
 

Definition at line 403 of file kexidb/utils.cpp.

References m_thread, and m_timer.

Referenced by KexiDB::connectionTestDialog().

void ConnectionTestDialog::slotCancel  )  [protected, virtual, slot]
 

Definition at line 467 of file kexidb/utils.cpp.

References m_thread, and m_timer.

Referenced by slotTimeout().

void ConnectionTestDialog::slotTimeout  )  [protected, slot]
 

Definition at line 413 of file kexidb/utils.cpp.

References m_elapsedTime, m_errorObj, m_msgHandler, m_stopWaiting, m_timer, m_wait, KexiDB::MessageHandler::showErrorMessage(), and slotCancel().

Referenced by ConnectionTestDialog().


Member Data Documentation

KexiDB::ConnectionData ConnectionTestDialog::m_connData [protected]
 

Definition at line 50 of file kexidb/utils_p.h.

uint ConnectionTestDialog::m_elapsedTime [protected]
 

Definition at line 53 of file kexidb/utils_p.h.

Referenced by slotTimeout().

KexiDB::Object* ConnectionTestDialog::m_errorObj [protected]
 

Definition at line 54 of file kexidb/utils_p.h.

Referenced by error(), and slotTimeout().

KexiDB::MessageHandler* ConnectionTestDialog::m_msgHandler [protected]
 

Definition at line 52 of file kexidb/utils_p.h.

Referenced by slotTimeout().

bool ConnectionTestDialog::m_stopWaiting [protected]
 

Definition at line 56 of file kexidb/utils_p.h.

Referenced by error(), and slotTimeout().

ConnectionTestThread* ConnectionTestDialog::m_thread [protected]
 

Definition at line 49 of file kexidb/utils_p.h.

Referenced by exec(), slotCancel(), and ~ConnectionTestDialog().

QTimer ConnectionTestDialog::m_timer [protected]
 

Definition at line 51 of file kexidb/utils_p.h.

Referenced by ConnectionTestDialog(), exec(), slotCancel(), and slotTimeout().

QWaitCondition ConnectionTestDialog::m_wait [protected]
 

Definition at line 55 of file kexidb/utils_p.h.

Referenced by error(), slotTimeout(), and ~ConnectionTestDialog().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for Kexi 2.0 alpha.
Documentation copyright © 2002-2007 the Kexi Team.
Generated on Tue Apr 1 20:49:51 2008 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003