summaryrefslogtreecommitdiffstats
path: root/kexi/core/kexiproject.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kexi/core/kexiproject.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kexi/core/kexiproject.cpp')
-rw-r--r--kexi/core/kexiproject.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/core/kexiproject.cpp b/kexi/core/kexiproject.cpp
index 159de750..5b26cb39 100644
--- a/kexi/core/kexiproject.cpp
+++ b/kexi/core/kexiproject.cpp
@@ -381,10 +381,10 @@ bool KexiProject::createInternalStructures(bool insideTransaction)
}
// 2.1 copy data (insert 0's into o_folder_id column)
if (!d->connection->executeSQL(
- TQString::tqfromLatin1("INSERT INTO kexi__blobs (o_data, o_name, o_caption, o_mime, o_folder_id) "
+ TQString::fromLatin1("INSERT INTO kexi__blobs (o_data, o_name, o_caption, o_mime, o_folder_id) "
"SELECT o_data, o_name, o_caption, o_mime, 0 FROM kexi__blobs") )
// 2.2 remove the original kexi__blobs
- || !d->connection->executeSQL(TQString::tqfromLatin1("DROP TABLE kexi__blobs")) //lowlevel
+ || !d->connection->executeSQL(TQString::fromLatin1("DROP TABLE kexi__blobs")) //lowlevel
// 2.3 rename the copy back into kexi__blobs
|| !d->connection->drv_alterTableName(*kexi__blobsCopy, "kexi__blobs")
)
@@ -735,10 +735,10 @@ KexiDialogBase* KexiProject::openObject(KexiMainWindow *wnd, KexiPart::Item& ite
return 0;
KexiDialogBase *dlg = part->openInstance(wnd, item, viewMode, staticObjectArgs);
if (!dlg) {
- if (part->lastOperationtqStatus().error())
+ if (part->lastOperationStatus().error())
setError(i18n("Opening object \"%1\" failed.").tqarg(item.name())+"<br>"
- +part->lastOperationtqStatus().message,
- part->lastOperationtqStatus().description);
+ +part->lastOperationStatus().message,
+ part->lastOperationStatus().description);
return 0;
}
return dlg;
@@ -835,7 +835,7 @@ bool KexiProject::renameObject( KexiMainWindow *wnd, KexiPart::Item& item, const
return false;
}
if (!part->rename(wnd, item, newName)) {
- setError(part->lastOperationtqStatus().message, part->lastOperationtqStatus().description);
+ setError(part->lastOperationStatus().message, part->lastOperationStatus().description);
return false;
}
if (!d->connection->executeSQL( "update kexi__objects set o_name="