KVIrc  4.9.2
DeveloperAPIs
KvsObject_lineEdit.h
Go to the documentation of this file.
1 #ifndef _CLASS_LINEEDIT_H_
2 #define _CLASS_LINEEDIT_H_
3 //=============================================================================
4 //
5 // File : KvsObject_lineEdit.h
6 // Creation date : Wed 20 Sep 2000 04:34:40 CEST by Krzysztof Godlewski
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 2000 Krzysztof Godlewski
10 // Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
11 //
12 // This program is FREE software. You can redistribute it and/or
13 // modify it under the terms of the GNU General Public License
14 // as published by the Free Software Foundation; either version 2
15 // of the License, or (at your option) any later version.
16 //
17 // This program is distributed in the HOPE that it will be USEFUL,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 // See the GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with this program. If not, write to the Free Software Foundation,
24 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 //
26 //=============================================================================
27 
28 #include "KvsObject_widget.h"
29 
30 //#warning "Signals!"
31 #include <QCompleter>
32 #include "object_macros.h"
33 
35 {
36  Q_OBJECT
37 public:
39 public:
40  QWidget * widget() { return (QWidget *)object(); };
41 protected:
42  QCompleter * m_pCompleter;
43 
44 protected:
45  virtual bool init(KviKvsRunTimeContext * pContext, KviKvsVariantList * pParams);
46 
51 
64 
72 
74 
76 
78 
80 protected slots:
81  void slotreturnPressed();
82  void slotlostFocus();
83  void slottextChanged(const QString &);
84 };
85 
86 #endif // ! _CLASS_LINEEDIT_H_
bool setCursorPosition(KviKvsObjectFunctionCall *c)
void slotlostFocus()
Definition: KvsObject_lineEdit.cpp:532
bool textChangedEvent(KviKvsObjectFunctionCall *c)
Definition: KvsObject_widget.h:39
bool text(KviKvsObjectFunctionCall *c)
bool cursorPosition(KviKvsObjectFunctionCall *c)
void slottextChanged(const QString &)
Definition: KvsObject_lineEdit.cpp:544
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
Class to handle variant variables lists.
Definition: KviKvsVariantList.h:41
bool unsetCompleter(KviKvsObjectFunctionCall *c)
Definition: KviKvsObjectFunctionCall.h:33
QWidget * widget()
Definition: KvsObject_lineEdit.h:40
bool setText(KviKvsObjectFunctionCall *c)
bool setEchoMode(KviKvsObjectFunctionCall *c)
bool lostFocusEvent(KviKvsObjectFunctionCall *c)
bool maxLength(KviKvsObjectFunctionCall *c)
QCompleter * m_pCompleter
Definition: KvsObject_lineEdit.h:40
bool disableCompleter(KviKvsObjectFunctionCall *c)
bool frame(KviKvsObjectFunctionCall *c)
bool enableCompleter(KviKvsObjectFunctionCall *c)
void slotreturnPressed()
Definition: KvsObject_lineEdit.cpp:520
#define KVSO_DECLARE_OBJECT(__className)
Definition: object_macros.h:33
bool clear(KviKvsObjectFunctionCall *c)
Definition: KvsObject_lineEdit.h:34
bool echoMode(KviKvsObjectFunctionCall *c)
bool setCompleter(KviKvsObjectFunctionCall *c)
bool selectAll(KviKvsObjectFunctionCall *c)
QObject * object() const
Definition: KviKvsObject.h:94
bool copy(KviKvsObjectFunctionCall *c)
Definition: KviKvsRunTimeContext.h:103
bool setInputValidator(KviKvsObjectFunctionCall *c)
bool paste(KviKvsObjectFunctionCall *c)
bool cut(KviKvsObjectFunctionCall *c)
bool setSelection(KviKvsObjectFunctionCall *c)
bool dragAndDrop(KviKvsObjectFunctionCall *c)
bool setReadOnly(KviKvsObjectFunctionCall *c)
bool setInputMask(KviKvsObjectFunctionCall *c)
bool returnPressedEvent(KviKvsObjectFunctionCall *c)
bool setFrame(KviKvsObjectFunctionCall *c)
bool setMaxLength(KviKvsObjectFunctionCall *c)
virtual bool init(KviKvsRunTimeContext *pContext, KviKvsVariantList *pParams)
Definition: KvsObject_lineEdit.cpp:239