diff options
Diffstat (limited to 'kexi/widget/relations')
-rw-r--r-- | kexi/widget/relations/kexirelationview.cpp | 10 | ||||
-rw-r--r-- | kexi/widget/relations/kexirelationview.h | 2 | ||||
-rw-r--r-- | kexi/widget/relations/kexirelationviewconnection.cpp | 4 | ||||
-rw-r--r-- | kexi/widget/relations/kexirelationviewconnection.h | 2 | ||||
-rw-r--r-- | kexi/widget/relations/kexirelationviewtable.cpp | 16 | ||||
-rw-r--r-- | kexi/widget/relations/kexirelationviewtable.h | 12 | ||||
-rw-r--r-- | kexi/widget/relations/kexirelationwidget.cpp | 6 | ||||
-rw-r--r-- | kexi/widget/relations/kexirelationwidget.h | 2 |
8 files changed, 27 insertions, 27 deletions
diff --git a/kexi/widget/relations/kexirelationview.cpp b/kexi/widget/relations/kexirelationview.cpp index b1fc22d2..18c19ef9 100644 --- a/kexi/widget/relations/kexirelationview.cpp +++ b/kexi/widget/relations/kexirelationview.cpp @@ -45,8 +45,8 @@ #include "kexirelationviewconnection.h" #include <kexi.h> -KexiRelationView::KexiRelationView(TQWidget *tqparent, const char *name) - : TQScrollView(tqparent, name, WStaticContents) +KexiRelationView::KexiRelationView(TQWidget *parent, const char *name) + : TQScrollView(parent, name, WStaticContents) { // m_relation=relation; // m_relation->incUsageCount(); @@ -74,11 +74,11 @@ KexiRelationView::KexiRelationView(TQWidget *tqparent, const char *name) */ #if 0 m_removeSelectedTableQueryAction = new KAction(i18n("&Hide Selected Table/Query"), "editdelete", "", - this, TQT_SLOT(removeSelectedTableQuery()), tqparent->actionCollection(), "relationsview_removeSelectedTableQuery"); + this, TQT_SLOT(removeSelectedTableQuery()), parent->actionCollection(), "relationsview_removeSelectedTableQuery"); m_removeSelectedConnectionAction = new KAction(i18n("&Remove Selected Relationship"), "button_cancel", "", - this, TQT_SLOT(removeSelectedConnection()), tqparent->actionCollection(), "relationsview_removeSelectedConnection"); + this, TQT_SLOT(removeSelectedConnection()), parent->actionCollection(), "relationsview_removeSelectedConnection"); m_openSelectedTableQueryAction = new KAction(i18n("&Open Selected Table/Query"), "", "", - this, TQT_SLOT(openSelectedTableQuery()), 0/*tqparent->actionCollection()*/, "relationsview_openSelectedTableQuery"); + this, TQT_SLOT(openSelectedTableQuery()), 0/*parent->actionCollection()*/, "relationsview_openSelectedTableQuery"); #endif // invalidateActions(); diff --git a/kexi/widget/relations/kexirelationview.h b/kexi/widget/relations/kexirelationview.h index dcf78834..6bc31b31 100644 --- a/kexi/widget/relations/kexirelationview.h +++ b/kexi/widget/relations/kexirelationview.h @@ -71,7 +71,7 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationView : public TQScrollView TQ_OBJECT public: - KexiRelationView(TQWidget *tqparent, const char *name=0); + KexiRelationView(TQWidget *parent, const char *name=0); virtual ~KexiRelationView(); //! \return a dictionary of added tables diff --git a/kexi/widget/relations/kexirelationviewconnection.cpp b/kexi/widget/relations/kexirelationviewconnection.cpp index f294b49c..c0635c1b 100644 --- a/kexi/widget/relations/kexirelationviewconnection.cpp +++ b/kexi/widget/relations/kexirelationviewconnection.cpp @@ -40,9 +40,9 @@ KexiRelationViewConnection::KexiRelationViewConnection( KexiRelationViewTableContainer *masterTbl, KexiRelationViewTableContainer *detailsTbl, - SourceConnection &c, KexiRelationView *tqparent) + SourceConnection &c, KexiRelationView *parent) { - m_parent = tqparent; + m_parent = parent; // kdDebug() << "KexiRelationViewConnection::KexiRelationViewConnection()" << endl; m_masterTable = masterTbl; diff --git a/kexi/widget/relations/kexirelationviewconnection.h b/kexi/widget/relations/kexirelationviewconnection.h index 7b596210..745a5e23 100644 --- a/kexi/widget/relations/kexirelationviewconnection.h +++ b/kexi/widget/relations/kexirelationviewconnection.h @@ -33,7 +33,7 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationViewConnection public: KexiRelationViewConnection(KexiRelationViewTableContainer *masterTbl, - KexiRelationViewTableContainer *detailsTbl, struct SourceConnection &s, KexiRelationView *tqparent); + KexiRelationViewTableContainer *detailsTbl, struct SourceConnection &s, KexiRelationView *parent); ~KexiRelationViewConnection(); diff --git a/kexi/widget/relations/kexirelationviewtable.cpp b/kexi/widget/relations/kexirelationviewtable.cpp index a45a9ad1..94a17f4d 100644 --- a/kexi/widget/relations/kexirelationviewtable.cpp +++ b/kexi/widget/relations/kexirelationviewtable.cpp @@ -43,10 +43,10 @@ #include "kexirelationview.h" KexiRelationViewTableContainer::KexiRelationViewTableContainer( - KexiRelationView *tqparent, KexiDB::TableOrQuerySchema *schema) - : TQFrame(tqparent,"KexiRelationViewTableContainer" ) + KexiRelationView *parent, KexiDB::TableOrQuerySchema *schema) + : TQFrame(parent,"KexiRelationViewTableContainer" ) // , m_table(t) - , m_parent(tqparent) + , m_parent(parent) // , m_mousePressed(false) { @@ -66,7 +66,7 @@ KexiRelationViewTableContainer::KexiRelationViewTableContainer( connect(m_tableHeader,TQT_SIGNAL(moved()),this,TQT_SLOT(moved())); connect(m_tableHeader, TQT_SIGNAL(endDrag()), this, TQT_SIGNAL(endDrag())); - m_tableView = new KexiRelationViewTable(schema, tqparent, this, "KexiRelationViewTable"); + m_tableView = new KexiRelationViewTable(schema, parent, this, "KexiRelationViewTable"); //m_tableHeader->setFocusProxy( m_tableView ); m_tableView->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum)); @@ -176,8 +176,8 @@ void KexiRelationViewTableContainer::unsetFocus() //BEGIN KexiRelatoinViewTableContainerHeader KexiRelationViewTableContainerHeader::KexiRelationViewTableContainerHeader( - const TQString& text,TQWidget *tqparent) - :TQLabel(text,tqparent),m_dragging(false) + const TQString& text,TQWidget *parent) + :TQLabel(text,parent),m_dragging(false) { setMargin(1); m_activeBG = KGlobalSettings::activeTitleColor(); @@ -292,8 +292,8 @@ void KexiRelationViewTableContainerHeader::mouseReleaseEvent(TQMouseEvent *ev) { //===================================================================================== KexiRelationViewTable::KexiRelationViewTable(KexiDB::TableOrQuerySchema* tableOrQuerySchema, - KexiRelationView *view, TQWidget *tqparent, const char *name) - : KexiFieldListView(tqparent, name, KexiFieldListView::ShowAsterisk) + KexiRelationView *view, TQWidget *parent, const char *name) + : KexiFieldListView(parent, name, KexiFieldListView::ShowAsterisk) , m_view(view) { setSchema(tableOrQuerySchema); diff --git a/kexi/widget/relations/kexirelationviewtable.h b/kexi/widget/relations/kexirelationviewtable.h index deabc2e0..5c622dad 100644 --- a/kexi/widget/relations/kexirelationviewtable.h +++ b/kexi/widget/relations/kexirelationviewtable.h @@ -43,9 +43,9 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationViewTableContainer : public TQFrame TQ_OBJECT public: -// KexiRelationViewTableContainer(KexiRelationView *tqparent, KexiDB::TableSchema *t); +// KexiRelationViewTableContainer(KexiRelationView *parent, KexiDB::TableSchema *t); KexiRelationViewTableContainer( - KexiRelationView *tqparent, KexiDB::TableOrQuerySchema *schema); + KexiRelationView *parent, KexiDB::TableOrQuerySchema *schema); virtual ~KexiRelationViewTableContainer(); @@ -85,7 +85,7 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationViewTableContainer : public TQFrame class KEXIRELATIONSVIEW_EXPORT KexiRelationViewTableItem : public KListViewItem { public: - KexiRelationViewTableItem(TQListView *tqparent, TQListViewItem *after, + KexiRelationViewTableItem(TQListView *parent, TQListViewItem *after, TQString key, TQString field); virtual void paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r ); };*/ @@ -98,8 +98,8 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationViewTable : public KexiFieldListView public: KexiRelationViewTable(KexiDB::TableOrQuerySchema* tableOrQuerySchema, - KexiRelationView *view, TQWidget *tqparent, const char *name = 0); -// KexiRelationViewTable(TQWidget *tqparent, KexiRelationView *view, KexiDB::TableSchema *t, const char *name=0); + KexiRelationView *view, TQWidget *parent, const char *name = 0); +// KexiRelationViewTable(TQWidget *parent, KexiRelationView *view, KexiDB::TableSchema *t, const char *name=0); virtual ~KexiRelationViewTable(); // KexiDB::TableSchema *table() const { return m_table; }; @@ -133,7 +133,7 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationViewTableContainerHeader : public TQL Q_OBJECT TQ_OBJECT public: - KexiRelationViewTableContainerHeader(const TQString& text,TQWidget *tqparent); + KexiRelationViewTableContainerHeader(const TQString& text,TQWidget *parent); virtual ~KexiRelationViewTableContainerHeader(); virtual void setFocus(); diff --git a/kexi/widget/relations/kexirelationwidget.cpp b/kexi/widget/relations/kexirelationwidget.cpp index ee9caeed..4b952163 100644 --- a/kexi/widget/relations/kexirelationwidget.cpp +++ b/kexi/widget/relations/kexirelationwidget.cpp @@ -41,9 +41,9 @@ #include "kexirelationviewtable.h" #include "kexirelationviewconnection.h" -KexiRelationWidget::KexiRelationWidget(KexiMainWindow *win, TQWidget *tqparent, +KexiRelationWidget::KexiRelationWidget(KexiMainWindow *win, TQWidget *parent, const char *name) - : KexiViewBase(win, tqparent, name) + : KexiViewBase(win, parent, name) , m_win(win) { m_conn = m_win->project()->dbConnection(); @@ -118,7 +118,7 @@ KexiRelationWidget::KexiRelationWidget(KexiMainWindow *win, TQWidget *tqparent, if(!embedd) { /*todo setContextHelp(i18n("Relations"), i18n("To create a relationship simply drag the source field onto the target field. " - "An arrowhead is used to show which table is the tqparent (master) and which table is the child (slave) in the relationship."));*/ + "An arrowhead is used to show which table is the parent (master) and which table is the child (slave) in the relationship."));*/ } #endif // else diff --git a/kexi/widget/relations/kexirelationwidget.h b/kexi/widget/relations/kexirelationwidget.h index 20a70174..39ac549a 100644 --- a/kexi/widget/relations/kexirelationwidget.h +++ b/kexi/widget/relations/kexirelationwidget.h @@ -47,7 +47,7 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationWidget : public KexiViewBase TQ_OBJECT public: - KexiRelationWidget(KexiMainWindow *win, TQWidget *tqparent, const char *name=0); + KexiRelationWidget(KexiMainWindow *win, TQWidget *parent, const char *name=0); virtual ~KexiRelationWidget(); //! \return a dictionary of added tables |