summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexitableview_p.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/widget/tableview/kexitableview_p.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
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
Diffstat (limited to 'kexi/widget/tableview/kexitableview_p.h')
-rw-r--r--kexi/widget/tableview/kexitableview_p.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kexi/widget/tableview/kexitableview_p.h b/kexi/widget/tableview/kexitableview_p.h
index 58fe8574..b0679dfa 100644
--- a/kexi/widget/tableview/kexitableview_p.h
+++ b/kexi/widget/tableview/kexitableview_p.h
@@ -32,10 +32,10 @@
#include <kexidb/roweditbuffer.h>
#include <widget/utils/kexidisplayutils.h>
-#include <qevent.h>
-#include <qtimer.h>
-#include <qvalidator.h>
-#include <qasciidict.h>
+#include <tqevent.h>
+#include <tqtimer.h>
+#include <tqvalidator.h>
+#include <tqasciidict.h>
#include <kpushbutton.h>
#include <ktoolbarbutton.h>
@@ -46,18 +46,18 @@
class KexiTableItem;
class KexiTableRM;
class KexiTableEdit;
-class QLabel;
+class TQLabel;
class KexiTableViewHeader;
//! @short a dynamic tooltip for table view cells
/*! @internal */
-class KexiTableViewCellToolTip : public QToolTip
+class KexiTableViewCellToolTip : public TQToolTip
{
public:
KexiTableViewCellToolTip( KexiTableView * tableView );
virtual ~KexiTableViewCellToolTip();
protected:
- virtual void maybeTip( const QPoint & p );
+ virtual void maybeTip( const TQPoint & p );
KexiTableView *m_tableView;
};
@@ -76,17 +76,17 @@ class KexiTableViewPrivate
KexiTableView *tv;
//! editors: one for each column (indexed by KexiTableViewColumn)
- QPtrDict<KexiTableEdit> editors;
+ TQPtrDict<KexiTableEdit> editors;
int rowHeight;
- QPixmap *pBufferPm;
- QTimer *pUpdateTimer;
+ TQPixmap *pBufferPm;
+ TQTimer *pUpdateTimer;
int menu_id_addRecord;
int menu_id_removeRecord;
#if 0//(js) doesn't work!
- QTimer *scrollTimer;
+ TQTimer *scrollTimer;
#endif
KexiTableView::ScrollDirection scrollDirection;
@@ -119,7 +119,7 @@ class KexiTableViewPrivate
KexiTableView::Appearance appearance;
//! brushes, fonts
- QBrush diagonalGrayPattern;
+ TQBrush diagonalGrayPattern;
//! Parameters for displaying autonumbers
KexiDisplayUtils::DisplayParameters autonumberSignDisplayParameters;
@@ -128,11 +128,11 @@ class KexiTableViewPrivate
KexiDisplayUtils::DisplayParameters defaultValueDisplayParameters;
//! Used by delayed mode of maximizeColumnsWidth()
- QValueList<int> maximizeColumnsWidthOnShow;
+ TQValueList<int> maximizeColumnsWidthOnShow;
/*! Used for delayed call of ensureCellVisible() after show().
It's equal to (-1,-1) if ensureCellVisible() shouldn't e called. */
- QPoint ensureCellVisibleOnShow;
+ TQPoint ensureCellVisibleOnShow;
/*! @internal Changes bottom margin settings, in pixels.
At this time, it's used by KexiComboBoxPopup to decrease margin for popup's table. */
@@ -145,8 +145,8 @@ class KexiTableViewPrivate
int contextMenuKey;
/*! Specifies currently displayed cell tooltip.
- Value of QPoint(-1,-1) means "no tooltip". */
- QPoint recentCellWithToolTip;
+ Value of TQPoint(-1,-1) means "no tooltip". */
+ TQPoint recentCellWithToolTip;
/*! Table cell tooltip */
KexiTableViewCellToolTip *cellToolTip;