summaryrefslogtreecommitdiffstats
path: root/languages/sql
diff options
context:
space:
mode:
Diffstat (limited to 'languages/sql')
-rw-r--r--languages/sql/sqlactions.cpp4
-rw-r--r--languages/sql/sqlactions.h4
-rw-r--r--languages/sql/sqlsupport_part.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/languages/sql/sqlactions.cpp b/languages/sql/sqlactions.cpp
index 633a687d..02112d78 100644
--- a/languages/sql/sqlactions.cpp
+++ b/languages/sql/sqlactions.cpp
@@ -26,9 +26,9 @@
#include "sqlsupport_part.h"
SqlListAction::SqlListAction(SQLSupportPart *part, const TQString &text,
- const KShortcut& cut,
+ const TDEShortcut& cut,
const TQObject *receiver, const char *slot,
- KActionCollection *parent, const char *name)
+ TDEActionCollection *parent, const char *name)
: KWidgetAction( m_combo = new KComboBox(), text, cut, 0, 0, parent, name), m_part(part)
{
m_combo->setEditable( false );
diff --git a/languages/sql/sqlactions.h b/languages/sql/sqlactions.h
index 28b7ea63..20923a15 100644
--- a/languages/sql/sqlactions.h
+++ b/languages/sql/sqlactions.h
@@ -24,9 +24,9 @@ class SqlListAction : public KWidgetAction
Q_OBJECT
public:
- SqlListAction( SQLSupportPart *part, const TQString &text, const KShortcut& cut,
+ SqlListAction( SQLSupportPart *part, const TQString &text, const TDEShortcut& cut,
const TQObject *receiver, const char *slot,
- KActionCollection *parent, const char *name );
+ TDEActionCollection *parent, const char *name );
void setCurrentConnectionName(const TQString &name);
TQString currentConnectionName() const;
void refresh();
diff --git a/languages/sql/sqlsupport_part.cpp b/languages/sql/sqlsupport_part.cpp
index 580d99c5..d5b6f91c 100644
--- a/languages/sql/sqlsupport_part.cpp
+++ b/languages/sql/sqlsupport_part.cpp
@@ -39,8 +39,8 @@ SQLSupportPart::SQLSupportPart( TQObject *parent, const char *name, const TQStri
setInstance( SQLSupportFactory::instance() );
setXMLFile( "kdevsqlsupport.rc" );
- KAction *action;
- action = new KAction( i18n( "&Run" ), "exec", Key_F9, this, TQT_SLOT( slotRun() ), actionCollection(), "build_execute" );
+ TDEAction *action;
+ action = new TDEAction( i18n( "&Run" ), "exec", Key_F9, this, TQT_SLOT( slotRun() ), actionCollection(), "build_execute" );
action->setToolTip(i18n("Run"));
action->setWhatsThis(i18n("<b>Run</b><p>Executes a SQL script."));