KDevelop API Documentation

SqlOutputWidget Class Reference

#include <sqloutputwidget.h>

Inheritance diagram for SqlOutputWidget:

Inheritance graph
[legend]
Collaboration diagram for SqlOutputWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SqlOutputWidget (QWidget *parent=0, const char *name=0)
virtual ~SqlOutputWidget ()
void showQuery (const QString &connectionName, const QString &query)
void showError (const QSqlError &error)

Private Member Functions

void showError (const QString &msg)
void showSuccess (int rowsAffected)

Private Attributes

QWidgetStackm_stack
QDataTablem_table
QTextEditm_textEdit

Constructor & Destructor Documentation

SqlOutputWidget::SqlOutputWidget QWidget parent = 0,
const char *  name = 0
 

Definition at line 57 of file sqloutputwidget.cpp.

References m_stack, m_table, and m_textEdit.

SqlOutputWidget::~SqlOutputWidget  )  [virtual]
 

Definition at line 74 of file sqloutputwidget.cpp.


Member Function Documentation

void SqlOutputWidget::showError const QString msg  )  [private]
 

Definition at line 108 of file sqloutputwidget.cpp.

References m_stack, m_textEdit, and message().

void SqlOutputWidget::showError const QSqlError error  ) 
 

Definition at line 115 of file sqloutputwidget.cpp.

References escape(), m_stack, m_textEdit, and message().

Referenced by showQuery().

void SqlOutputWidget::showQuery const QString connectionName,
const QString query
 

Definition at line 77 of file sqloutputwidget.cpp.

References m_stack, m_table, showError(), and showSuccess().

Referenced by SQLSupportPart::slotRun().

void SqlOutputWidget::showSuccess int  rowsAffected  )  [private]
 

Definition at line 101 of file sqloutputwidget.cpp.

References m_stack, and m_textEdit.

Referenced by showQuery().


Member Data Documentation

QWidgetStack* SqlOutputWidget::m_stack [private]
 

Definition at line 38 of file sqloutputwidget.h.

Referenced by showError(), showQuery(), showSuccess(), and SqlOutputWidget().

QDataTable* SqlOutputWidget::m_table [private]
 

Definition at line 39 of file sqloutputwidget.h.

Referenced by showQuery(), and SqlOutputWidget().

QTextEdit* SqlOutputWidget::m_textEdit [private]
 

Definition at line 40 of file sqloutputwidget.h.

Referenced by showError(), showSuccess(), and SqlOutputWidget().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:48:00 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003