KDevelop API Documentation

SqlListAction Class Reference

#include <sqlactions.h>

Inheritance diagram for SqlListAction:

Inheritance graph
[legend]
Collaboration diagram for SqlListAction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SqlListAction (SQLSupportPart *part, const QString &text, const KShortcut &cut, const QObject *receiver, const char *slot, KActionCollection *parent, const char *name)
void setCurrentConnectionName (const QString &name)
QString currentConnectionName () const
void refresh ()

Private Slots

void activated (int)

Private Attributes

SQLSupportPartm_part
KComboBoxm_combo

Constructor & Destructor Documentation

SqlListAction::SqlListAction SQLSupportPart part,
const QString text,
const KShortcut cut,
const QObject receiver,
const char *  slot,
KActionCollection parent,
const char *  name
 

Definition at line 28 of file sqlactions.cpp.

References KAction::activated(), m_combo, refresh(), KComboBox::setAutoCompletion(), KDevCompat::KWidgetAction::setAutoSized(), KAction::setShortcutConfigurable(), and text().


Member Function Documentation

void SqlListAction::activated int   )  [private, slot]
 

Definition at line 69 of file sqlactions.cpp.

References SQLSupportPart::connections(), m_combo, and m_part.

QString SqlListAction::currentConnectionName  )  const
 

Definition at line 62 of file sqlactions.cpp.

References SQLSupportPart::connections(), m_combo, and m_part.

Referenced by SQLSupportPart::slotRun(), and SQLSupportPart::updateCatalog().

void SqlListAction::refresh  ) 
 

Definition at line 78 of file sqlactions.cpp.

References SQLSupportPart::connections(), kdDebug(), m_combo, and m_part.

Referenced by SQLSupportPart::clearConfig(), SQLSupportPart::loadConfig(), and SqlListAction().

void SqlListAction::setCurrentConnectionName const QString name  ) 
 

Definition at line 52 of file sqlactions.cpp.

References SQLSupportPart::connections(), m_combo, m_part, and KComboBox::setCurrentItem().


Member Data Documentation

KComboBox* SqlListAction::m_combo [private]
 

Definition at line 43 of file sqlactions.h.

Referenced by activated(), currentConnectionName(), refresh(), setCurrentConnectionName(), and SqlListAction().

SQLSupportPart* SqlListAction::m_part [private]
 

Definition at line 42 of file sqlactions.h.

Referenced by activated(), currentConnectionName(), refresh(), and setCurrentConnectionName().


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 Wed Mar 23 00:30:12 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003