diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/astyle | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/astyle')
-rw-r--r-- | parts/astyle/astyle_part.cpp | 34 | ||||
-rw-r--r-- | parts/astyle/astyle_part.h | 3 | ||||
-rw-r--r-- | parts/astyle/astyle_widget.cpp | 4 | ||||
-rw-r--r-- | parts/astyle/astyle_widget.h | 3 | ||||
-rw-r--r-- | parts/astyle/astyleconfig.ui | 168 |
5 files changed, 107 insertions, 105 deletions
diff --git a/parts/astyle/astyle_part.cpp b/parts/astyle/astyle_part.cpp index f89c2b95..de7153c1 100644 --- a/parts/astyle/astyle_part.cpp +++ b/parts/astyle/astyle_part.cpp @@ -36,15 +36,15 @@ static const KDevPluginInfo data("kdevastyle"); namespace { - const char* defaultFormatExtensions = "*.cpp *.h *.hpp,*.c *.h,*.cxx *.hxx,*.c++ *.h++,*.cc *.hh,*.C *.H,*.diff ,*.inl,*.java,*.moc,*.patch,*.tlh,*.xpm"; + const char* defaultFormatExtensions = "*.cpp *.h *.hpp,*.c *.h,*.cxx *.hxx,*.c++ *.h++,*.cc *.hh,*.C *.H,*.diff ,*.inl,*.java,*.tqmoc,*.patch,*.tlh,*.xpm"; } typedef KDevGenericFactory<AStylePart> AStyleFactory; K_EXPORT_COMPONENT_FACTORY( libkdevastyle, AStyleFactory( data ) ) -AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &) - : KDevSourceFormatter(&data, parent, name ? name : "AStylePart") +AStylePart::AStylePart(TQObject *tqparent, const char *name, const TQStringList &) + : KDevSourceFormatter(&data, tqparent, name ? name : "AStylePart") { setInstance(AStyleFactory::instance()); @@ -193,21 +193,21 @@ void AStylePart::beautifySource() if (m_project["Fill"].toString() == "Tabs") { // tabs and wsCount spaces to be a tab - TQString replace; + TQString tqreplace; for (int i =0;i<wsCount;i++) - replace+=' '; + tqreplace+=' '; - indentWith=indentWith.replace(replace, TQChar('\t')); + indentWith=indentWith.tqreplace(tqreplace, TQChar('\t')); indentWith=indentWith.remove(' '); } else { if ( m_project["FillForce"].toBool()){ //convert tabs to spaces - TQString replace; + TQString tqreplace; for (int i =0;i<wsCount;i++) - replace+=' '; + tqreplace+=' '; - indentWith=indentWith.replace(TQChar('\t'),replace); + indentWith=indentWith.tqreplace(TQChar('\t'),tqreplace); } } } @@ -323,14 +323,14 @@ void AStylePart::activePartChanged ( KParts::Part *part ) if ( iface ) { // check for the everything case.. - if ( m_searchExtensions.find ( "*" ) == m_searchExtensions.end() ) + if ( m_searchExtensions.tqfind ( "*" ) == m_searchExtensions.end() ) { TQString extension = rw_part->url().path(); - int pos = extension.findRev ( '.' ); + int pos = extension.tqfindRev ( '.' ); if ( pos >= 0 ) { extension = extension.mid ( pos ); - enabled = ( m_searchExtensions.find ( extension ) != m_searchExtensions.end() ); + enabled = ( m_searchExtensions.tqfind ( extension ) != m_searchExtensions.end() ); } } else @@ -400,7 +400,7 @@ void AStylePart::contextMenu(TQPopupMenu *popup, const Context *context) { popup->insertSeparator(); int id = popup->insertItem( i18n("Format selection"), this, TQT_SLOT(beautifySource()) ); - popup->setWhatsThis(id, i18n("<b>Format</b><p>Formats the current selection, if possible")); + popup->TQMenuData::setWhatsThis(id, i18n("<b>Format</b><p>Formats the current selection, if possible")); } else if ( context->hasType( Context::FileContext )){ const FileContext *ctx = static_cast<const FileContext*>(context); @@ -408,7 +408,7 @@ void AStylePart::contextMenu(TQPopupMenu *popup, const Context *context) popup->insertSeparator(); int id = popup->insertItem( i18n("Format files"), this, TQT_SLOT(formatFiles()) ); - popup->setWhatsThis(id, i18n("<b>Format files</b><p>Formats selected files if possible")); + popup->TQMenuData::setWhatsThis(id, i18n("<b>Format files</b><p>Formats selected files if possible")); } } @@ -436,7 +436,7 @@ void AStylePart::restorePartialProjectSession(const TQDomElement * el) if ( ext.isEmpty()){ ext=defaultFormatExtensions; } - setExtensions(ext.replace(TQChar(','), TQChar('\n')),false); + setExtensions(ext.tqreplace(TQChar(','), TQChar('\n')),false); } } @@ -464,7 +464,7 @@ void AStylePart::savePartialProjectSession(TQDomElement * el) void AStylePart::formatFilesSelect(){ m_urls.clear(); - TQStringList filenames = KFileDialog::getOpenFileNames ( TQString::null, getProjectExtensions(),0,"Select files to format" ); + TQStringList filenames = KFileDialog::getOpenFileNames ( TQString(), getProjectExtensions(),0,"Select files to format" ); for(TQStringList::Iterator it = filenames.begin(); it != filenames.end();it++){ m_urls << *it; @@ -531,7 +531,7 @@ void AStylePart::formatFiles() } if ( processed != 0 ) { - KMessageBox::information ( 0, i18n ( "Processed %1 files ending with extensions %2" ).arg ( processed ).arg(getProjectExtensions().stripWhiteSpace()) ); + KMessageBox::information ( 0, i18n ( "Processed %1 files ending with extensions %2" ).tqarg ( processed ).tqarg(getProjectExtensions().stripWhiteSpace()) ); } m_urls.clear(); diff --git a/parts/astyle/astyle_part.h b/parts/astyle/astyle_part.h index 0711a338..b805b0b2 100644 --- a/parts/astyle/astyle_part.h +++ b/parts/astyle/astyle_part.h @@ -23,10 +23,11 @@ class ConfigWidgetProxy; class AStylePart : public KDevSourceFormatter { Q_OBJECT + TQ_OBJECT public: - AStylePart(TQObject *parent, const char *name, const TQStringList &); + AStylePart(TQObject *tqparent, const char *name, const TQStringList &); ~AStylePart(); TQString formatSource(const TQString text, AStyleWidget * widget, const TQMap<TQString, TQVariant>& options); diff --git a/parts/astyle/astyle_widget.cpp b/parts/astyle/astyle_widget.cpp index 0cb26abb..49177eb2 100644 --- a/parts/astyle/astyle_widget.cpp +++ b/parts/astyle/astyle_widget.cpp @@ -13,8 +13,8 @@ #include <kdevcore.h> -AStyleWidget::AStyleWidget(AStylePart * part, bool global, TQWidget *parent, const char *name) - : AStyleConfig(parent, name), m_part(part), isGlobalWidget(global) +AStyleWidget::AStyleWidget(AStylePart * part, bool global, TQWidget *tqparent, const char *name) + : AStyleConfig(tqparent, name), m_part(part), isGlobalWidget(global) { // which style changed - disable the other pages. connect(StyleGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(styleChanged())); diff --git a/parts/astyle/astyle_widget.h b/parts/astyle/astyle_widget.h index 0d379fc0..2a6bf85e 100644 --- a/parts/astyle/astyle_widget.h +++ b/parts/astyle/astyle_widget.h @@ -10,10 +10,11 @@ class KDevPart; class AStyleWidget : public AStyleConfig { Q_OBJECT + TQ_OBJECT public: - AStyleWidget( AStylePart * part, bool global, TQWidget *parent=0, const char *name=0 ); + AStyleWidget( AStylePart * part, bool global, TQWidget *tqparent=0, const char *name=0 ); ~AStyleWidget(); diff --git a/parts/astyle/astyleconfig.ui b/parts/astyle/astyleconfig.ui index 38063bb6..64788d4a 100644 --- a/parts/astyle/astyleconfig.ui +++ b/parts/astyle/astyleconfig.ui @@ -1,6 +1,6 @@ <!DOCTYPE UI><UI version="3.3" stdsetdef="1"> <class>AStyleConfig</class> -<widget class="QWidget"> +<widget class="TQWidget"> <property name="name"> <cstring>AStyleConfig</cstring> </property> @@ -27,7 +27,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QTabWidget" row="0" column="0"> + <widget class="TQTabWidget" row="0" column="0"> <property name="name"> <cstring>ConfigTabs</cstring> </property> @@ -39,7 +39,7 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -50,7 +50,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QButtonGroup"> + <widget class="TQButtonGroup"> <property name="name"> <cstring>StyleGroup</cstring> </property> @@ -62,13 +62,13 @@ <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize"> + <property name="tqminimumSize"> <size> <width>350</width> <height>0</height> </size> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>32767</height> @@ -81,7 +81,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Style_UserDefined</cstring> </property> @@ -98,7 +98,7 @@ <string>Select options from other tabs.</string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Style_ANSI</cstring> </property> @@ -118,7 +118,7 @@ Indent Switch=false Indent NameSpace=false</string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Style_KR</cstring> </property> @@ -138,7 +138,7 @@ Indent Namespaces=false </string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Style_Linux</cstring> </property> @@ -158,7 +158,7 @@ Indent Switch=false Indent NameSpace=false</string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Style_GNU</cstring> </property> @@ -179,7 +179,7 @@ Indent Switch=false Indent NameSpace=false</string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Style_JAVA</cstring> </property> @@ -198,7 +198,7 @@ Indent Bracket=false Indent Switch=false</string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Style_Global</cstring> </property> @@ -215,7 +215,7 @@ Settings/Configure Kdevelop/Formatting.</string> </widget> </vbox> </widget> - <widget class="QButtonGroup"> + <widget class="TQButtonGroup"> <property name="name"> <cstring>FrameFilesFormat</cstring> </property> @@ -234,7 +234,7 @@ Settings/Configure Kdevelop/Formatting.</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QTextEdit"> + <widget class="TQTextEdit"> <property name="name"> <cstring>GeneralExtension</cstring> </property> @@ -254,7 +254,7 @@ Settings/Configure Kdevelop/Formatting.</string> *.cc *.hh *.c++ *.h++ *.inl *.tlh -*.moc *.xpm +*.tqmoc *.xpm *.diff *.patch *.java</string> </property> @@ -278,7 +278,7 @@ Can use * on its own for any file.</string> </widget> </vbox> </widget> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -289,11 +289,11 @@ Can use * on its own for any file.</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QButtonGroup" row="0" column="0"> + <widget class="TQButtonGroup" row="0" column="0"> <property name="name"> <cstring>FillingGroup</cstring> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>32767</height> @@ -309,7 +309,7 @@ Can use * on its own for any file.</string> <property name="spacing"> <number>20</number> </property> - <widget class="QCheckBox" row="2" column="0"> + <widget class="TQCheckBox" row="2" column="0"> <property name="name"> <cstring>Fill_EmptyLines</cstring> </property> @@ -320,15 +320,15 @@ Can use * on its own for any file.</string> <string>Fill empty lines with the white space of their previous lines.</string> </property> </widget> - <widget class="QLayoutWidget" row="0" column="0"> + <widget class="TQLayoutWidget" row="0" column="0"> <property name="name"> - <cstring>layout2</cstring> + <cstring>tqlayout2</cstring> </property> <grid> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QRadioButton" row="0" column="0"> + <widget class="TQRadioButton" row="0" column="0"> <property name="name"> <cstring>Fill_Tabs</cstring> </property> @@ -339,7 +339,7 @@ Can use * on its own for any file.</string> <bool>true</bool> </property> </widget> - <widget class="QSpinBox" row="1" column="2"> + <widget class="TQSpinBox" row="1" column="2"> <property name="name"> <cstring>Fill_SpaceCount</cstring> </property> @@ -356,7 +356,7 @@ Can use * on its own for any file.</string> <string>Number of spaces to use per indent.</string> </property> </widget> - <widget class="QCheckBox" row="1" column="4"> + <widget class="TQCheckBox" row="1" column="4"> <property name="name"> <cstring>Fill_ConvertTabs</cstring> </property> @@ -380,14 +380,14 @@ Can use * on its own for any file.</string> <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>34</width> <height>21</height> </size> </property> </spacer> - <widget class="QRadioButton" row="1" column="0"> + <widget class="TQRadioButton" row="1" column="0"> <property name="name"> <cstring>Fill_Spaces</cstring> </property> @@ -398,7 +398,7 @@ Can use * on its own for any file.</string> <string>&Use spaces:</string> </property> </widget> - <widget class="QSpinBox" row="0" column="2"> + <widget class="TQSpinBox" row="0" column="2"> <property name="name"> <cstring>Fill_TabCount</cstring> </property> @@ -416,7 +416,7 @@ Can use * on its own for any file.</string> The number of spaces per tab is controled by the editor.</string> </property> </widget> - <widget class="QCheckBox" row="0" column="4"> + <widget class="TQCheckBox" row="0" column="4"> <property name="name"> <cstring>Fill_ForceTabs</cstring> </property> @@ -440,7 +440,7 @@ The number of spaces per tab is controled by the editor.</string> <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>21</width> <height>21</height> @@ -451,11 +451,11 @@ The number of spaces per tab is controled by the editor.</string> </widget> </grid> </widget> - <widget class="QButtonGroup" row="1" column="0"> + <widget class="TQButtonGroup" row="1" column="0"> <property name="name"> <cstring>BracketGroup</cstring> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>32767</height> @@ -471,15 +471,15 @@ The number of spaces per tab is controled by the editor.</string> <property name="spacing"> <number>20</number> </property> - <widget class="QLayoutWidget"> + <widget class="TQLayoutWidget"> <property name="name"> - <cstring>layout2</cstring> + <cstring>tqlayout2</cstring> </property> <vbox> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Brackets_None</cstring> </property> @@ -493,7 +493,7 @@ The number of spaces per tab is controled by the editor.</string> <string>The brackets will not be changed.</string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Brackets_Break</cstring> </property> @@ -507,7 +507,7 @@ The number of spaces per tab is controled by the editor.</string> <string>Break brackets from pre-block code (i.e. ANSI C/C++ style).</string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Brackets_Attach</cstring> </property> @@ -519,7 +519,7 @@ The number of spaces per tab is controled by the editor.</string> See also Formatting/Blocks/Break if-else</string> </property> </widget> - <widget class="QRadioButton"> + <widget class="TQRadioButton"> <property name="name"> <cstring>Brackets_Linux</cstring> </property> @@ -533,7 +533,7 @@ but attach brackets to pre-block command statements.</string> </widget> </vbox> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Brackets_CloseHeaders</cstring> </property> @@ -552,7 +552,7 @@ from their immediately preceding closing brackets.</string> </widget> </grid> </widget> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -563,11 +563,11 @@ from their immediately preceding closing brackets.</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QGroupBox" row="1" column="0"> + <widget class="TQGroupBox" row="1" column="0"> <property name="name"> <cstring>ContinueationGroup</cstring> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>32767</height> @@ -580,7 +580,7 @@ from their immediately preceding closing brackets.</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QSpinBox" row="0" column="1"> + <widget class="TQSpinBox" row="0" column="1"> <property name="name"> <cstring>Continue_MaxStatement</cstring> </property> @@ -592,7 +592,7 @@ from their immediately preceding closing brackets.</string> relative to the previous line.</string> </property> </widget> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>TextLabel2</cstring> </property> @@ -604,7 +604,7 @@ relative to the previous line.</string> relative to the previous line.</string> </property> </widget> - <widget class="QLabel" row="1" column="0"> + <widget class="TQLabel" row="1" column="0"> <property name="name"> <cstring>TextLabel3</cstring> </property> @@ -616,7 +616,7 @@ relative to the previous line.</string> belonging to a conditional header.</string> </property> </widget> - <widget class="QSpinBox" row="1" column="1"> + <widget class="TQSpinBox" row="1" column="1"> <property name="name"> <cstring>Continue_MinConditional</cstring> </property> @@ -636,11 +636,11 @@ belonging to a conditional header.</string> </widget> </grid> </widget> - <widget class="QGroupBox" row="0" column="0"> + <widget class="TQGroupBox" row="0" column="0"> <property name="name"> <cstring>IndentGroup</cstring> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>32767</height> @@ -653,7 +653,7 @@ belonging to a conditional header.</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Indent_Switches</cstring> </property> @@ -665,7 +665,7 @@ belonging to a conditional header.</string> headers are indented in relation to the switch block.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Indent_Cases</cstring> </property> @@ -677,7 +677,7 @@ headers are indented in relation to the switch block.</string> Case statements not enclosed in blocks are NOT indented.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Indent_Classes</cstring> </property> @@ -690,7 +690,7 @@ Case statements not enclosed in blocks are NOT indented.</string> relation to the class block.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Indent_Brackets</cstring> </property> @@ -701,7 +701,7 @@ relation to the class block.</string> <string>Add extra indentation to '{' and '}' block brackets.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Indent_Namespaces</cstring> </property> @@ -712,7 +712,7 @@ relation to the class block.</string> <string>Indent the contents of namespace blocks.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Indent_Labels</cstring> </property> @@ -728,7 +728,7 @@ the current indentation level, rather than being flushed completely to the left (which is the default).</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Indent_Blocks</cstring> </property> @@ -739,7 +739,7 @@ flushed completely to the left (which is the default).</string> <string>Add extra indentation entire blocks (including brackets).</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Indent_Preprocessors</cstring> </property> @@ -757,7 +757,7 @@ flushed completely to the left (which is the default).</string> </widget> </grid> </widget> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -768,11 +768,11 @@ flushed completely to the left (which is the default).</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QButtonGroup" row="0" column="0"> + <widget class="TQButtonGroup" row="0" column="0"> <property name="name"> <cstring>BlockGroup</cstring> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>32767</height> @@ -785,7 +785,7 @@ flushed completely to the left (which is the default).</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QCheckBox" row="0" column="0"> + <widget class="TQCheckBox" row="0" column="0"> <property name="name"> <cstring>Block_Break</cstring> </property> @@ -805,7 +805,7 @@ correctly. </string> </property> </widget> - <widget class="QCheckBox" row="1" column="0"> + <widget class="TQCheckBox" row="1" column="0"> <property name="name"> <cstring>Block_BreakAll</cstring> </property> @@ -827,7 +827,7 @@ correctly. </string> </property> </widget> - <widget class="QCheckBox" row="2" column="0"> + <widget class="TQCheckBox" row="2" column="0"> <property name="name"> <cstring>Block_IfElse</cstring> </property> @@ -840,11 +840,11 @@ correctly. </widget> </grid> </widget> - <widget class="QButtonGroup" row="1" column="0"> + <widget class="TQButtonGroup" row="1" column="0"> <property name="name"> <cstring>PaddingGroup</cstring> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>32767</height> @@ -857,40 +857,40 @@ correctly. <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Pad_ParenthesesIn</cstring> </property> <property name="text"> - <string>Add spa&ces inside parentheses</string> + <string>Add spa&ces inside tqparentheses</string> </property> <property name="toolTip" stdset="0"> - <string>Insert space padding around parenthesis on the inside only.</string> + <string>Insert space padding around tqparenthesis on the inside only.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Pad_ParenthesesOut</cstring> </property> <property name="text"> - <string>A&dd spaces outside parentheses</string> + <string>A&dd spaces outside tqparentheses</string> </property> <property name="toolTip" stdset="0"> - <string>Insert space padding around parenthesis on the outside only.</string> + <string>Insert space padding around tqparenthesis on the outside only.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Pad_ParenthesesUn</cstring> </property> <property name="text"> - <string>Remove &unnecessary spaces around parentheses</string> + <string>Remove &unnecessary spaces around tqparentheses</string> </property> <property name="toolTip" stdset="0"> - <string>Remove unnecessary space padding around parenthesis.</string> + <string>Remove unnecessary space padding around tqparenthesis.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Pad_Operators</cstring> </property> @@ -905,11 +905,11 @@ There is no unpad operator option.</string> </widget> </vbox> </widget> - <widget class="QGroupBox" row="2" column="0"> + <widget class="TQGroupBox" row="2" column="0"> <property name="name"> <cstring>OneLinersGroup</cstring> </property> - <property name="maximumSize"> + <property name="tqmaximumSize"> <size> <width>400</width> <height>32767</height> @@ -922,7 +922,7 @@ There is no unpad operator option.</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Keep_Statements</cstring> </property> @@ -934,7 +934,7 @@ There is no unpad operator option.</string> multiple single-statement lines.</string> </property> </widget> - <widget class="QCheckBox"> + <widget class="TQCheckBox"> <property name="name"> <cstring>Keep_Blocks</cstring> </property> @@ -950,7 +950,7 @@ multiple single-statement lines.</string> </grid> </widget> </widget> - <widget class="QGroupBox" row="0" column="1"> + <widget class="TQGroupBox" row="0" column="1"> <property name="name"> <cstring>GroupBox4</cstring> </property> @@ -969,7 +969,7 @@ multiple single-statement lines.</string> <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QMultiLineEdit" row="0" column="0"> + <widget class="TQMultiLineEdit" row="0" column="0"> <property name="name"> <cstring>StyleExample</cstring> </property> @@ -1324,9 +1324,9 @@ multiple single-statement lines.</string> <includes> <include location="global" impldecl="in implementation">kdialog.h</include> </includes> -<slots> +<Q_SLOTS> <slot>allFiles()</slot> -</slots> -<layoutdefaults spacing="6" margin="11"/> -<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> +</Q_SLOTS> +<tqlayoutdefaults spacing="6" margin="11"/> +<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/> </UI> |