1 #ifndef _CLASSEDITOR_H_
2 #define _CLASSEDITOR_H_
44 #include <QTreeWidget>
164 void setName(
const QString & szName);
349 void exportClasses(
bool bSelectedOnly,
bool bSingleFiles =
false);
383 bool askForClassName(QString & szClassName, QString & szInheritsClassName,
bool bEdit);
384 bool askForNamespaceName(
const QString & szAction,
const QString & szText,
const QString & szInitialText, QString & szNameBuffer);
385 bool askForFunction(QString & szFunctionName, QString & szReminder,
bool * pbInternal,
const QString & szClassName,
bool bRenameMode);
443 void searchReplace(
const QString & szSearch,
bool bReplace =
false,
const QString & szReplace =
"n");
470 void slotReplaceAll(
const QString & szBefore,
const QString & szAfter);
611 KviClassEditorFunctionDialog(QWidget * pParent,
const QString & szName,
const QString & szClassName,
const QString & szFunctionName,
const QString & szReminder,
bool bIsInternal,
bool bRenameMode =
false);
649 #endif //_CLASSEDITOR_H_
~KviClassEditorFunctionDialog()
Destroys the function dialog.
QCheckBox * m_pInternalCheckBox
Definition: ClassEditorWindow.h:622
virtual void saveProperties(KviConfigurationFile *pCfg)
Called to save the window properties.
Definition: ClassEditorWindow.cpp:1907
Definition: KviHeapObject.h:124
QLineEdit * m_pFunctionNameLineEdit
Definition: ClassEditorWindow.h:620
virtual QPixmap * myIconPtr()
Returns the class editor small icon.
Definition: ClassEditorWindow.cpp:1897
ClassEditorWidget * m_pEditor
Definition: ClassEditorWindow.h:493
QComboBox * m_pInheritsClassComboBox
Definition: ClassEditorWindow.h:570
This class constructs the dialog to create a new class.
Definition: ClassEditorWindow.h:546
QLineEdit * m_pClassNameLineEdit
Definition: ClassEditorWindow.h:569
Definition: KviScriptEditor.h:43
#define l
Definition: detector.cpp:76
void textChanged(const QString &)
Triggered when the name of the function change.
Definition: ClassEditorWindow.cpp:2127
Definition: KviConfigurationFile.h:48
QString className()
Returns the class name.
Definition: ClassEditorWindow.h:577
KviClassEditorDialog(QWidget *pParent, const QString &szName, KviPointerHashTable< QString, ClassEditorTreeWidgetItem > *pClasses, const QString &szClassName, const QString &szInheritsClassName, bool bRenameMode=false)
Constructs the class dialog.
Definition: ClassEditorWindow.cpp:1917
Definition: KviKvsObjectClass.h:49
KviClassEditorFunctionDialog(QWidget *pParent, const QString &szName, const QString &szClassName, const QString &szFunctionName, const QString &szReminder, bool bIsInternal, bool bRenameMode=false)
Constructs the function dialog.
Definition: ClassEditorWindow.cpp:2031
#define e
Definition: detector.cpp:69
virtual void loadProperties(KviConfigurationFile *pCfg)
Called to load the window properties.
Definition: ClassEditorWindow.cpp:1912
QPushButton * m_pNewClassButton
Definition: ClassEditorWindow.h:568
bool isInternalFunction()
Returns true if the function is set as internal, false otherwise.
Definition: ClassEditorWindow.h:641
QLineEdit * m_pReminderLineEdit
Definition: ClassEditorWindow.h:621
QString reminder()
Returns the parameters of the function.
Definition: ClassEditorWindow.h:635
QPushButton * m_pNewFunctionButton
Definition: ClassEditorWindow.h:619
~ClassEditorWindow()
Destroys the class editor window.
Definition: ClassEditorWindow.cpp:1877
void buildClicked()
Called when we want to build the class.
Definition: ClassEditorWindow.cpp:1882
C++ Template based double linked pointer list class.
Base class for all windows in KVIrc.
Definition: KviWindow.h:74
A template double linked list of pointers.
Definition: KviPointerList.h:55
QString inheritsClassName()
Returns the class name of the parent classes.
Definition: ClassEditorWindow.h:583
QString functionName()
Returns the function name.
Definition: ClassEditorWindow.h:629
ClassEditorWindow()
Constructs the class editor window.
Definition: ClassEditorWindow.cpp:1845
This class constructs the dialog to create a new member function.
Definition: ClassEditorWindow.h:596
Contains the KviWindow class.
void saveClicked()
Called when we want to save the class.
Definition: ClassEditorWindow.cpp:1887
char szBuffer[4096]
Definition: winamp.cpp:77
void textChanged(const QString &)
Triggered when the name of the class change.
Definition: ClassEditorWindow.cpp:2026
~KviClassEditorDialog()
Destroys the class dialog.
virtual void configGroupName(QString &szName)
Sets the configuration group name as classeditor.
Definition: ClassEditorWindow.cpp:1902
This is the Class Editor window.
Definition: ClassEditorWindow.h:477
void cancelClicked()
Called when we click the cancel button.
Definition: ClassEditorWindow.cpp:1892