KTextEditor
katevariableexpansionhelpers.h
Helper dialog that shows a non-modal dialog listing all available variables.
Definition katevariableexpansionhelpers.h:46
void addWidget(QWidget *widget)
Adds widget to the list of widgets that trigger showing this dialog.
Definition katevariableexpansionhelpers.cpp:316
void onObjectDeleted(QObject *object)
Called whenever a widget was deleted.
Definition katevariableexpansionhelpers.cpp:324
void addVariable(const KTextEditor::Variable &variable)
Adds variable to the expansion list view.
Definition katevariableexpansionhelpers.cpp:303
bool eventFilter(QObject *watched, QEvent *event) override
Reimplemented for the following reasons:
Definition katevariableexpansionhelpers.cpp:332
int isEmpty() const
Returns true if no variables were added at all to the dialog.
Definition katevariableexpansionhelpers.cpp:311
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition katetextblock.h:18
QString expandMacro(const QString &input, KTextEditor::View *view)
Expands the input text based on the view.
Definition katevariableexpansionhelpers.cpp:57
QObject * parent() const const
Variable
virtual bool event(QEvent *event) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.