summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kselectdatabasedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kselectdatabasedlg.cpp')
-rw-r--r--kmymoney2/dialogs/kselectdatabasedlg.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmymoney2/dialogs/kselectdatabasedlg.cpp b/kmymoney2/dialogs/kselectdatabasedlg.cpp
index 50e66d4..607abbc 100644
--- a/kmymoney2/dialogs/kselectdatabasedlg.cpp
+++ b/kmymoney2/dialogs/kselectdatabasedlg.cpp
@@ -45,8 +45,8 @@
#include "kselectdatabasedlg.h"
-KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *parent, const char *name)
- : KSelectDatabaseDlgDecl(parent, name) {
+TDESelectDatabaseDlg::TDESelectDatabaseDlg(TQWidget *parent, const char *name)
+ : TDESelectDatabaseDlgDecl(parent, name) {
listDrivers->clear();
// list drivers supported by KMM
TQMap<TQString, TQString> map = m_map.driverMap();
@@ -95,8 +95,8 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(TQWidget *parent, const char *name)
}
}
-KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *parent, const char *name)
- : KSelectDatabaseDlgDecl(parent, name) {
+TDESelectDatabaseDlg::TDESelectDatabaseDlg(KURL openURL, TQWidget *parent, const char *name)
+ : TDESelectDatabaseDlgDecl(parent, name) {
// here we are re-opening a database from a URL
// probably taken from the last-used or recent file list
listDrivers->clear();
@@ -142,16 +142,16 @@ KSelectDatabaseDlg::KSelectDatabaseDlg(KURL openURL, TQWidget *parent, const cha
}
-KSelectDatabaseDlg::~KSelectDatabaseDlg() {
+TDESelectDatabaseDlg::~TDESelectDatabaseDlg() {
if (m_requiredFields != 0) delete m_requiredFields;
}
-void KSelectDatabaseDlg::setMode (int openMode) {
+void TDESelectDatabaseDlg::setMode (int openMode) {
m_mode = openMode;
checkPreLoad->setEnabled (openMode == IO_ReadWrite);
}
-const KURL KSelectDatabaseDlg::selectedURL() {
+const KURL TDESelectDatabaseDlg::selectedURL() {
KURL url;
url.setProtocol("sql");
url.setUser(textUserName->text());
@@ -166,7 +166,7 @@ const KURL KSelectDatabaseDlg::selectedURL() {
return (url);
}
-void KSelectDatabaseDlg::slotDriverSelected (TQListBoxItem *driver) {
+void TDESelectDatabaseDlg::slotDriverSelected (TQListBoxItem *driver) {
databaseTypeE dbType = m_map.driverToType(driver->text().section(' ', 0, 0));
if (!m_map.isTested(dbType)) {
int rc = KMessageBox::warningContinueCancel (0,
@@ -203,7 +203,7 @@ void KSelectDatabaseDlg::slotDriverSelected (TQListBoxItem *driver) {
}
}
-void KSelectDatabaseDlg::slotGenerateSQL () {
+void TDESelectDatabaseDlg::slotGenerateSQL () {
TQString fileName = TQFileDialog::getSaveFileName(
"",
i18n("All files (*.*)"),
@@ -219,11 +219,11 @@ void KSelectDatabaseDlg::slotGenerateSQL () {
out.close();
}
-void KSelectDatabaseDlg::slotHelp(void) {
+void TDESelectDatabaseDlg::slotHelp(void) {
kapp->invokeHelp("details.database.selectdatabase");
}
-void KSelectDatabaseDlg::setError() {
+void TDESelectDatabaseDlg::setError() {
buttonOK->setEnabled(false);
buttonSQL->setEnabled(false);
m_requiredFields = 0;