EditFunctionsBase ********************************************************************* ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** ** This file is part of Qt Designer. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition ** licenses may use this file in accordance with the Qt Commercial License ** Agreement provided with the Software. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ** ** See http://www.trolltech.com/gpl/ for GPL licensing information. ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for ** information about Qt Commercial License Agreements. ** ** Contact info@trolltech.com if any conditions of this licensing are ** not clear to you. ** ********************************************************************* EditFunctionsBase 0 0 600 371 Edit Functions true <b>Edit Functions</b><p>Add, edit or delete the current form's slots or functions.</p><p>Click the <b>Add Function</b>-button to create a new function; enter a name, choose an access mode and specify if it should be a slot or normal function.</p><p>Select an entry from the list and click the <b>Delete Function</b>-button to remove a function; in case of a slot all connections using this slot will also be removed.</p> unnamed 11 6 Function true true Return Type true true Specifier true true Access true true Type true true In Use true true functionListView 7 7 0 0 StyledPanel Sunken true true <b>This form's functions.</b><p>Select the function you want to change or delete.</p> Layout11 unnamed 6 showOnlySlots StrongFocus Only d&isplay slots Change displaying mode for functions <b>Check this button if only the slots should be displayed</b><p>Otherwise all functions, i.e. normal C++ functions and slots are displayed.</p> Vertical Spacing1 Horizontal Expanding 20 20 addFunction &New Function Add new function <b>Add a new function.</b><p>New functions have a default name and public access.</p> deleteFunction &Delete Function Delete function <b>Delete the selected function.</b><p>All connections using this function are also removed.</p> boxProperties 5 5 0 0 Function Properties unnamed 11 6 Layout14 unnamed 0 Layout5 unnamed 0 6 Label8 &Function: AlignVCenter|AlignRight functionName functionName 7 0 0 0 Change function name <b>Change the name of the selected function.</b><p>The name should include the argument list and must be syntactically correct.</p> labelType &Return type: AlignVCenter|AlignRight editType editType 5 0 0 0 Change the return type of the function <b>Change the return type of the selected function.</b><p>Specifiy here the datatype which should be returned by the function.</p> Spacer6_2 Vertical Fixed 20 16 Layout13 unnamed 0 Label9_2 S&pecifier: AlignVCenter|AlignRight functionSpecifier non virtual virtual pure virtual static functionSpecifier 1 0 0 0 Change function access <b>Change the access policy of the function</b><p>All functions are created virtual and should be reimplemented in subclasses.</p> TextLabel1 &Access: WordBreak|AlignVCenter|AlignRight functionAccess public protected private functionAccess 1 0 0 0 Change function access <b>Change the access policy of the function</b><p>All functions are created virtual and should be reimplemented in subclasses.</p> TextLabel1_2 &Type: AlignVCenter|AlignRight functionType slot function functionType Change function type <b>Change the type of the function.</b><p>The type specifies if the function is either a slot or a normal C++ function.</p> Spacer5 Horizontal Expanding 20 20 Layout1 unnamed 0 6 helpButton &Help true Horizontal Spacing2 Horizontal Expanding 20 20 okButton &OK true true Close the dialog and apply all the changes. cancelButton &Cancel true Close the dialog and discard any changes. cancelButton clicked() EditFunctionsBase reject() okButton clicked() EditFunctionsBase okClicked() deleteFunction clicked() EditFunctionsBase functionRemove() addFunction clicked() EditFunctionsBase functionAdd() functionName textChanged(const TQString&) EditFunctionsBase currentTextChanged(const TQString&) functionListView selectionChanged(TQListViewItem*) EditFunctionsBase currentItemChanged(TQListViewItem*) functionListView currentChanged(TQListViewItem*) EditFunctionsBase currentItemChanged(TQListViewItem*) editType textChanged(const TQString&) EditFunctionsBase currentReturnTypeChanged(const TQString&) functionSpecifier activated(const TQString&) EditFunctionsBase currentSpecifierChanged(const TQString&) functionAccess activated(const TQString&) EditFunctionsBase currentAccessChanged(const TQString&) functionType activated(const TQString&) EditFunctionsBase currentTypeChanged(const TQString&) showOnlySlots toggled(bool) EditFunctionsBase displaySlots(bool) functionName editType functionSpecifier functionAccess functionType helpButton okButton cancelButton functionListView showOnlySlots addFunction deleteFunction currentItemChanged( TQListViewItem * ) currentSpecifierChanged( const TQString & ) currentTextChanged( const TQString & ) currentReturnTypeChanged( const TQString & ) destroy() init() currentAccessChanged( const TQString & ) currentTypeChanged( const TQString & ) okClicked() functionAdd() functionRemove() displaySlots( bool )