From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/formeditor/connectiondialog.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'kexi/formeditor/connectiondialog.h') diff --git a/kexi/formeditor/connectiondialog.h b/kexi/formeditor/connectiondialog.h index 3e6ac07b..4f1a9a28 100644 --- a/kexi/formeditor/connectiondialog.h +++ b/kexi/formeditor/connectiondialog.h @@ -21,15 +21,15 @@ #ifndef FORMCONNECTIONDIALOG_H #define FORMCONNECTIONDIALOG_H -#include +#include #include namespace KexiDB { class ResultInfo; } -class QLabel; -class QButton; +class TQLabel; +class TQButton; class KexiTableView; class KexiTableViewData; class KexiTableItem; @@ -46,9 +46,10 @@ class Connection; class KFORMEDITOR_EXPORT ConnectionDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - ConnectionDialog(QWidget *parent); + ConnectionDialog(TQWidget *tqparent); ~ConnectionDialog() {;} /*! Displays as modal dialog, to edit connections in Form::connectionBuffer(). */ @@ -59,7 +60,7 @@ class KFORMEDITOR_EXPORT ConnectionDialog : public KDialogBase void setStatusOk(KexiTableItem *item = 0); /*! Used when connection is wrong. Displays a message in details widget and changes icon in 'OK?' column. \a msg is the message explaining what's wrong. */ - void setStatusError(const QString &msg, KexiTableItem *item = 0); + void setStatusError(const TQString &msg, KexiTableItem *item = 0); //! Inits table data, columns, etc. void initTable(); /*! Updates the widget list (shown in receiver and sender columns). Then fill in the table with the connections in m_buffer. */ @@ -71,7 +72,7 @@ class KFORMEDITOR_EXPORT ConnectionDialog : public KDialogBase protected slots: /*! Slot called when the user modifies a cell. Signal and/or slot cells are cleared if necessary (not valid anymore). */ - void slotCellChanged(KexiTableItem*, int, QVariant&, KexiDB::ResultInfo*); + void slotCellChanged(KexiTableItem*, int, TQVariant&, KexiDB::ResultInfo*); /*! This function checks if the connection represented by KexiTableItem \a item is valid. It checks if all args (sender, receiver, signal and slot) are given, and then if signal/slot args are compatible (should be always true, as we don't show non-compatible slots). It calls \ref setStatusOk() or \ref setStatusError() following the result of checks. */ @@ -105,8 +106,8 @@ class KFORMEDITOR_EXPORT ConnectionDialog : public KDialogBase KexiTableView *m_table; KexiTableViewData *m_data; KexiTableViewData *m_widgetsColumnData, *m_slotsColumnData, *m_signalsColumnData; - QLabel *m_pixmapLabel, *m_textLabel; - QIntDict m_buttons; //! dict of button (for disabling them) + TQLabel *m_pixmapLabel, *m_textLabel; + TQIntDict m_buttons; //! dict of button (for disabling them) }; } -- cgit v1.2.1