kdevlanguagesupport.cpp
32 KDevLanguageSupport::KDevLanguageSupport(const KDevPluginInfo *info, TQObject *parent, const char *name)
97 TQStringList KDevLanguageSupport::updateWidget(const TQString& /*formName*/, const TQString& /*fileName*/)
102 TQString KDevLanguageSupport::formatModelItem( const CodeModelItem *item, bool /*shortDescription*/ )
107 void KDevLanguageSupport::addFunction( DesignerType type, const TQString & formName, Function function )
122 void KDevLanguageSupport::editFunction( DesignerType type, const TQString & formName, Function oldFunction, Function function )
130 void KDevLanguageSupport::removeFunction( DesignerType type, const TQString & formName, Function function )
144 void KDevLanguageSupport::openFunction( DesignerType type, const TQString & formName, const TQString & functionName )
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 KMimeType::List mimeTypes()
Definition: kdevlanguagesupport.cpp:46
virtual void addAttribute(ClassDom klass)
Opens an "Add attribute" dialog and adds the configured attribute to the sources. ...
Definition: kdevlanguagesupport.cpp:88
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
Code Model - a memory symbol store.
virtual void openSource(const TQString &formName)=0
Opens the form source.
virtual void addClass()
Opens a "New class" dialog and adds the configured class to the sources.
Definition: kdevlanguagesupport.cpp:76
TDevelop designer integration interface.
Definition: kdevdesignerintegration.h:51
virtual void editFunction(const TQString &formName, KInterfaceDesigner::Function oldFunction, KInterfaceDesigner::Function function)=0
Edites the implementation of a function.
Safe pointer to the VariableModel.
virtual void removeFunction(const TQString &formName, KInterfaceDesigner::Function function)=0
Removes the implementation of a function.
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 implementVirtualMethods(ClassDom klass)
Opens an "Implement Virtual Methods" dialog and adds the configured methods to the sources...
Definition: kdevlanguagesupport.cpp:84
void openSource(DesignerType type, const TQString &formName)
Opens a form source requested by a GUI designer.
Definition: kdevlanguagesupport.cpp:158
void editFunction(DesignerType type, const TQString &formName, Function oldFunction, Function function)
Edits a function requested by a GUI designer.
Definition: kdevlanguagesupport.cpp:122
void openFunction(DesignerType type, const TQString &formName, const TQString &functionName)
Opens a function requested by a GUI designer.
Definition: kdevlanguagesupport.cpp:144
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 TQString unformatClassName(const TQString &name)
The opposite of formatClassName.
Definition: kdevlanguagesupport.cpp:61
TDevelop designer integration interface.
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
virtual void addFunction(const TQString &formName, KInterfaceDesigner::Function function)=0
Adds the implementation for a function.
virtual Qt::Orientation splitOrientation() const
Returns the language parts Split View orientation.
Definition: kdevlanguagesupport.cpp:71
Safe pointer to the ClassModel.
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 bool shouldSplitDocument(const KURL &url)
Determines whether the document should be opened in a split view.
Definition: kdevlanguagesupport.cpp:66
KDevLanguageSupport(const KDevPluginInfo *info, TQObject *parent, const char *name)
Constructs a language support plugin.
Definition: kdevlanguagesupport.cpp:32
virtual KDevDesignerIntegration * designer(KInterfaceDesigner::DesignerType type)
Reimplement this method if you want to use integrated GUI designer for the language.
Definition: kdevlanguagesupport.cpp:138
void removeFunction(DesignerType type, const TQString &formName, Function function)
Removes a function requested by a GUI designer.
Definition: kdevlanguagesupport.cpp:130
void addFunction(DesignerType type, const TQString &formName, Function function)
Adds a function requested by a GUI designer.
Definition: kdevlanguagesupport.cpp:107
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
Interface to programming language specific features.