00001 /* 00002 * Copyright (C) 2003 Fredrik Höglund <fredrik@kde.org> 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public 00006 * License version 2 as published by the Free Software Foundation. 00007 * 00008 * This program is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU General Public License 00014 * along with this program; see the file COPYING. If not, write to 00015 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00016 * Boston, MA 02110-1301, USA. 00017 */ 00018 00019 00020 #ifndef __CURSORPREVIEW_H 00021 #define __CURSORPREVIEW_H 00022 00023 00024 class PreviewCursor; 00025 00026 00027 class PreviewWidget : public QWidget 00028 { 00029 public: 00030 PreviewWidget( TQWidget *parent = NULL, const char *name = NULL ); 00031 ~PreviewWidget(); 00032 00033 void setTheme( const TQString & ); 00034 00035 void paintEvent( TQPaintEvent * ); 00036 void mouseMoveEvent( TQMouseEvent * ); 00037 00038 private: 00039 PreviewCursor **cursors; 00040 int current; 00041 }; // class CursorPreview 00042 00043 00044 00045 #endif 00046 00047 // vim: set noet ts=4 sw=4:
1.6.1