SQLSupportPart Class Reference
This is a SQL support plugin. More...
#include <sqlsupport_part.h>
Inheritance diagram for SQLSupportPart:


Public Member Functions | |
SQLSupportPart (QObject *parent, const char *name, const QStringList &) | |
virtual | ~SQLSupportPart () |
const QStringList & | connections () const |
Static Public Member Functions | |
QString | cryptStr (const QString &aStr) |
Protected Member Functions | |
virtual Features | features () |
Returns the feature set of the language. | |
virtual KMimeType::List | mimeTypes () |
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog. | |
Private Slots | |
void | slotRun () |
void | projectConfigWidget (KDialogBase *dlg) |
void | projectOpened () |
void | projectClosed () |
void | savedFile (const KURL &fileName) |
void | addedFilesToProject (const QStringList &fileList) |
void | removedFilesFromProject (const QStringList &fileList) |
void | parse () |
void | loadConfig () |
void | activeConnectionChanged () |
Private Member Functions | |
void | clearConfig () |
void | updateCatalog () |
Private Attributes | |
SqlListAction * | dbAction |
SqlOutputWidget * | m_widget |
QStringList | conNames |
CodeModel * | m_store |
Detailed Description
This is a SQL support plugin.
- Feature(s):
- SQL language support
Consult Programming Languages Support Status for a up to date features/status of this programming language support part.
- Bug:
- Describe a the 1st bug that you know of, but probably hasn't been reported yet. ..
Describe a the nth bug that you know of, but probably hasn't been reported yet.
- Requirement(s):
- Describe a the 1st requirement of your part.
Describe a the 2nd requirement of your part. ...
Describe a the nth requirement of your part.
- Todo:
- Describe a the 1st TODO of your part.
Describe a the 2nd TODO of your part. ...
Describe a the nth TODO of your part.
- F.A.Q.:
- First frequenly asked question about your part ? Answer.
Second frequenly asked question about your part ? Answer. ...
Last frequenly asked question about your part ? Answer.
- Note:
- First note text.
Second note text. ...
Last note text.
- Warning:
- First warning text.
Second warning text. ...
Last warning text.
Definition at line 17 of file sqlsupport_part.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 63 of file sqlsupport_part.cpp. References m_widget, KDevPlugin::mainWindow(), and KDevMainWindow::removeView(). |
Member Function Documentation
|
Definition at line 78 of file sqlsupport_part.cpp. References updateCatalog(). |
|
Definition at line 238 of file sqlsupport_part.cpp. References KDevLanguageSupport::updatedSourceInfo(). Referenced by projectOpened(). |
|
Definition at line 83 of file sqlsupport_part.cpp. References conNames, dbAction, kdDebug(), and SqlListAction::refresh(). Referenced by loadConfig(), and projectClosed(). |
|
Definition at line 27 of file sqlsupport_part.h. Referenced by SqlListAction::activated(), SqlListAction::currentConnectionName(), SqlListAction::refresh(), and SqlListAction::setCurrentConnectionName(). |
|
Definition at line 69 of file sqlsupport_part.cpp. Referenced by loadConfig(). |
|
Returns the feature set of the language. This is e.g. used by the class view to decide which organizer items to display and which not. Reimplemented from KDevLanguageSupport. Definition at line 269 of file sqlsupport_part.cpp. References KDevLanguageSupport::Features. |
|
Definition at line 98 of file sqlsupport_part.cpp. References clearConfig(), conNames, cryptStr(), dbAction, KDevPlugin::projectDom(), DomUtil::readListEntry(), and SqlListAction::refresh(). Referenced by projectConfigWidget(), and projectOpened(). |
|
Returns a typical mimetype list for the support language should be configurable in the languagesupport dialog.
Reimplemented from KDevLanguageSupport. Definition at line 274 of file sqlsupport_part.cpp. References KMimeType::List, KMimeType::mimeType(), and KMimeType::Ptr. |
|
Definition at line 193 of file sqlsupport_part.cpp. Referenced by projectOpened(). |
|
Definition at line 157 of file sqlsupport_part.cpp. References clearConfig(). |
|
Definition at line 132 of file sqlsupport_part.cpp. References KDialogBase::addVBoxPage(), loadConfig(), SqlConfigWidget::loadConfig(), KDevPlugin::projectDom(), and SqlConfigWidget::setProjectDom(). |
|
Definition at line 142 of file sqlsupport_part.cpp. References addedFilesToProject(), loadConfig(), parse(), KDevPlugin::project(), and removedFilesFromProject(). |
|
Definition at line 250 of file sqlsupport_part.cpp. References KDevLanguageSupport::updatedSourceInfo(). Referenced by projectOpened(). |
|
Definition at line 261 of file sqlsupport_part.cpp. References KDevProject::allFiles(), Structure::length(), KURL::path(), and KDevPlugin::project(). |
|
|
Definition at line 198 of file sqlsupport_part.cpp. References CodeModel::addFile(), ClassDom, KDevPlugin::codeModel(), CodeModel::create(), SqlListAction::currentConnectionName(), dbAction, FileDom, FunctionDom, KDevPlugin::project(), KDevLanguageSupport::updatedSourceInfo(), and CodeModel::wipeout(). Referenced by activeConnectionChanged(). |
Member Data Documentation
|
Definition at line 51 of file sqlsupport_part.h. Referenced by clearConfig(), and loadConfig(). |
|
Definition at line 49 of file sqlsupport_part.h. Referenced by clearConfig(), loadConfig(), slotRun(), and updateCatalog(). |
|
Definition at line 52 of file sqlsupport_part.h. |
|
Definition at line 50 of file sqlsupport_part.h. Referenced by slotRun(), and ~SQLSupportPart(). |
The documentation for this class was generated from the following files:
- languages/sql/sqlsupport_part.h
- languages/sql/sqlsupport_part.cpp