summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/queries
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/queries')
-rw-r--r--kexi/plugins/queries/kexiaddparamwidget.ui8
-rw-r--r--kexi/plugins/queries/kexiparameterlisteditor.ui2
-rw-r--r--kexi/plugins/queries/kexiquerydesignerguieditor.cpp2
-rw-r--r--kexi/plugins/queries/kexiquerydesignerguieditor.h4
-rw-r--r--kexi/plugins/queries/kexiquerydesignersql.cpp6
-rw-r--r--kexi/plugins/queries/kexiquerydesignersqlhistory.cpp2
6 files changed, 12 insertions, 12 deletions
diff --git a/kexi/plugins/queries/kexiaddparamwidget.ui b/kexi/plugins/queries/kexiaddparamwidget.ui
index 080f8d08..01a3ee3c 100644
--- a/kexi/plugins/queries/kexiaddparamwidget.ui
+++ b/kexi/plugins/queries/kexiaddparamwidget.ui
@@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>tqlayout3</cstring>
+ <cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
@@ -37,7 +37,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@@ -82,7 +82,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
- <cstring>tqlayout4</cstring>
+ <cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@@ -105,7 +105,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<vbox>
<property name="name">
diff --git a/kexi/plugins/queries/kexiparameterlisteditor.ui b/kexi/plugins/queries/kexiparameterlisteditor.ui
index e7526413..26b7d0f2 100644
--- a/kexi/plugins/queries/kexiparameterlisteditor.ui
+++ b/kexi/plugins/queries/kexiparameterlisteditor.ui
@@ -53,7 +53,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout1</cstring>
+ <cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
diff --git a/kexi/plugins/queries/kexiquerydesignerguieditor.cpp b/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
index cfd38e3a..1b4a3301 100644
--- a/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
+++ b/kexi/plugins/queries/kexiquerydesignerguieditor.cpp
@@ -1074,7 +1074,7 @@ bool KexiQueryDesignerGuiEditor::loadLayout()
// return false;
// }
if (xml.isEmpty()) {
- //in a case when query tqlayout was not saved, build tqlayout by hand
+ //in a case when query layout was not saved, build layout by hand
// -- dynamic cast because of a need for handling invalid queries
// (as in KexiQueryDesignerGuiEditor::afterSwitchFrom()):
KexiDB::QuerySchema * q = dynamic_cast<KexiDB::QuerySchema *>(parentDialog()->schemaData());
diff --git a/kexi/plugins/queries/kexiquerydesignerguieditor.h b/kexi/plugins/queries/kexiquerydesignerguieditor.h
index 1102b1d9..f85125c6 100644
--- a/kexi/plugins/queries/kexiquerydesignerguieditor.h
+++ b/kexi/plugins/queries/kexiquerydesignerguieditor.h
@@ -134,10 +134,10 @@ class KexiQueryDesignerGuiEditor : public KexiViewBase
void slotAboutConnectionRemove(KexiRelationViewConnection*);
void slotTableFieldDoubleClicked( KexiDB::TableSchema* table, const TQString& fieldName );
- /*! Loads tqlayout of relation GUI diagram. */
+ /*! Loads layout of relation GUI diagram. */
bool loadLayout();
- /*! Stores tqlayout of relation GUI diagram. */
+ /*! Stores layout of relation GUI diagram. */
bool storeLayout();
void showTablesForQuery(KexiDB::QuerySchema *query);
diff --git a/kexi/plugins/queries/kexiquerydesignersql.cpp b/kexi/plugins/queries/kexiquerydesignersql.cpp
index 43353b84..5de13fe2 100644
--- a/kexi/plugins/queries/kexiquerydesignersql.cpp
+++ b/kexi/plugins/queries/kexiquerydesignersql.cpp
@@ -124,14 +124,14 @@ KexiQueryDesignerSQLView::KexiQueryDesignerSQLView(KexiMainWindow *mainWin, TQWi
d->pixmapStatus->setFixedWidth(d->statusPixmapOk.width()*3/2);
d->pixmapStatus->setAlignment(AlignHCenter | AlignTop);
d->pixmapStatus->setMargin(d->statusPixmapOk.width()/4);
- d->pixmapStatus->setPaletteBackgroundColor( tqpalette().active().color(TQColorGroup::Base) );
+ d->pixmapStatus->setPaletteBackgroundColor( palette().active().color(TQColorGroup::Base) );
d->lblStatus = new TQLabel(d->status_hbox);
d->lblStatus->setAlignment(AlignLeft | AlignTop | WordBreak);
d->lblStatus->setMargin(d->statusPixmapOk.width()/4);
d->lblStatus->setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Expanding );
d->lblStatus->resize(d->lblStatus->width(),d->statusPixmapOk.width()*3);
- d->lblStatus->setPaletteBackgroundColor( tqpalette().active().color(TQColorGroup::Base) );
+ d->lblStatus->setPaletteBackgroundColor( palette().active().color(TQColorGroup::Base) );
TQHBoxLayout *b = new TQHBoxLayout(this);
b->addWidget(d->splitter);
@@ -449,7 +449,7 @@ KexiQueryDesignerSQLView::storeNewData(const KexiDB::SchemaData& sdata, bool &ca
{
Q_UNUSED( cancel );
- //here: we won't store query tqlayout: it will be recreated 'by hand' in GUI Query Editor
+ //here: we won't store query layout: it will be recreated 'by hand' in GUI Query Editor
bool queryOK = slotCheckQuery();
bool ok = true;
KexiDB::SchemaData* query = 0;
diff --git a/kexi/plugins/queries/kexiquerydesignersqlhistory.cpp b/kexi/plugins/queries/kexiquerydesignersqlhistory.cpp
index e53e876c..4fea781e 100644
--- a/kexi/plugins/queries/kexiquerydesignersqlhistory.cpp
+++ b/kexi/plugins/queries/kexiquerydesignersqlhistory.cpp
@@ -180,7 +180,7 @@ KexiQueryDesignerSQLHistory::slotToClipboard()
if(!m_selected)
return;
- TQApplication::tqclipboard()->setText(m_selected->statement(), TQClipboard::Clipboard);
+ TQApplication::clipboard()->setText(m_selected->statement(), TQClipboard::Clipboard);
}
void