summaryrefslogtreecommitdiffstats
path: root/kexi/tests/startup/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/tests/startup/main.cpp')
-rw-r--r--kexi/tests/startup/main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/tests/startup/main.cpp b/kexi/tests/startup/main.cpp
index dd2e86ce..3d97ac32 100644
--- a/kexi/tests/startup/main.cpp
+++ b/kexi/tests/startup/main.cpp
@@ -43,9 +43,9 @@ int main(int argc, char* argv[])
KexiTableViewData data;
KexiTableViewColumn col;
- col.type = QVariant::Int; col.caption = "Id"; data.addColumn( col );
- col.type = QVariant::String; col.caption = "Name"; data.addColumn( col );
- col.type = QVariant::Int; col.caption = "Age"; data.addColumn( col );
+ col.type = TQVariant::Int; col.caption = "Id"; data.addColumn( col );
+ col.type = TQVariant::String; col.caption = "Name"; data.addColumn( col );
+ col.type = TQVariant::Int; col.caption = "Age"; data.addColumn( col );
tv.setData(&data, false);
tv.show();*/
@@ -76,9 +76,9 @@ int main(int argc, char* argv[])
KexiStartupDialog startup(KexiStartupDialog::Everything, 0, connset, prj_set, 0, "dlg");
int e=startup.exec();
- kdDebug() << (e==QDialog::Accepted ? "Accepted" : "Rejected") << endl;
+ kdDebug() << (e==TQDialog::Accepted ? "Accepted" : "Rejected") << endl;
- if (e==QDialog::Accepted) {
+ if (e==TQDialog::Accepted) {
int r = startup.result();
if (r==KexiStartupDialog::TemplateResult) {
kdDebug() << "Template key == " << startup.selectedTemplateKey() << endl;
@@ -86,8 +86,8 @@ int main(int argc, char* argv[])
#if 0
KexiConnSelectorDialog sel(connset, 0,"sel");
e = sel.exec();
- kdDebug() << (e==QDialog::Accepted ? "Accepted" : "Rejected") << endl;
- if (e==QDialog::Accepted) {
+ kdDebug() << (e==TQDialog::Accepted ? "Accepted" : "Rejected") << endl;
+ if (e==TQDialog::Accepted) {
kdDebug() << "Selected conn. type: " << (sel.selectedConnectionType()==KexiConnSelectorWidget::FileBased ? "File based" : "Server based") << endl;
if (sel.selectedConnectionType()==KexiConnSelectorWidget::ServerBased) {
kdDebug() << "SERVER: " << sel.selectedConnectionData()->serverInfoString() << endl;
@@ -98,7 +98,7 @@ int main(int argc, char* argv[])
}
else if (r==KexiStartupDialog::OpenExistingResult) {
kdDebug() << "Existing project --------" << endl;
- QString selFile = startup.selectedExistingFile();
+ TQString selFile = startup.selectedExistingFile();
if (!selFile.isEmpty())
kdDebug() << "Project File: " << selFile << endl;
else if (startup.selectedExistingConnection()) {