summaryrefslogtreecommitdiffstats
path: root/languages/sql
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /languages/sql
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
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."));