kdevlanguagesupport.cpp
32KDevLanguageSupport::KDevLanguageSupport(const KDevPluginInfo *info, TQObject *parent, const char *name)
97TQStringList KDevLanguageSupport::updateWidget(const TQString& /*formName*/, const TQString& /*fileName*/)
102TQString KDevLanguageSupport::formatModelItem( const CodeModelItem *item, bool /*shortDescription*/ )
107void KDevLanguageSupport::addFunction( DesignerType type, const TQString & formName, Function function )
122void KDevLanguageSupport::editFunction( DesignerType type, const TQString & formName, Function oldFunction, Function function )
130void KDevLanguageSupport::removeFunction( DesignerType type, const TQString & formName, Function function )
144void KDevLanguageSupport::openFunction( DesignerType type, const TQString & formName, const TQString & functionName )
Safe pointer to the ClassModel.
TDevelop designer integration interface.
Definition kdevdesignerintegration.h:52
virtual void openSource(const TQString &formName)=0
Opens the form source.
virtual void removeFunction(const TQString &formName, KInterfaceDesigner::Function function)=0
Removes the implementation of a function.
virtual void addFunction(const TQString &formName, KInterfaceDesigner::Function function)=0
Adds the implementation for a function.
virtual void editFunction(const TQString &formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function)=0
Edites the implementation of a function.
virtual void openFunction(const TQString &formName, const TQString &functionName)=0
Opens the function and jumps to the line number of its definition (declaration).
virtual void addMethod(ClassDom klass)
Opens an "Add method" dialog and adds the configured method to the sources.
Definition kdevlanguagesupport.cpp:80
virtual TQString formatModelItem(const CodeModelItem *item, bool shortDescription=false)
Formats a CodeModelItem as used by the CodeModel to the human-readable convention.
Definition kdevlanguagesupport.cpp:102
virtual void addClass()
Opens a "New class" dialog and adds the configured class to the sources.
Definition kdevlanguagesupport.cpp:76
virtual KMimeType::List mimeTypes()
Definition kdevlanguagesupport.cpp:46
void openFunction(DesignerType type, const TQString &formName, const TQString &functionName)
Opens a function requested by a GUI designer.
Definition kdevlanguagesupport.cpp:144
virtual TQString unformatClassName(const TQString &name)
The opposite of formatClassName.
Definition kdevlanguagesupport.cpp:61
void removeFunction(DesignerType type, const TQString &formName, Function function)
Removes a function requested by a GUI designer.
Definition kdevlanguagesupport.cpp:130
virtual bool shouldSplitDocument(const KURL &url)
Determines whether the document should be opened in a split view.
Definition kdevlanguagesupport.cpp:66
virtual TQString formatClassName(const TQString &name)
Formats a canonicalized class path as used by the symbol store to the human-readable convention.
Definition kdevlanguagesupport.cpp:56
void openSource(DesignerType type, const TQString &formName)
Opens a form source requested by a GUI designer.
Definition kdevlanguagesupport.cpp:158
virtual void addAttribute(ClassDom klass)
Opens an "Add attribute" dialog and adds the configured attribute to the sources.
Definition kdevlanguagesupport.cpp:88
virtual TQStringList updateWidget(const TQString &formName, const TQString &fileName)
Opens an "Update Widget" dialog for given TQt .ui file (formName) and prompts to add missing slot imp...
Definition kdevlanguagesupport.cpp:97
virtual void createAccessMethods(ClassDom theClass, VariableDom theVariable)
Opens an "create get/set methods" dialog and adds the configured methods to the sources.
Definition kdevlanguagesupport.cpp:152
void editFunction(DesignerType type, const TQString &formName, Function oldFunction, Function function)
Edits a function requested by a GUI designer.
Definition kdevlanguagesupport.cpp:122
virtual TQStringList subclassWidget(const TQString &formName)
Opens an "Subclass Widget" dialog for given TQt .ui file (formName) and propmts to implement it's slo...
Definition kdevlanguagesupport.cpp:92
virtual void implementVirtualMethods(ClassDom klass)
Opens an "Implement Virtual Methods" dialog and adds the configured methods to the sources.
Definition kdevlanguagesupport.cpp:84
virtual TQString formatTag(const Tag &tag)
Formats a Tag as used by the persistent symbol store to the human-readable convention.
Definition kdevlanguagesupport.cpp:51
KDevLanguageSupport(const KDevPluginInfo *info, TQObject *parent, const char *name)
Constructs a language support plugin.
Definition kdevlanguagesupport.cpp:32
void addFunction(DesignerType type, const TQString &formName, Function function)
Adds a function requested by a GUI designer.
Definition kdevlanguagesupport.cpp:107
virtual TQt::Orientation splitOrientation() const
Returns the language parts Split View orientation.
Definition kdevlanguagesupport.cpp:71
virtual KDevDesignerIntegration * designer(KInterfaceDesigner::DesignerType type)
Reimplement this method if you want to use integrated GUI designer for the language.
Definition kdevlanguagesupport.cpp:138
KDevPlugin(const KDevPluginInfo *info, TQObject *parent, const char *name=0)
Constructs a plugin.
Definition kdevplugin.cpp:57
Safe pointer to the VariableModel.
Code Model - a memory symbol store.
TDevelop designer integration interface.
Interface to programming language specific features.
Trinity API Reference