diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/widget/tableview/kexidatatableview.cpp | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-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/kexidatatableview.cpp')
-rw-r--r-- | kexi/widget/tableview/kexidatatableview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/widget/tableview/kexidatatableview.cpp b/kexi/widget/tableview/kexidatatableview.cpp index 9248e890..7d7dbde6 100644 --- a/kexi/widget/tableview/kexidatatableview.cpp +++ b/kexi/widget/tableview/kexidatatableview.cpp @@ -19,8 +19,8 @@ * Boston, MA 02110-1301, USA. */ -#include <qtimer.h> -#include <qapplication.h> +#include <tqtimer.h> +#include <tqapplication.h> #include <kmessagebox.h> #include <klocale.h> @@ -33,14 +33,14 @@ #include "kexidatatableview.h" -KexiDataTableView::KexiDataTableView(QWidget *parent, const char *name) - : KexiTableView(0, parent, name) +KexiDataTableView::KexiDataTableView(TQWidget *tqparent, const char *name) + : KexiTableView(0, tqparent, name) { init(); } -KexiDataTableView::KexiDataTableView(QWidget *parent, const char *name, KexiDB::Cursor *cursor) - : KexiTableView(0, parent, name) +KexiDataTableView::KexiDataTableView(TQWidget *tqparent, const char *name, KexiDB::Cursor *cursor) + : KexiTableView(0, tqparent, name) { init(); setData(cursor); @@ -59,14 +59,14 @@ KexiDataTableView::init() // m_records = 0; // m_first = false; -// connect(this, SIGNAL(contentsMoving(int, int)), this, SLOT(slotMoving(int))); -// connect(verticalScrollBar(), SIGNAL(sliderMoved(int)), this, SLOT(slotMoving(int))); +// connect(this, TQT_SIGNAL(contentsMoving(int, int)), this, TQT_SLOT(slotMoving(int))); +// connect(verticalScrollBar(), TQT_SIGNAL(sliderMoved(int)), this, TQT_SLOT(slotMoving(int))); } /*void KexiDataTableView::initActions(KActionCollection *col) { KexiTableView::initActions(col); - new KAction(i18n("Filter"), "filter", 0, this, SLOT(filter()), col, "tablepart_filter"); + new KAction(i18n("Filter"), "filter", 0, this, TQT_SLOT(filter()), col, "tablepart_filter"); }*/ bool KexiDataTableView::setData(KexiDB::Cursor *cursor) @@ -105,7 +105,7 @@ bool KexiDataTableView::setData(KexiDB::Cursor *cursor) KexiTableViewData *tv_data = new KexiTableViewData(m_cursor); - QString caption = m_cursor->query()->caption(); + TQString caption = m_cursor->query()->caption(); if (caption.isEmpty()) caption = m_cursor->query()->name(); |