KVIrc
4.9.2
DeveloperAPIs
|
This class constructs the dialog to create a new member function. More...
#include <ClassEditorWindow.h>
Public Member Functions | |
QString | functionName () |
Returns the function name. More... | |
bool | isInternalFunction () |
Returns true if the function is set as internal, false otherwise. More... | |
KviClassEditorFunctionDialog (QWidget *pParent, const QString &szName, const QString &szClassName, const QString &szFunctionName, const QString &szReminder, bool bIsInternal, bool bRenameMode=false) | |
Constructs the function dialog. More... | |
QString | reminder () |
Returns the parameters of the function. More... | |
~KviClassEditorFunctionDialog () | |
Destroys the function dialog. More... | |
Protected Slots | |
void | textChanged (const QString &) |
Triggered when the name of the function change. More... | |
Protected Attributes | |
QLineEdit * | m_pFunctionNameLineEdit |
QCheckBox * | m_pInternalCheckBox |
QPushButton * | m_pNewFunctionButton |
QLineEdit * | m_pReminderLineEdit |
This class constructs the dialog to create a new member function.
KviClassEditorFunctionDialog::KviClassEditorFunctionDialog | ( | QWidget * | pParent, |
const QString & | szName, | ||
const QString & | szClassName, | ||
const QString & | szFunctionName, | ||
const QString & | szReminder, | ||
bool | bIsInternal, | ||
bool | bRenameMode = false |
||
) |
Constructs the function dialog.
pParent | The parent widget |
szName | The name of the widget |
szClassName | The name of the class |
szFunctionName | The name of the function |
szReminder | The parameters of the function |
bIsInternal | Whether the function is set as internal |
bRenameMode | Whether the dialog is in rename mode |
References __tr2qs_ctx(), connect(), m_pFunctionNameLineEdit, m_pInternalCheckBox, m_pNewFunctionButton, m_pReminderLineEdit, KviTalHBox::setAlignment(), KviTalHBox::setMargin(), KviTalHBox::setSpacing(), KviTalHBox::setStretchFactor(), and textChanged().
|
default |
Destroys the function dialog.
|
inline |
Returns the function name.
References m_pFunctionNameLineEdit.
Referenced by ClassEditorWidget::askForFunction().
|
inline |
Returns true if the function is set as internal, false otherwise.
References m_pInternalCheckBox.
Referenced by ClassEditorWidget::askForFunction().
|
inline |
Returns the parameters of the function.
References m_pReminderLineEdit.
Referenced by ClassEditorWidget::askForFunction().
|
protectedslot |
Triggered when the name of the function change.
References m_pNewFunctionButton.
Referenced by KviClassEditorFunctionDialog().
|
protected |
Referenced by functionName(), and KviClassEditorFunctionDialog().
|
protected |
Referenced by isInternalFunction(), and KviClassEditorFunctionDialog().
|
protected |
Referenced by KviClassEditorFunctionDialog(), and textChanged().
|
protected |
Referenced by KviClassEditorFunctionDialog(), and reminder().