summaryrefslogtreecommitdiffstats
path: root/kexi/widget/relations/kexirelationviewconnection.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/widget/relations/kexirelationviewconnection.h')
-rw-r--r--kexi/widget/relations/kexirelationviewconnection.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kexi/widget/relations/kexirelationviewconnection.h b/kexi/widget/relations/kexirelationviewconnection.h
index 699fdf4f..7b596210 100644
--- a/kexi/widget/relations/kexirelationviewconnection.h
+++ b/kexi/widget/relations/kexirelationviewconnection.h
@@ -21,10 +21,10 @@
#ifndef KEXIRELATIONVIEWCONNECTION_H
#define KEXIRELATIONVIEWCONNECTION_H
-#include <qstring.h>
-#include <qguardedptr.h>
+#include <tqstring.h>
+#include <tqguardedptr.h>
-class QPainter;
+class TQPainter;
class KexiRelationViewTableContainer;
class KexiRelationView;
@@ -33,7 +33,7 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationViewConnection
public:
KexiRelationViewConnection(KexiRelationViewTableContainer *masterTbl,
- KexiRelationViewTableContainer *detailsTbl, struct SourceConnection &s, KexiRelationView *parent);
+ KexiRelationViewTableContainer *detailsTbl, struct SourceConnection &s, KexiRelationView *tqparent);
~KexiRelationViewConnection();
@@ -43,33 +43,33 @@ class KEXIRELATIONSVIEW_EXPORT KexiRelationViewConnection
http://www.c-plusplus.de ;)
*/
- void drawConnection(QPainter *p);
+ void drawConnection(TQPainter *p);
bool selected() { return m_selected; }
void setSelected(bool s) { m_selected = s; }
- const QRect connectionRect();
- const QRect oldRect() const { return m_oldRect; }
+ const TQRect connectionRect();
+ const TQRect oldRect() const { return m_oldRect; }
KexiRelationViewTableContainer *masterTable() { return m_masterTable; }
KexiRelationViewTableContainer *detailsTable() { return m_detailsTable; }
- QString masterField() const { return m_masterField; }
- QString detailsField() const { return m_detailsField; }
+ TQString masterField() const { return m_masterField; }
+ TQString detailsField() const { return m_detailsField; }
- bool matchesPoint(const QPoint &p, int tolerance=3);
+ bool matchesPoint(const TQPoint &p, int tolerance=3);
// SourceConnection connection() { return m_conn; }
- QString toString() const;
+ TQString toString() const;
private:
- QGuardedPtr<KexiRelationViewTableContainer> m_masterTable;
- QGuardedPtr<KexiRelationViewTableContainer> m_detailsTable;
- QString m_masterField;
- QString m_detailsField;
- QRect m_oldRect;
+ TQGuardedPtr<KexiRelationViewTableContainer> m_masterTable;
+ TQGuardedPtr<KexiRelationViewTableContainer> m_detailsTable;
+ TQString m_masterField;
+ TQString m_detailsField;
+ TQRect m_oldRect;
bool m_selected;
- QGuardedPtr<KexiRelationView> m_parent;
+ TQGuardedPtr<KexiRelationView> m_parent;
};
#endif