home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / tkcombobox.h < prev    next >
Encoding:
C/C++ Source or Header  |  2007-05-30  |  1.2 KB  |  42 lines

  1. /*
  2.  * Kivio - Visual Modelling and Flowcharting
  3.  * Copyright (C) 2000 theKompany.com
  4.  *
  5.  * This program is free software; you can redistribute it and/or
  6.  * modify it under the terms of the GNU General Public License
  7.  * as published by the Free Software Foundation; either version 2
  8.  * of the License, or (at your option) any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to the Free Software
  17.  * Foundation, Inc., 51 Franklin Street, Fifth Floor,
  18.  * Boston, MA 02110-1301, USA.
  19.  */
  20. #ifndef TKCOMBOBOX_H
  21. #define TKCOMBOBOX_H
  22.  
  23. #include <qcombobox.h>
  24. class TKComboBox : public QComboBox
  25. { Q_OBJECT
  26. public:
  27.   TKComboBox(QWidget* parent=0, const char* name=0);
  28.   TKComboBox(bool isEditable, QWidget* parent=0, const char* name=0);
  29.   ~TKComboBox();
  30.  
  31.   void activate();
  32.  
  33. protected:
  34.   void paintEvent(QPaintEvent*);
  35.  
  36. private:
  37.   class TKComboBoxPrivate;
  38.   TKComboBoxPrivate *d;
  39. };
  40.  
  41. #endif
  42.