diff options
author | Reuben Thomas <rrt@sc3d.org> | 2007-11-20 21:32:27 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2007-11-20 21:32:27 +0000 |
commit | e1408c833c9c8dfc99f75d22faf6d50aeca4571c (patch) | |
tree | da36a07c05b291fd47f2a4b0669a8f596e807f23 /kde2/plugins/pie3dwidget.h | |
parent | 5ac307594ebbe560078317d6c0177b1a352263e1 (diff) | |
download | plptools-e1408c833c9c8dfc99f75d22faf6d50aeca4571c.tar.gz plptools-e1408c833c9c8dfc99f75d22faf6d50aeca4571c.tar.bz2 plptools-e1408c833c9c8dfc99f75d22faf6d50aeca4571c.zip |
Remove the KDE code. It was nice, but it's nicer just to treat the
Psion as a file system, and use plpftp to do out-of-band things. Also,
with KDE 4 this code will surely stop working.
Diffstat (limited to 'kde2/plugins/pie3dwidget.h')
-rw-r--r-- | kde2/plugins/pie3dwidget.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/kde2/plugins/pie3dwidget.h b/kde2/plugins/pie3dwidget.h deleted file mode 100644 index d269989..0000000 --- a/kde2/plugins/pie3dwidget.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * This file is part of the KDE System Control Tool, - * Copyright (C)1999 Thorsten Westheider <twesthei@physik.uni-bielefeld.de> - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - * - * Pie3DWidget was inspired by Christian Poulter's KDiskFree - * - ****************************************************************************/ - -#ifndef __PIE3DWIDGET_H -#define __PIE3DWIDGET_H - -#include <qwidget.h> -#include <qptrlist.h> - -#include "pie3dpiece.h" - - -class Pie3DWidget : public QWidget -{ - public: - - Pie3DWidget(QWidget *parent = 0L, const char *name = 0L); - ~Pie3DWidget() {} - - void addPiece(int size, const QColor&); - - virtual int heightForWidth(int w) const; - virtual QSize minimumSizeHint() const; - virtual QSize sizeHint() const; - - protected: - - virtual void paintEvent(QPaintEvent *); - - private: - - int _totalsize; - QList<Pie3DPiece> _piecelist; -}; - - -#endif |