KDevelop API Documentation

sqlsupport_part.h

Go to the documentation of this file.
00001 #ifndef __KDEVPART_SQLSUPPORT_H__
00002 #define __KDEVPART_SQLSUPPORT_H__
00003 
00004 #include <qguardedptr.h>
00005 #include <qstringlist.h>
00006 
00007 #include <kprocess.h>
00008 #include <kdialogbase.h>
00009 
00010 #include "kdevplugin.h"
00011 #include "kdevlanguagesupport.h"
00012 
00013 class SqlListAction;
00014 class SqlOutputWidget;
00015 class CodeModel;
00016 
00017 class SQLSupportPart : public KDevLanguageSupport
00018 {
00019   Q_OBJECT
00020 
00021 public:
00022 
00023     SQLSupportPart(QObject *parent, const char *name, const QStringList &);
00024     virtual ~SQLSupportPart();
00025 
00026     static QString cryptStr(const QString& aStr);
00027     const QStringList& connections() const { return conNames; }
00028 
00029 
00030 protected:
00031     virtual Features features();
00032     virtual KMimeType::List mimeTypes();
00033 
00034 private slots:
00035     void slotRun();
00036     void projectConfigWidget(KDialogBase *dlg);
00037     void projectOpened();
00038     void projectClosed();
00039     void savedFile(const KURL &fileName);
00040     void addedFilesToProject(const QStringList &fileList);
00041     void removedFilesFromProject(const QStringList &fileList);
00042     void parse();
00043     void loadConfig();
00044     void activeConnectionChanged();
00045 
00046 private:
00047     void clearConfig();
00048     void updateCatalog();
00049     SqlListAction* dbAction;
00050     SqlOutputWidget* m_widget;
00051     QStringList conNames;
00052     CodeModel *m_store;
00053 };
00054 
00055 #endif
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:03:50 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003