KVIrc  4.9.2
DeveloperAPIs
KvsObject_comboBox.h
Go to the documentation of this file.
1 #ifndef _CLASS_COMBOBOX_H_
2 #define _CLASS_COMBOBOX_H_
3 
4 //=============================================================================
5 //
6 // File : KvsObject_comboBox.h
7 // Creation date : Wed 13 Sep 2000 02:42:05 CEST by Krzysztof Godlewski
8 //
9 // This file is part of the KVIrc IRC client distribution
10 // Copyright (C) 2000 Krzysztof Godlewski
11 // Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
12 //
13 // This program is FREE software. You can redistribute it and/or
14 // modify it under the terms of the GNU General Public License
15 // as published by the Free Software Foundation; either version 2
16 // of the License, or (at your option) any later version.
17 //
18 // This program is distributed in the HOPE that it will be USEFUL,
19 // but WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21 // See the GNU General Public License for more details.
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program. If not, write to the Free Software Foundation,
25 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 //
27 //=============================================================================
28 
29 #include <qcombobox.h>
30 #include "KvsObject_widget.h"
31 #include "object_macros.h"
32 
34 {
35  Q_OBJECT
36 public:
38 public:
39  QWidget * widget() { return (QWidget *)object(); };
40 protected:
41  virtual bool init(KviKvsRunTimeContext * pContext, KviKvsVariantList * pParams);
42 
47  //#warning "$insertPixItem"
48  //#warning "$changePixItem"
49 
61 
63 
68 protected slots:
69  void editTextChanged(const QString &);
70  void slotActivated(int);
71 };
72 
73 #endif // !_CLASS_COMBOBOX_H_
Definition: KvsObject_widget.h:39
bool popup(KviKvsObjectFunctionCall *c)
bool clear(KviKvsObjectFunctionCall *c)
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c
Definition: KviIrcNumericCodes.h:391
void editTextChanged(const QString &)
Definition: KvsObject_comboBox.cpp:352
QWidget * widget()
Definition: KvsObject_comboBox.h:39
bool editable(KviKvsObjectFunctionCall *c)
Class to handle variant variables lists.
Definition: KviKvsVariantList.h:41
bool textLineEdit(KviKvsObjectFunctionCall *c)
bool textAt(KviKvsObjectFunctionCall *c)
bool current(KviKvsObjectFunctionCall *c)
Definition: KviKvsObjectFunctionCall.h:33
bool setEditable(KviKvsObjectFunctionCall *c)
bool insertItem(KviKvsObjectFunctionCall *c)
bool maxCount(KviKvsObjectFunctionCall *c)
bool setEditText(KviKvsObjectFunctionCall *c)
bool setCurrentItem(KviKvsObjectFunctionCall *c)
bool currentItem(KviKvsObjectFunctionCall *c)
void slotActivated(int)
Definition: KvsObject_comboBox.cpp:358
bool changeItem(KviKvsObjectFunctionCall *c)
#define KVSO_DECLARE_OBJECT(__className)
Definition: object_macros.h:33
bool setInsertionPolicy(KviKvsObjectFunctionCall *c)
bool setMaxCount(KviKvsObjectFunctionCall *c)
bool count(KviKvsObjectFunctionCall *c)
Definition: KvsObject_comboBox.h:33
QObject * object() const
Definition: KviKvsObject.h:94
virtual bool init(KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
Definition: KvsObject_comboBox.cpp:133
Definition: KviKvsRunTimeContext.h:103
bool setTextLineEdit(KviKvsObjectFunctionCall *c)
bool removeItem(KviKvsObjectFunctionCall *c)
bool activatedEvent(KviKvsObjectFunctionCall *c)
bool textChangedEvent(KviKvsObjectFunctionCall *c)