author | cniehaus <cniehaus> | 2002-09-17 21:57:22 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2002-09-17 21:57:22 (UTC) |
commit | 01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0 (patch) (side-by-side diff) | |
tree | 7a4df143ed5acaedf41eb5b4399117fdaf18bb38 /noncore/apps/oxygen/dataTable.cpp | |
parent | d09947cc7ead59747feb10679ba6ba0a9db20a74 (diff) | |
download | opie-01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0.zip opie-01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0.tar.gz opie-01d31aeaa8d513bde8237a07ea0a48ac1b85c3c0.tar.bz2 |
added the future super-nice-and-cool-widget oxyframe and removed some
obsolte #include<>
Diffstat (limited to 'noncore/apps/oxygen/dataTable.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/oxygen/dataTable.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/noncore/apps/oxygen/dataTable.cpp b/noncore/apps/oxygen/dataTable.cpp index 6c6b9dc..bb786ea 100644 --- a/noncore/apps/oxygen/dataTable.cpp +++ b/noncore/apps/oxygen/dataTable.cpp @@ -3,31 +3,26 @@ * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * ( at your option ) any later version. * * * **************************************************************************/ -#include "oxygen.h" #include "dataTable.h" -#include <qtable.h> OxydataTable::OxydataTable(int numRows, int numCols, QWidget *parent, const char *name) : QTable(numRows, numRows, parent, name) { } void OxydataTable::paintCell( QPainter *p, int row, int col, const QRect &cr, bool selected) { if ( cr.width() == 0 || cr.height() == 0 ) return; selected = FALSE; - int w = cr.width(); - int h = cr.height(); - QTableItem *itm = item( row, col ); QColorGroup colgrp = colorGroup(); if ( itm ) { if ( row%2 ) colgrp.setColor( QColorGroup::Base, QColor( cyan ) ); |