API reference - Class QLineEditNotation used in Ruby API documentation Description: Binding of QLineEdit Class hierarchy: QLineEdit » QWidget » QObject Sub-classes: EchoMode
Public constructors
Public methods
Public static methods and constants
Protected methods (static, non-static and constructors)
Deprecated methods (protected, public, static, non-static and constructors)
Detailed description[static,const] new QLineEdit_EchoMode ptr NoEchoDescription: Enum constant QLineEdit::NoEcho [static,const] new QLineEdit_EchoMode ptr NormalDescription: Enum constant QLineEdit::Normal [static,const] new QLineEdit_EchoMode ptr PasswordDescription: Enum constant QLineEdit::Password [static,const] new QLineEdit_EchoMode ptr PasswordEchoOnEditDescription: Enum constant QLineEdit::PasswordEchoOnEdit void _createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void _destroyDescription: Explicitly destroys the object Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception. If the object is not owned by the script, this method will do nothing. [const] bool _destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] bool _is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. void _manageDescription: Marks the object as managed by the script side. After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. void _unmanageDescription: Marks the object as no longer owned by the script side. Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. [const] bool acceptableInputDescription: Method bool QLineEdit::hasAcceptableInput() Python specific notes:The object exposes a readable attribute 'acceptableInput'. This is the getter. [virtual] void actionEvent(QActionEvent ptr arg1)Description: Virtual method void QLineEdit::actionEvent(QActionEvent *) This method can be reimplemented in a derived class. [const] Qt_QFlags_AlignmentFlag alignmentDescription: Method QFlags<Qt::AlignmentFlag> QLineEdit::alignment() Python specific notes:The object exposes a readable attribute 'alignment'. This is the getter. void alignment=(const Qt_QFlags_AlignmentFlag flag)Description: Method void QLineEdit::setAlignment(QFlags<Qt::AlignmentFlag> flag) Python specific notes:The object exposes a writable attribute 'alignment'. This is the setter. void backspaceDescription: Method void QLineEdit::backspace() [virtual] void changeEvent(QEvent ptr arg1)Description: Virtual method void QLineEdit::changeEvent(QEvent *) This method can be reimplemented in a derived class. [virtual] void childEvent(QChildEvent ptr arg1)Description: Virtual method void QLineEdit::childEvent(QChildEvent *) This method can be reimplemented in a derived class. void clearDescription: Method void QLineEdit::clear() [virtual] void closeEvent(QCloseEvent ptr arg1)Description: Virtual method void QLineEdit::closeEvent(QCloseEvent *) This method can be reimplemented in a derived class. [const] QCompleter ptr completerDescription: Method QCompleter *QLineEdit::completer() Python specific notes:The object exposes a readable attribute 'completer'. This is the getter. void completer=(QCompleter ptr completer)Description: Method void QLineEdit::setCompleter(QCompleter *completer) Python specific notes:The object exposes a writable attribute 'completer'. This is the setter. [virtual] void contextMenuEvent(QContextMenuEvent ptr arg1)Description: Virtual method void QLineEdit::contextMenuEvent(QContextMenuEvent *) This method can be reimplemented in a derived class. [const] void copyDescription: Method void QLineEdit::copy() void createDescription: Ensures the C++ object is created Use of this method is deprecated. Use _create instead QMenu ptr createStandardContextMenuDescription: Method QMenu *QLineEdit::createStandardContextMenu() void cursorBackward(bool mark,int steps = 1)Description: Method void QLineEdit::cursorBackward(bool mark, int steps) void cursorForward(bool mark,int steps = 1)Description: Method void QLineEdit::cursorForward(bool mark, int steps) [const] int cursorPositionDescription: Method int QLineEdit::cursorPosition() Python specific notes:The object exposes a readable attribute 'cursorPosition'. This is the getter. void cursorPosition=(int arg1)Description: Method void QLineEdit::setCursorPosition(int) Python specific notes:The object exposes a writable attribute 'cursorPosition'. This is the setter. int cursorPositionAt(const QPoint pos)Description: Method int QLineEdit::cursorPositionAt(const QPoint &pos) [event] void cursorPositionChanged(int arg1,int arg2)Description: Signal declaration for QLineEdit::cursorPositionChanged(int, int) You can bind a procedure to this signal. [const] QRect cursorRectDescription: Method QRect QLineEdit::cursorRect() This method is protected and can only be called from inside a derived class. void cursorWordBackward(bool mark)Description: Method void QLineEdit::cursorWordBackward(bool mark) void cursorWordForward(bool mark)Description: Method void QLineEdit::cursorWordForward(bool mark) [event] void customContextMenuRequested(const QPoint pos)Description: Signal declaration for QLineEdit::customContextMenuRequested(const QPoint &pos) You can bind a procedure to this signal. [virtual] void customEvent(QEvent ptr arg1)Description: Virtual method void QLineEdit::customEvent(QEvent *) This method can be reimplemented in a derived class. void cutDescription: Method void QLineEdit::cut() void delDescription: Method void QLineEdit::del() Python specific notes:This method is available as method 'del_' in Python void deselectDescription: Method void QLineEdit::deselect() void destroyDescription: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead [event] void destroyed(QObject ptr arg1)Description: Signal declaration for QLineEdit::destroyed(QObject *) You can bind a procedure to this signal. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead [virtual] void disconnectNotify(string signal)Description: Virtual method void QLineEdit::disconnectNotify(const char *signal) This method can be reimplemented in a derived class. [const] string displayTextDescription: Method QString QLineEdit::displayText() Python specific notes:The object exposes a readable attribute 'displayText'. This is the getter. [const] bool dragEnabledDescription: Method bool QLineEdit::dragEnabled() Python specific notes:The object exposes a readable attribute 'dragEnabled'. This is the getter. void dragEnabled=(bool b)Description: Method void QLineEdit::setDragEnabled(bool b) Python specific notes:The object exposes a writable attribute 'dragEnabled'. This is the setter. [virtual] void dragEnterEvent(QDragEnterEvent ptr arg1)Description: Virtual method void QLineEdit::dragEnterEvent(QDragEnterEvent *) This method can be reimplemented in a derived class. [virtual] void dragLeaveEvent(QDragLeaveEvent ptr e)Description: Virtual method void QLineEdit::dragLeaveEvent(QDragLeaveEvent *e) This method can be reimplemented in a derived class. [virtual] void dragMoveEvent(QDragMoveEvent ptr e)Description: Virtual method void QLineEdit::dragMoveEvent(QDragMoveEvent *e) This method can be reimplemented in a derived class. [virtual] void dropEvent(QDropEvent ptr arg1)Description: Virtual method void QLineEdit::dropEvent(QDropEvent *) This method can be reimplemented in a derived class. [const] QLineEdit_EchoMode echoModeDescription: Method QLineEdit::EchoMode QLineEdit::echoMode() Python specific notes:The object exposes a readable attribute 'echoMode'. This is the getter. void echoMode=(const QLineEdit_EchoMode arg1)Description: Method void QLineEdit::setEchoMode(QLineEdit::EchoMode) Python specific notes:The object exposes a writable attribute 'echoMode'. This is the setter. [event] void editingFinishedDescription: Signal declaration for QLineEdit::editingFinished() You can bind a procedure to this signal. [virtual] void enabledChange(bool arg1)Description: Virtual method void QLineEdit::enabledChange(bool) This method can be reimplemented in a derived class. void end(bool mark)Description: Method void QLineEdit::end(bool mark) [virtual] void enterEvent(QEvent ptr arg1)Description: Virtual method void QLineEdit::enterEvent(QEvent *) This method can be reimplemented in a derived class. [virtual] bool event(QEvent ptr arg1)Description: Virtual method bool QLineEdit::event(QEvent *) This method can be reimplemented in a derived class. [virtual] bool eventFilter(QObject ptr arg1,QEvent ptr arg2)Description: Virtual method bool QLineEdit::eventFilter(QObject *, QEvent *) This method can be reimplemented in a derived class. [virtual] void focusInEvent(QFocusEvent ptr arg1)Description: Virtual method void QLineEdit::focusInEvent(QFocusEvent *) This method can be reimplemented in a derived class. bool focusNextChildDescription: Method bool QLineEdit::focusNextChild() This method is protected and can only be called from inside a derived class. [virtual] bool focusNextPrevChild(bool next)Description: Virtual method bool QLineEdit::focusNextPrevChild(bool next) This method can be reimplemented in a derived class. [virtual] void focusOutEvent(QFocusEvent ptr arg1)Description: Virtual method void QLineEdit::focusOutEvent(QFocusEvent *) This method can be reimplemented in a derived class. bool focusPreviousChildDescription: Method bool QLineEdit::focusPreviousChild() This method is protected and can only be called from inside a derived class. [virtual] void fontChange(const QFont arg1)Description: Virtual method void QLineEdit::fontChange(const QFont &) This method can be reimplemented in a derived class. [const] bool frameDescription: Method bool QLineEdit::hasFrame() Python specific notes:The object exposes a readable attribute 'frame'. This is the getter. void frame=(bool arg1)Description: Method void QLineEdit::setFrame(bool) Python specific notes:The object exposes a writable attribute 'frame'. This is the setter. [const] void getTextMargins(int ptr left,int ptr top,int ptr right,int ptr bottom)Description: Method void QLineEdit::getTextMargins(int *left, int *top, int *right, int *bottom) [const] bool hasAcceptableInputDescription: Method bool QLineEdit::hasAcceptableInput() Python specific notes:The object exposes a readable attribute 'acceptableInput'. This is the getter. [const] bool hasFrameDescription: Method bool QLineEdit::hasFrame() Python specific notes:The object exposes a readable attribute 'frame'. This is the getter. [const] bool hasSelectedTextDescription: Method bool QLineEdit::hasSelectedText() Python specific notes:The object exposes a readable attribute 'hasSelectedText'. This is the getter. [virtual,const] int heightForWidth(int arg1)Description: Virtual method int QLineEdit::heightForWidth(int) This method can be reimplemented in a derived class. [virtual] void hideEvent(QHideEvent ptr arg1)Description: Virtual method void QLineEdit::hideEvent(QHideEvent *) This method can be reimplemented in a derived class. void home(bool mark)Description: Method void QLineEdit::home(bool mark) [const] void initStyleOption(QStyleOptionFrame ptr option)Description: Method void QLineEdit::initStyleOption(QStyleOptionFrame *option) This method is protected and can only be called from inside a derived class. [const] string inputMaskDescription: Method QString QLineEdit::inputMask() Python specific notes:The object exposes a readable attribute 'inputMask'. This is the getter. void inputMask=(string inputMask)Description: Method void QLineEdit::setInputMask(const QString &inputMask) Python specific notes:The object exposes a writable attribute 'inputMask'. This is the setter. [virtual] void inputMethodEvent(QInputMethodEvent ptr arg1)Description: Virtual method void QLineEdit::inputMethodEvent(QInputMethodEvent *) This method can be reimplemented in a derived class. [virtual,const] QVariant inputMethodQuery(const Qt_InputMethodQuery arg1)Description: Virtual method QVariant QLineEdit::inputMethodQuery(Qt::InputMethodQuery) This method can be reimplemented in a derived class. void insert(string arg1)Description: Method void QLineEdit::insert(const QString &) [const] bool isModified?Description: Method bool QLineEdit::isModified() Python specific notes:The object exposes a readable attribute 'modified'. This is the getter. [const] bool isReadOnly?Description: Method bool QLineEdit::isReadOnly() Python specific notes:The object exposes a readable attribute 'readOnly'. This is the getter. [const] bool isRedoAvailable?Description: Method bool QLineEdit::isRedoAvailable() Python specific notes:The object exposes a readable attribute 'redoAvailable'. This is the getter. [const] bool isUndoAvailable?Description: Method bool QLineEdit::isUndoAvailable() Python specific notes:The object exposes a readable attribute 'undoAvailable'. This is the getter. [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead [virtual] void keyPressEvent(QKeyEvent ptr arg1)Description: Virtual method void QLineEdit::keyPressEvent(QKeyEvent *) This method can be reimplemented in a derived class. [virtual] void keyReleaseEvent(QKeyEvent ptr arg1)Description: Virtual method void QLineEdit::keyReleaseEvent(QKeyEvent *) This method can be reimplemented in a derived class. [virtual] void languageChangeDescription: Virtual method void QLineEdit::languageChange() This method can be reimplemented in a derived class. [virtual] void leaveEvent(QEvent ptr arg1)Description: Virtual method void QLineEdit::leaveEvent(QEvent *) This method can be reimplemented in a derived class. [const] int maxLengthDescription: Method int QLineEdit::maxLength() Python specific notes:The object exposes a readable attribute 'maxLength'. This is the getter. void maxLength=(int arg1)Description: Method void QLineEdit::setMaxLength(int) Python specific notes:The object exposes a writable attribute 'maxLength'. This is the setter. [virtual,const] int metric(const QPaintDevice_PaintDeviceMetric arg1)Description: Virtual method int QLineEdit::metric(QPaintDevice::PaintDeviceMetric) This method can be reimplemented in a derived class. [virtual,const] QSize minimumSizeHintDescription: Virtual method QSize QLineEdit::minimumSizeHint() This method can be reimplemented in a derived class. [const] bool modifiedDescription: Method bool QLineEdit::isModified() Python specific notes:The object exposes a readable attribute 'modified'. This is the getter. void modified=(bool arg1)Description: Method void QLineEdit::setModified(bool) Python specific notes:The object exposes a writable attribute 'modified'. This is the setter. [virtual] void mouseDoubleClickEvent(QMouseEvent ptr arg1)Description: Virtual method void QLineEdit::mouseDoubleClickEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mouseMoveEvent(QMouseEvent ptr arg1)Description: Virtual method void QLineEdit::mouseMoveEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mousePressEvent(QMouseEvent ptr arg1)Description: Virtual method void QLineEdit::mousePressEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void mouseReleaseEvent(QMouseEvent ptr arg1)Description: Virtual method void QLineEdit::mouseReleaseEvent(QMouseEvent *) This method can be reimplemented in a derived class. [virtual] void moveEvent(QMoveEvent ptr arg1)Description: Virtual method void QLineEdit::moveEvent(QMoveEvent *) This method can be reimplemented in a derived class. [static] new QLineEdit new(QWidget ptr parent = 0)Description: Constructor QLineEdit::QLineEdit(QWidget *parent) This method creates an object of class QLineEdit. Python specific notes:This method is the default initializer of the object [static] new QLineEdit new(string arg1,QWidget ptr parent = 0)Description: Constructor QLineEdit::QLineEdit(const QString &, QWidget *parent) This method creates an object of class QLineEdit. Python specific notes:This method is the default initializer of the object [virtual,const] QPaintEngine ptr paintEngineDescription: Virtual method QPaintEngine *QLineEdit::paintEngine() This method can be reimplemented in a derived class. [virtual] void paintEvent(QPaintEvent ptr arg1)Description: Virtual method void QLineEdit::paintEvent(QPaintEvent *) This method can be reimplemented in a derived class. [virtual] void paletteChange(const QPalette arg1)Description: Virtual method void QLineEdit::paletteChange(const QPalette &) This method can be reimplemented in a derived class. void pasteDescription: Method void QLineEdit::paste() void qt_create(unsigned long arg1 = 0,bool initializeWindow = true,bool destroyOldWindow = true)Description: Method void QLineEdit::create(WId, bool initializeWindow, bool destroyOldWindow) This method is protected and can only be called from inside a derived class. void qt_destroy(bool destroyWindow = true,bool destroySubWindows = true)Description: Method void QLineEdit::destroy(bool destroyWindow, bool destroySubWindows) This method is protected and can only be called from inside a derived class. [const] bool readOnlyDescription: Method bool QLineEdit::isReadOnly() Python specific notes:The object exposes a readable attribute 'readOnly'. This is the getter. void readOnly=(bool arg1)Description: Method void QLineEdit::setReadOnly(bool) Python specific notes:The object exposes a writable attribute 'readOnly'. This is the setter. [const] int receivers(string signal)Description: Method int QLineEdit::receivers(const char *signal) This method is protected and can only be called from inside a derived class. void redoDescription: Method void QLineEdit::redo() [const] bool redoAvailableDescription: Method bool QLineEdit::isRedoAvailable() Python specific notes:The object exposes a readable attribute 'redoAvailable'. This is the getter. void resetInputContextDescription: Method void QLineEdit::resetInputContext() This method is protected and can only be called from inside a derived class. [virtual] void resizeEvent(QResizeEvent ptr arg1)Description: Virtual method void QLineEdit::resizeEvent(QResizeEvent *) This method can be reimplemented in a derived class. [event] void returnPressedDescription: Signal declaration for QLineEdit::returnPressed() You can bind a procedure to this signal. void selectAllDescription: Method void QLineEdit::selectAll() [const] string selectedTextDescription: Method QString QLineEdit::selectedText() Python specific notes:The object exposes a readable attribute 'selectedText'. This is the getter. [event] void selectionChangedDescription: Signal declaration for QLineEdit::selectionChanged() You can bind a procedure to this signal. [const] int selectionStartDescription: Method int QLineEdit::selectionStart() [const] QObject ptr senderDescription: Method QObject *QLineEdit::sender() This method is protected and can only be called from inside a derived class. void setAlignment(const Qt_QFlags_AlignmentFlag flag)Description: Method void QLineEdit::setAlignment(QFlags<Qt::AlignmentFlag> flag) Python specific notes:The object exposes a writable attribute 'alignment'. This is the setter. void setCompleter(QCompleter ptr completer)Description: Method void QLineEdit::setCompleter(QCompleter *completer) Python specific notes:The object exposes a writable attribute 'completer'. This is the setter. void setCursorPosition(int arg1)Description: Method void QLineEdit::setCursorPosition(int) Python specific notes:The object exposes a writable attribute 'cursorPosition'. This is the setter. void setDragEnabled(bool b)Description: Method void QLineEdit::setDragEnabled(bool b) Python specific notes:The object exposes a writable attribute 'dragEnabled'. This is the setter. void setEchoMode(const QLineEdit_EchoMode arg1)Description: Method void QLineEdit::setEchoMode(QLineEdit::EchoMode) Python specific notes:The object exposes a writable attribute 'echoMode'. This is the setter. void setFrame(bool arg1)Description: Method void QLineEdit::setFrame(bool) Python specific notes:The object exposes a writable attribute 'frame'. This is the setter. void setInputMask(string inputMask)Description: Method void QLineEdit::setInputMask(const QString &inputMask) Python specific notes:The object exposes a writable attribute 'inputMask'. This is the setter. void setMaxLength(int arg1)Description: Method void QLineEdit::setMaxLength(int) Python specific notes:The object exposes a writable attribute 'maxLength'. This is the setter. void setModified(bool arg1)Description: Method void QLineEdit::setModified(bool) Python specific notes:The object exposes a writable attribute 'modified'. This is the setter. void setReadOnly(bool arg1)Description: Method void QLineEdit::setReadOnly(bool) Python specific notes:The object exposes a writable attribute 'readOnly'. This is the setter. void setSelection(int arg1,int arg2)Description: Method void QLineEdit::setSelection(int, int) void setText(string arg1)Description: Method void QLineEdit::setText(const QString &) Python specific notes:The object exposes a writable attribute 'text'. This is the setter. void setTextMargins(int left,int top,int right,int bottom)Description: Method void QLineEdit::setTextMargins(int left, int top, int right, int bottom) void setTextMargins(const QMargins margins)Description: Method void QLineEdit::setTextMargins(const QMargins &margins) Python specific notes:The object exposes a writable attribute 'textMargins'. This is the setter. void setValidator(const QValidator ptr arg1)Description: Method void QLineEdit::setValidator(const QValidator *) Python specific notes:The object exposes a writable attribute 'validator'. This is the setter. [virtual] void setVisible(bool visible)Description: Virtual method void QLineEdit::setVisible(bool visible) This method can be reimplemented in a derived class. [virtual] void showEvent(QShowEvent ptr arg1)Description: Virtual method void QLineEdit::showEvent(QShowEvent *) This method can be reimplemented in a derived class. [virtual,const] QSize sizeHintDescription: Virtual method QSize QLineEdit::sizeHint() This method can be reimplemented in a derived class. [static] QMetaObject staticMetaObjectDescription: Obtains the static MetaObject for this class. [virtual] void styleChange(QStyle arg1)Description: Virtual method void QLineEdit::styleChange(QStyle &) This method can be reimplemented in a derived class. [virtual] void tabletEvent(QTabletEvent ptr arg1)Description: Virtual method void QLineEdit::tabletEvent(QTabletEvent *) This method can be reimplemented in a derived class. [const] string textDescription: Method QString QLineEdit::text() Python specific notes:The object exposes a readable attribute 'text'. This is the getter. void text=(string arg1)Description: Method void QLineEdit::setText(const QString &) Python specific notes:The object exposes a writable attribute 'text'. This is the setter. [event] void textChanged(string arg1)Description: Signal declaration for QLineEdit::textChanged(const QString &) You can bind a procedure to this signal. [event] void textEdited(string arg1)Description: Signal declaration for QLineEdit::textEdited(const QString &) You can bind a procedure to this signal. [const] QMargins textMarginsDescription: Method QMargins QLineEdit::textMargins() Python specific notes:The object exposes a readable attribute 'textMargins'. This is the getter. void textMargins=(const QMargins margins)Description: Method void QLineEdit::setTextMargins(const QMargins &margins) Python specific notes:The object exposes a writable attribute 'textMargins'. This is the setter. [virtual] void timerEvent(QTimerEvent ptr arg1)Description: Virtual method void QLineEdit::timerEvent(QTimerEvent *) This method can be reimplemented in a derived class. [static] string tr(string s,string c = 0)Description: Static method QString QLineEdit::tr(const char *s, const char *c) This method is static and can be called without an instance. [static] string tr(string s,string c,int n)Description: Static method QString QLineEdit::tr(const char *s, const char *c, int n) This method is static and can be called without an instance. [static] string trUtf8(string s,string c = 0)Description: Static method QString QLineEdit::trUtf8(const char *s, const char *c) This method is static and can be called without an instance. [static] string trUtf8(string s,string c,int n)Description: Static method QString QLineEdit::trUtf8(const char *s, const char *c, int n) This method is static and can be called without an instance. void undoDescription: Method void QLineEdit::undo() [const] bool undoAvailableDescription: Method bool QLineEdit::isUndoAvailable() Python specific notes:The object exposes a readable attribute 'undoAvailable'. This is the getter. void updateMicroFocusDescription: Method void QLineEdit::updateMicroFocus() This method is protected and can only be called from inside a derived class. [const] const QValidator ptr validatorDescription: Method const QValidator *QLineEdit::validator() Python specific notes:The object exposes a readable attribute 'validator'. This is the getter. void validator=(const QValidator ptr arg1)Description: Method void QLineEdit::setValidator(const QValidator *) Python specific notes:The object exposes a writable attribute 'validator'. This is the setter. [virtual] void wheelEvent(QWheelEvent ptr arg1)Description: Virtual method void QLineEdit::wheelEvent(QWheelEvent *) This method can be reimplemented in a derived class. [virtual] void windowActivationChange(bool arg1)Description: Virtual method void QLineEdit::windowActivationChange(bool) This method can be reimplemented in a derived class. |