summaryrefslogtreecommitdiffstats
path: root/parts
diff options
context:
space:
mode:
Diffstat (limited to 'parts')
-rw-r--r--parts/abbrev/abbrevconfigwidgetbase.ui4
-rw-r--r--parts/abbrev/abbrevpart.cpp46
-rw-r--r--parts/abbrev/addtemplatedlg.cpp4
-rw-r--r--parts/abbrev/cpp_keywords6
-rw-r--r--parts/appwizard/appwizarddlg.cpp24
-rw-r--r--parts/appwizard/appwizarddlgbase.ui4
-rw-r--r--parts/appwizard/appwizardfactory.cpp2
-rw-r--r--parts/appwizard/appwizardpart.cpp12
m---------parts/appwizard/common/admin0
-rw-r--r--parts/appwizard/common/gnome/macros/curses.m418
-rw-r--r--parts/appwizard/common/gnome/macros/gnome-fileutils.m467
-rw-r--r--parts/appwizard/common/gnome2/macros/curses.m418
-rwxr-xr-xparts/appwizard/common/incadmin/config.guess108
-rwxr-xr-xparts/appwizard/common/incadmin/config.sub57
-rwxr-xr-xparts/appwizard/common/incadmin/depcomp39
-rw-r--r--parts/appwizard/common/incadmin/ltmain.sh51
-rw-r--r--parts/appwizard/common/scons/admin/kde.py2
-rw-r--r--parts/appwizard/filepropspagebase.ui4
-rw-r--r--parts/appwizard/importdlg.cpp26
-rw-r--r--parts/appwizard/importdlgbase.ui4
-rw-r--r--parts/appwizard/misc.cpp2
-rw-r--r--parts/astyle/astyle_part.cpp22
-rw-r--r--parts/astyle/astyle_widget.cpp68
-rw-r--r--parts/astyle/astyleconfig.ui4
-rw-r--r--parts/bookmarks/bookmarks_config.cpp4
-rw-r--r--parts/bookmarks/bookmarks_part.cpp22
-rw-r--r--parts/bookmarks/bookmarks_widget.cpp16
-rw-r--r--parts/classview/classtooldlg.cpp34
-rw-r--r--parts/classview/classtreebase.cpp30
-rw-r--r--parts/classview/classviewpart.cpp34
-rw-r--r--parts/classview/classviewwidget.cpp38
-rw-r--r--parts/classview/digraphview.cpp4
-rw-r--r--parts/classview/hierarchydlg.cpp34
-rw-r--r--parts/classview/navigator.cpp10
-rw-r--r--parts/ctags2/ctags2_createtagfile.h2
-rw-r--r--parts/ctags2/ctags2_createtagfilebase.ui4
-rw-r--r--parts/ctags2/ctags2_part.cpp36
-rw-r--r--parts/ctags2/ctags2_selecttagfile.h2
-rw-r--r--parts/ctags2/ctags2_selecttagfilebase.ui4
-rw-r--r--parts/ctags2/ctags2_settingswidget.cpp4
-rw-r--r--parts/ctags2/ctags2_settingswidgetbase.ui4
-rw-r--r--parts/ctags2/ctags2_widget.cpp6
-rw-r--r--parts/ctags2/ctags2_widgetbase.ui4
-rw-r--r--parts/diff/diffpart.cpp26
-rw-r--r--parts/diff/diffwidget.cpp28
-rw-r--r--parts/distpart/distpart_part.cpp6
-rw-r--r--parts/distpart/distpart_ui.ui4
-rw-r--r--parts/distpart/distpart_widget.cpp68
-rw-r--r--parts/distpart/specsupport.cpp18
-rw-r--r--parts/documentation/addcatalogdlg.h2
-rw-r--r--parts/documentation/addcatalogdlgbase.ui4
-rw-r--r--parts/documentation/bookmarkview.cpp20
-rw-r--r--parts/documentation/contentsview.cpp8
-rw-r--r--parts/documentation/docconfiglistview.cpp8
-rw-r--r--parts/documentation/docglobalconfigwidget.cpp18
-rw-r--r--parts/documentation/docglobalconfigwidgetbase.ui4
-rw-r--r--parts/documentation/docprojectconfigwidgetbase.ui4
-rw-r--r--parts/documentation/documentation_part.cpp46
-rw-r--r--parts/documentation/documentation_widget.cpp4
-rw-r--r--parts/documentation/editcatalogdlg.h2
-rw-r--r--parts/documentation/editcatalogdlgbase.ui4
-rw-r--r--parts/documentation/find_documentation.cpp28
-rw-r--r--parts/documentation/find_documentation_options.cpp4
-rw-r--r--parts/documentation/find_documentation_options.h2
-rw-r--r--parts/documentation/find_documentation_optionsbase.ui4
-rw-r--r--parts/documentation/find_documentationbase.ui4
-rw-r--r--parts/documentation/indexview.cpp10
-rw-r--r--parts/documentation/interfaces/kdevdocumentationplugin.cpp4
-rw-r--r--parts/documentation/plugins/devhelp/docdevhelpplugin.cpp2
-rw-r--r--parts/documentation/plugins/doxygen/docdoxygenplugin.cpp2
-rw-r--r--parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp2
-rw-r--r--parts/documentation/protocols/chm/chm.cpp2
-rw-r--r--parts/documentation/protocols/chm/kchmpart.cpp8
-rw-r--r--parts/documentation/searchview.cpp46
-rw-r--r--parts/documentation/selecttopicbase.ui4
-rw-r--r--parts/documentation/tools/htdig/htdigindex.cpp28
-rw-r--r--parts/doxygen/config.cpp309
-rw-r--r--parts/doxygen/config.h12
-rw-r--r--parts/doxygen/doxygenconfigwidget.cpp14
-rw-r--r--parts/doxygen/doxygenpart.cpp24
-rw-r--r--parts/doxygen/doxygenpart.h2
-rw-r--r--parts/doxygen/input.cpp42
-rw-r--r--parts/doxygen/input.h8
-rw-r--r--parts/filecreate/addglobaldlg.cpp20
-rw-r--r--parts/filecreate/addglobaldlg.h2
-rw-r--r--parts/filecreate/fcconfigwidget.cpp6
-rw-r--r--parts/filecreate/fcconfigwidgetbase.ui4
-rw-r--r--parts/filecreate/fctemplateedit.cpp4
-rw-r--r--parts/filecreate/fctemplateeditbase.ui4
-rw-r--r--parts/filecreate/fctemplateeditbase.ui.h2
-rw-r--r--parts/filecreate/fctypeedit.cpp4
-rw-r--r--parts/filecreate/fctypeeditbase.ui4
-rw-r--r--parts/filecreate/fctypeeditbase.ui.h2
-rw-r--r--parts/filecreate/file-templates/ui-mainwin4
-rw-r--r--parts/filecreate/filecreate_filedialog.cpp4
-rw-r--r--parts/filecreate/filecreate_newfile.cpp2
-rw-r--r--parts/filecreate/filecreate_part.cpp28
-rw-r--r--parts/filecreate/filecreate_widget2.cpp6
-rw-r--r--parts/filecreate/filecreate_widget3.cpp2
-rw-r--r--parts/filelist/filelist_widget.cpp32
-rw-r--r--parts/filelist/projectviewconfig.cpp4
-rw-r--r--parts/filelist/projectviewpart.cpp38
-rw-r--r--parts/fileselector/fileselector_part.cpp14
-rw-r--r--parts/fileselector/fileselector_widget.cpp86
-rw-r--r--parts/fileselector/kbookmarkhandler.cpp2
-rw-r--r--parts/fileselector/tdeactionselector.cpp24
-rw-r--r--parts/fileview/addfilegroupdlg.cpp8
-rw-r--r--parts/fileview/filegroupsconfigwidgetbase.ui4
-rw-r--r--parts/fileview/filegroupspart.cpp24
-rw-r--r--parts/fileview/filegroupswidget.cpp18
-rw-r--r--parts/fileview/filetreeviewwidgetimpl.cpp6
-rw-r--r--parts/fileview/filetreewidget.cpp26
-rw-r--r--parts/fileview/fileviewpart.cpp8
-rw-r--r--parts/fileview/partwidget.cpp8
-rw-r--r--parts/fileview/vcsfiletreewidgetimpl.cpp12
-rw-r--r--parts/filter/filterpart.cpp4
-rw-r--r--parts/filter/shellfilterdlg.cpp22
-rw-r--r--parts/filter/shellinsertdlg.cpp20
-rw-r--r--parts/fullscreen/fullscreen_part.cpp2
-rw-r--r--parts/grepview/grepdlg.cpp22
-rw-r--r--parts/grepview/grepviewpart.cpp18
-rw-r--r--parts/grepview/grepviewwidget.cpp28
-rw-r--r--parts/konsole/konsoleviewpart.cpp2
-rw-r--r--parts/konsole/konsoleviewwidget.cpp6
-rw-r--r--parts/openwith/openwithpart.cpp12
-rw-r--r--parts/outputviews/appoutputviewpart.cpp10
-rw-r--r--parts/outputviews/appoutputwidget.cpp24
-rw-r--r--parts/outputviews/makeviewpart.cpp8
-rw-r--r--parts/outputviews/makewidget.cpp102
-rw-r--r--parts/partexplorer/partexplorer_plugin.cpp4
-rw-r--r--parts/partexplorer/partexplorerform.cpp8
-rw-r--r--parts/quickopen/quickopen_part.cpp12
-rw-r--r--parts/quickopen/quickopenbase.ui4
-rw-r--r--parts/quickopen/quickopenclassdialog.h2
-rw-r--r--parts/quickopen/quickopendialog.cpp2
-rw-r--r--parts/quickopen/quickopendialog.h2
-rw-r--r--parts/quickopen/quickopenfiledialog.h4
-rw-r--r--parts/quickopen/quickopenfunctionchooseform.h2
-rw-r--r--parts/quickopen/quickopenfunctionchooseformbase.ui4
-rw-r--r--parts/quickopen/quickopenfunctiondialog.h2
-rw-r--r--parts/regexptest/regexptestdlgbase.ui4
-rw-r--r--parts/regexptest/regexptestpart.cpp2
-rw-r--r--parts/replace/replace_part.cpp10
-rw-r--r--parts/replace/replace_widget.cpp14
-rw-r--r--parts/replace/replacedlgimpl.cpp14
-rw-r--r--parts/replace/replacedlgimpl.h2
-rw-r--r--parts/replace/replaceview.cpp6
-rw-r--r--parts/scripting/scriptingglobalconfig.cpp4
-rw-r--r--parts/scripting/scriptingpart.cpp10
-rw-r--r--parts/snippet/snippet_part.cpp10
-rw-r--r--parts/snippet/snippet_widget.cpp76
-rw-r--r--parts/snippet/snippetdlg.ui4
-rw-r--r--parts/texttools/texttoolspart.cpp4
-rw-r--r--parts/texttools/texttoolswidget.cpp32
-rw-r--r--parts/tipofday/tipofday_part.cpp8
-rw-r--r--parts/tools/addtooldlg.ui4
-rw-r--r--parts/tools/addtooldlg.ui.h2
-rw-r--r--parts/tools/kapplicationtree.cpp8
-rw-r--r--parts/tools/tools_part.cpp40
-rw-r--r--parts/tools/toolsconfig.cpp12
-rw-r--r--parts/tools/toolsconfigwidget.cpp8
-rw-r--r--parts/tools/toolsconfigwidgetbase.ui4
-rw-r--r--parts/uimode/uichooser.ui4
-rw-r--r--parts/uimode/uichooser_part.cpp6
-rw-r--r--parts/uimode/uichooser_widget.cpp4
-rw-r--r--parts/valgrind/dialog_widget.ui4
-rw-r--r--parts/valgrind/valgrind_dialog.cpp12
-rw-r--r--parts/valgrind/valgrind_part.cpp26
-rw-r--r--parts/valgrind/valgrind_widget.cpp20
-rw-r--r--parts/vcsmanager/vcsmanagerpart.cpp8
170 files changed, 1228 insertions, 1591 deletions
diff --git a/parts/abbrev/abbrevconfigwidgetbase.ui b/parts/abbrev/abbrevconfigwidgetbase.ui
index fd04ec23..0597bd4c 100644
--- a/parts/abbrev/abbrevconfigwidgetbase.ui
+++ b/parts/abbrev/abbrevconfigwidgetbase.ui
@@ -179,12 +179,12 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot access="protected">addTemplate()</slot>
<slot access="protected">codeChanged()</slot>
<slot access="protected">removeTemplate()</slot>
<slot access="protected">selectionChanged()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/parts/abbrev/abbrevpart.cpp b/parts/abbrev/abbrevpart.cpp
index 80d26599..2de7cfdb 100644
--- a/parts/abbrev/abbrevpart.cpp
+++ b/parts/abbrev/abbrevpart.cpp
@@ -23,7 +23,7 @@
#include <kdialogbase.h>
#include <tdelocale.h>
#include <tdeparts/part.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kdevgenericfactory.h>
#include <tdeaction.h>
#include <tdeconfig.h>
@@ -71,20 +71,20 @@ AbbrevPart::AbbrevPart(TQObject *parent, const char *name, const TQStringList &)
setInstance(AbbrevFactory::instance());
setXMLFile("kdevabbrev.rc");
- connect(partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)),
- this, TQT_SLOT(slotActivePartChanged(KParts::Part*)) );
+ connect(partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)),
+ this, TQ_SLOT(slotActivePartChanged(KParts::Part*)) );
- connect(core(), TQT_SIGNAL(configWidget(KDialogBase*)), this, TQT_SLOT(configWidget(KDialogBase*)));
+ connect(core(), TQ_SIGNAL(configWidget(KDialogBase*)), this, TQ_SLOT(configWidget(KDialogBase*)));
TDEAction *action;
action = new TDEAction( i18n("Expand Text"), CTRL + Key_J,
- this, TQT_SLOT(slotExpandText()),
+ this, TQ_SLOT(slotExpandText()),
actionCollection(), "edit_expandtext" );
action->setToolTip( i18n("Expand current word") );
action->setWhatsThis( i18n("<b>Expand current word</b><p>Current word can be completed using the list of similar words in source files.") );
action = new TDEAction( i18n("Expand Abbreviation"), CTRL + Key_L,
- this, TQT_SLOT(slotExpandAbbrev()),
+ this, TQ_SLOT(slotExpandAbbrev()),
actionCollection(), "edit_expandabbrev" );
action->setToolTip( i18n("Expand abbreviation") );
action->setWhatsThis( i18n("<b>Expand abbreviation</b><p>Enable and configure abbreviations in <b>TDevelop Settings</b>, <b>Abbreviations</b> tab.") );
@@ -140,14 +140,14 @@ void AbbrevPart::setAutoWordCompletionEnabled( bool enabled )
disconnect( docIface->widget(), 0, this, 0 );
if( m_autoWordCompletionEnabled ){
- connect( docIface->widget(), TQT_SIGNAL(completionAborted()),
- this, TQT_SLOT(slotCompletionAborted()) );
- connect( docIface->widget(), TQT_SIGNAL(completionDone()),
- this, TQT_SLOT(slotCompletionDone()) );
- connect( docIface->widget(), TQT_SIGNAL(aboutToShowCompletionBox()),
- this, TQT_SLOT(slotAboutToShowCompletionBox()) );
-
- connect( docIface, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged()) );
+ connect( docIface->widget(), TQ_SIGNAL(completionAborted()),
+ this, TQ_SLOT(slotCompletionAborted()) );
+ connect( docIface->widget(), TQ_SIGNAL(completionDone()),
+ this, TQ_SLOT(slotCompletionDone()) );
+ connect( docIface->widget(), TQ_SIGNAL(aboutToShowCompletionBox()),
+ this, TQ_SLOT(slotAboutToShowCompletionBox()) );
+
+ connect( docIface, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotTextChanged()) );
}
}
void AbbrevPart::load()
@@ -243,7 +243,7 @@ void AbbrevPart::configWidget(KDialogBase *dlg)
{
TQVBox *vbox = dlg->addVBoxPage(i18n("Abbreviations"), i18n("Abbreviations"), BarIcon( info()->icon(), TDEIcon::SizeMedium) );
AbbrevConfigWidget *w = new AbbrevConfigWidget(this, vbox, "abbrev config widget");
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
}
@@ -302,7 +302,7 @@ TQValueList<KTextEditor::CompletionEntry> AbbrevPart::findAllWords(const TQStrin
KTextEditor::CompletionEntry e;
e.text = word;
entries << e;
- map[ word ] = TRUE;
+ map[ word ] = true;
}
idx = pos + len + 1;
}
@@ -317,7 +317,7 @@ TQValueList<KTextEditor::CompletionEntry> AbbrevPart::findAllWords(const TQStrin
KTextEditor::CompletionEntry e;
e.text = word;
entries << e;
- map[ word ] = TRUE;
+ map[ word ] = true;
}
idx = pos + len + 1;
}
@@ -502,14 +502,14 @@ void AbbrevPart::slotActivePartChanged( KParts::Part* part )
disconnect( part->widget(), 0, this, 0 );
disconnect( doc, 0, this, 0 );
- connect( part->widget(), TQT_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*, TQString*)),
- this, TQT_SLOT(slotFilterInsertString(KTextEditor::CompletionEntry*, TQString*)) );
+ connect( part->widget(), TQ_SIGNAL(filterInsertString(KTextEditor::CompletionEntry*, TQString*)),
+ this, TQ_SLOT(slotFilterInsertString(KTextEditor::CompletionEntry*, TQString*)) );
if( autoWordCompletionEnabled() ){
- connect( part->widget(), TQT_SIGNAL(completionAborted()), this, TQT_SLOT(slotCompletionAborted()) );
- connect( part->widget(), TQT_SIGNAL(completionDone()), this, TQT_SLOT(slotCompletionDone()) );
- connect( part->widget(), TQT_SIGNAL(aboutToShowCompletionBox()), this, TQT_SLOT(slotAboutToShowCompletionBox()) );
- connect( doc, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotTextChanged()) );
+ connect( part->widget(), TQ_SIGNAL(completionAborted()), this, TQ_SLOT(slotCompletionAborted()) );
+ connect( part->widget(), TQ_SIGNAL(completionDone()), this, TQ_SLOT(slotCompletionDone()) );
+ connect( part->widget(), TQ_SIGNAL(aboutToShowCompletionBox()), this, TQ_SLOT(slotAboutToShowCompletionBox()) );
+ connect( doc, TQ_SIGNAL(textChanged()), this, TQ_SLOT(slotTextChanged()) );
}
m_prevLine = -1;
diff --git a/parts/abbrev/addtemplatedlg.cpp b/parts/abbrev/addtemplatedlg.cpp
index a837c08a..b2c9a090 100644
--- a/parts/abbrev/addtemplatedlg.cpp
+++ b/parts/abbrev/addtemplatedlg.cpp
@@ -27,8 +27,8 @@ AddTemplateDialog::AddTemplateDialog( TQStringList suffixesList, TQWidget *paren
{
setFocusProxy( editTemplate );
comboSuffixes->insertStringList(suffixesList);
- connect( editTemplate, TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SLOT( textChanged()));
- connect( editDescription, TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SLOT( textChanged()));
+ connect( editTemplate, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT( textChanged()));
+ connect( editDescription, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT( textChanged()));
buttonOk->setEnabled(false);
}
diff --git a/parts/abbrev/cpp_keywords b/parts/abbrev/cpp_keywords
index 3badf3ba..19bd1a82 100644
--- a/parts/abbrev/cpp_keywords
+++ b/parts/abbrev/cpp_keywords
@@ -1,9 +1,9 @@
K_DCOP
k_dcop
-k_dcop_Q_SIGNALS
+k_dcop_signals
TQ_OBJECT
-Q_SIGNALS
-Q_SLOTS
+signals
+slots
emit
__int64
__asm__
diff --git a/parts/appwizard/appwizarddlg.cpp b/parts/appwizard/appwizarddlg.cpp
index 86373504..bbf3e6a5 100644
--- a/parts/appwizard/appwizarddlg.cpp
+++ b/parts/appwizard/appwizarddlg.cpp
@@ -41,8 +41,8 @@
#include <tdeglobalsettings.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kprocess.h>
-#include <kstandarddirs.h>
+#include <tdeprocess.h>
+#include <tdestandarddirs.h>
#include <tdetempfile.h>
#include <kiconloader.h>
#include <tdefiledialog.h>
@@ -80,7 +80,7 @@
#include "filetemplate.h"
#include "settings.h"
-#include "blockingkprocess.h"
+#include "blockingtdeprocess.h"
#include "profileengine.h"
#include "profile.h"
@@ -98,17 +98,17 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
m_customOptions = 0L;
loadLicenses();
- connect( this, TQT_SIGNAL( selected( const TQString & ) ), this, TQT_SLOT( pageChanged() ) );
+ connect( this, TQ_SIGNAL( selected( const TQString & ) ), this, TQ_SLOT( pageChanged() ) );
helpButton()->hide();
templates_listview->header()->hide();
templates_listview->setColumnWidthMode(0, TQListView::Maximum); //to provide horiz scrollbar.
m_templatesMenu = new TDEPopupMenu(templates_listview);
- m_templatesMenu->insertItem(i18n("&Add to Favorites"), this, TQT_SLOT(addTemplateToFavourites()));
+ m_templatesMenu->insertItem(i18n("&Add to Favorites"), this, TQ_SLOT(addTemplateToFavourites()));
m_favouritesMenu = new TDEPopupMenu(favourites_iconview);
- m_favouritesMenu->insertItem(i18n("&Remove Favorite"), this, TQT_SLOT(removeFavourite()));
+ m_favouritesMenu->insertItem(i18n("&Remove Favorite"), this, TQ_SLOT(removeFavourite()));
m_pathIsValid=false;
m_part = part;
@@ -116,7 +116,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
m_appsInfo.setAutoDelete(true);
m_tempFiles.setAutoDelete(true);
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
//config->setGroup("AppWizard");
//templates_tabwidget->setCurrentPage(config->readNumEntry("CurrentTab", 0));
@@ -304,7 +304,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
// How about names like "__" or "123" for project name? Are they legal?
TQRegExpValidator *appname_edit_validator;
appname_edit_validator = new TQRegExpValidator (appname_regexp,
- TQT_TQOBJECT(appname_edit),
+ appname_edit,
"AppNameValidator");
appname_edit->setValidator(appname_edit_validator);
@@ -319,7 +319,7 @@ AppWizardDialog::AppWizardDialog(AppWizardPart *part, TQWidget *parent, const ch
license_combo->setCurrentItem( idx - 1 );
}
- connect( license_combo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(licenseChanged()) );
+ connect( license_combo, TQ_SIGNAL(activated(int)), this, TQ_SLOT(licenseChanged()) );
m_custom_options_layout = new TQHBoxLayout( custom_options );
m_custom_options_layout->setAutoAdd(true);
@@ -913,7 +913,7 @@ void AppWizardDialog::destButtonClicked(const TQString& dir)
if(!dir.isEmpty()) {
// set new location as default project dir?
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("General Options");
TQDir defPrjDir( config->readPathEntry("DefaultProjectsDir", TQDir::homeDirPath()) );
TQDir newDir (dir);
@@ -1158,7 +1158,7 @@ void AppWizardDialog::removeFavourite()
void AppWizardDialog::populateFavourites()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("AppWizard");
//favourites are stored in config as a list of templates and a seperate
@@ -1204,7 +1204,7 @@ void AppWizardDialog::done(int r)
}
}
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup("AppWizard");
config->writePathEntry("FavTemplates", templatesList);
config->writeEntry("FavNames", iconNamesList);
diff --git a/parts/appwizard/appwizarddlgbase.ui b/parts/appwizard/appwizarddlgbase.ui
index f9c22c2f..af51e997 100644
--- a/parts/appwizard/appwizarddlgbase.ui
+++ b/parts/appwizard/appwizarddlgbase.ui
@@ -634,7 +634,7 @@
<forward>class TQListViewItem;</forward>
<forward>class TQIconViewItem;</forward>
</forwards>
-<Q_SLOTS>
+<slots>
<slot access="protected">licenseChanged()</slot>
<slot access="protected">destButtonClicked( const TQString &amp; )</slot>
<slot access="protected">projectLocationChanged()</slot>
@@ -645,7 +645,7 @@
<slot access="protected">templatesContextMenu( TQListViewItem *, const TQPoint &amp;, int )</slot>
<slot access="protected">favouritesContextMenu( TQIconViewItem *, const TQPoint &amp; )</slot>
<slot>showTemplates(bool)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/parts/appwizard/appwizardfactory.cpp b/parts/appwizard/appwizardfactory.cpp
index 5288105d..e2c79aa3 100644
--- a/parts/appwizard/appwizardfactory.cpp
+++ b/parts/appwizard/appwizardfactory.cpp
@@ -10,7 +10,7 @@
***************************************************************************/
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kdevplugininfo.h>
#include "appwizardfactory.h"
diff --git a/parts/appwizard/appwizardpart.cpp b/parts/appwizard/appwizardpart.cpp
index e1a9dbad..0741ef21 100644
--- a/parts/appwizard/appwizardpart.cpp
+++ b/parts/appwizard/appwizardpart.cpp
@@ -18,10 +18,10 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <kdevcore.h>
#include <kgenericfactory.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeaction.h>
#include <tqmessagebox.h>
@@ -43,7 +43,7 @@ AppWizardPart::AppWizardPart(TQObject *parent, const char *name, const TQStringL
TDEAction *action;
action = new TDEAction( i18n("&New Project..."), "window-new", 0,
- this, TQT_SLOT(slotNewProject()),
+ this, TQ_SLOT(slotNewProject()),
actionCollection(), "project_new" );
action->setToolTip( i18n("Generate a new project from a template") );
action->setWhatsThis( i18n("<b>New project</b><p>"
@@ -52,7 +52,7 @@ AppWizardPart::AppWizardPart(TQObject *parent, const char *name, const TQStringL
"application from a set of templates.") );
action = new TDEAction( i18n("&Import Existing Project..."),"wizard", 0,
- this, TQT_SLOT(slotImportProject()),
+ this, TQ_SLOT(slotImportProject()),
actionCollection(), "project_import" );
action->setToolTip( i18n("Import existing project") );
action->setWhatsThis( i18n("<b>Import existing project</b><p>Creates a project file for a given directory.") );
@@ -82,7 +82,7 @@ void AppWizardPart::slotImportProject()
void AppWizardPart::openFilesAfterGeneration(const KURL::List urlsToOpen)
{
m_urlsToOpen = urlsToOpen;
- connect( core(), TQT_SIGNAL( projectOpened() ), this, TQT_SLOT( openFilesAfterGeneration() ) );
+ connect( core(), TQ_SIGNAL( projectOpened() ), this, TQ_SLOT( openFilesAfterGeneration() ) );
}
void AppWizardPart::openFilesAfterGeneration()
@@ -90,7 +90,7 @@ void AppWizardPart::openFilesAfterGeneration()
for (KURL::List::const_iterator it = m_urlsToOpen.begin(); it != m_urlsToOpen.end(); ++it)
partController()->editDocument(*it);
m_urlsToOpen.clear();
- disconnect( core(), TQT_SIGNAL( projectOpened() ), this, TQT_SLOT( openFilesAfterGeneration() ) );
+ disconnect( core(), TQ_SIGNAL( projectOpened() ), this, TQ_SLOT( openFilesAfterGeneration() ) );
}
#include "appwizardpart.moc"
diff --git a/parts/appwizard/common/admin b/parts/appwizard/common/admin
-Subproject 3bdc9fd55ff86f033cc1ffab9178d8453fa1ab2
+Subproject 4185112a621d8c5bc88984b117f434c9560e2cc
diff --git a/parts/appwizard/common/gnome/macros/curses.m4 b/parts/appwizard/common/gnome/macros/curses.m4
index 3dd4ffaa..cbeb9edf 100644
--- a/parts/appwizard/common/gnome/macros/curses.m4
+++ b/parts/appwizard/common/gnome/macros/curses.m4
@@ -111,13 +111,6 @@ AC_DEFUN(AC_CHECK_CURSES,[
fi
])
- AC_ARG_WITH(osf1-curses,
- [ --with-osf1-curses Used to force OSF/1 curses],[
- if test x$withval = xyes; then
- AC_USE_OSF1_CURSES
- fi
- ])
-
AC_ARG_WITH(vcurses,
[ --with-vcurses[=incdir] Used to force SysV curses],
if test x$withval != xyes; then
@@ -164,17 +157,6 @@ AC_DEFUN(AC_USE_SUNOS_CURSES, [
AC_MSG_RESULT(Please note that some screen refreshs may fail)
])
-AC_DEFUN(AC_USE_OSF1_CURSES, [
- AC_MSG_RESULT(Using OSF1 curses)
- search_ncurses=false
- screen_manager="OSF1 curses"
- AC_DEFINE(HAS_CURSES)
- has_curses=true
- AC_DEFINE(NO_COLOR_CURSES)
- AC_DEFINE(USE_SYSV_CURSES)
- CURSES_LIBS="-lcurses"
-])
-
AC_DEFUN(AC_USE_SYSV_CURSES, [
AC_MSG_RESULT(Using SysV curses)
AC_DEFINE(HAS_CURSES)
diff --git a/parts/appwizard/common/gnome/macros/gnome-fileutils.m4 b/parts/appwizard/common/gnome/macros/gnome-fileutils.m4
index 7c11a785..86eaca65 100644
--- a/parts/appwizard/common/gnome/macros/gnome-fileutils.m4
+++ b/parts/appwizard/common/gnome/macros/gnome-fileutils.m4
@@ -28,9 +28,6 @@ if test x$cross_compiling = xyes ; then
freebsd*)
fu_cv_sys_stat_statfs2_bsize=yes
;;
- osf*)
- fu_cv_sys_stat_statfs3_osf1=yes
- ;;
esac
fi
@@ -111,25 +108,6 @@ fi
fi
if test -z "$list_mounted_fs"; then
-# DEC Alpha running OSF/1.
-AC_MSG_CHECKING([for getfsstat function])
-AC_CACHE_VAL(fu_cv_sys_mounted_getsstat,
-[AC_TRY_LINK([
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fs_types.h>],
-[struct statfs *stats;
-int numsys = getfsstat ((struct statfs *)0, 0L, MNT_WAIT); ],
-fu_cv_sys_mounted_getsstat=yes,
-fu_cv_sys_mounted_getsstat=no)])
-AC_MSG_RESULT($fu_cv_sys_mounted_getsstat)
-if test $fu_cv_sys_mounted_getsstat = yes; then
-list_mounted_fs=found
-AC_DEFINE(MOUNTED_GETFSSTAT)
-fi
-fi
-
-if test -z "$list_mounted_fs"; then
# AIX.
AC_MSG_CHECKING([for mntctl function and struct vmount])
AC_CACHE_VAL(fu_cv_sys_mounted_vmount,
@@ -160,27 +138,6 @@ AC_DEFINE(MOUNTED_FREAD_FSTYP)
fi
fi
-if test -z "$list_mounted_fs"; then
-# 4.4BSD and DEC OSF/1.
-AC_MSG_CHECKING([for getmntinfo function])
-AC_CACHE_VAL(fu_cv_sys_mounted_getmntinfo,
-[
-ok=
-if test $ac_cv_func_getmntinfo = yes; then
-AC_EGREP_HEADER(f_type;, sys/mount.h,
-ok=yes)
-fi
-test -n "$ok" \
-&& fu_cv_sys_mounted_getmntinfo=yes \
-|| fu_cv_sys_mounted_getmntinfo=no
-])
-AC_MSG_RESULT($fu_cv_sys_mounted_getmntinfo)
-if test $fu_cv_sys_mounted_getmntinfo = yes; then
-list_mounted_fs=found
-AC_DEFINE(MOUNTED_GETMNTINFO)
-fi
-fi
-
# FIXME: add a test for netbsd-1.1 here
if test -z "$list_mounted_fs"; then
@@ -243,30 +200,6 @@ fi
fi
if test $space = no; then
-# DEC Alpha running OSF/1
-AC_MSG_CHECKING([for 3-argument statfs function (DEC OSF/1)])
-AC_CACHE_VAL(fu_cv_sys_stat_statfs3_osf1,
-[AC_TRY_RUN([
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-main ()
-{
-struct statfs fsd;
-fsd.f_fsize = 0;
-exit (statfs (".", &fsd, sizeof (struct statfs)));
-}],
-fu_cv_sys_stat_statfs3_osf1=yes,
-fu_cv_sys_stat_statfs3_osf1=no,
-fu_cv_sys_stat_statfs3_osf1=no)])
-AC_MSG_RESULT($fu_cv_sys_stat_statfs3_osf1)
-if test $fu_cv_sys_stat_statfs3_osf1 = yes; then
-space=yes
-AC_DEFINE(STAT_STATFS3_OSF1)
-fi
-fi
-
-if test $space = no; then
# AIX
AC_MSG_CHECKING([for two-argument statfs with statfs.bsize dnl
member (AIX, 4.3BSD)])
diff --git a/parts/appwizard/common/gnome2/macros/curses.m4 b/parts/appwizard/common/gnome2/macros/curses.m4
index 5307e13d..57d701e9 100644
--- a/parts/appwizard/common/gnome2/macros/curses.m4
+++ b/parts/appwizard/common/gnome2/macros/curses.m4
@@ -111,13 +111,6 @@ AC_DEFUN([AC_CHECK_CURSES],[
fi
])
- AC_ARG_WITH(osf1-curses,
- [ --with-osf1-curses Used to force OSF/1 curses],[
- if test x$withval = xyes; then
- AC_USE_OSF1_CURSES
- fi
- ])
-
AC_ARG_WITH(vcurses,
[ --with-vcurses[=incdir] Used to force SysV curses],
if test x$withval != xyes; then
@@ -164,17 +157,6 @@ AC_DEFUN([AC_USE_SUNOS_CURSES], [
AC_MSG_RESULT(Please note that some screen refreshs may fail)
])
-AC_DEFUN([AC_USE_OSF1_CURSES], [
- AC_MSG_RESULT(Using OSF1 curses)
- search_ncurses=false
- screen_manager="OSF1 curses"
- AC_DEFINE(HAS_CURSES)
- has_curses=true
- AC_DEFINE(NO_COLOR_CURSES)
- AC_DEFINE(USE_SYSV_CURSES)
- CURSES_LIBS="-lcurses"
-])
-
AC_DEFUN([AC_USE_SYSV_CURSES], [
AC_MSG_RESULT(Using SysV curses)
AC_DEFINE(HAS_CURSES)
diff --git a/parts/appwizard/common/incadmin/config.guess b/parts/appwizard/common/incadmin/config.guess
index aed5d7a0..201d615b 100755
--- a/parts/appwizard/common/incadmin/config.guess
+++ b/parts/appwizard/common/incadmin/config.guess
@@ -216,68 +216,6 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
*:MirBSD:*:*)
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
exit ;;
- alpha:OSF1:*:*)
- case $UNAME_RELEASE in
- *4.0)
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
- ;;
- *5.*)
- UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
- ;;
- esac
- # According to Compaq, /usr/sbin/psrinfo has been available on
- # OSF/1 and Tru64 systems produced since 1995. I hope that
- # covers most systems running today. This code pipes the CPU
- # types through head -n 1, so we only detect the type of CPU 0.
- ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
- case "$ALPHA_CPU_TYPE" in
- "EV4 (21064)")
- UNAME_MACHINE="alpha" ;;
- "EV4.5 (21064)")
- UNAME_MACHINE="alpha" ;;
- "LCA4 (21066/21068)")
- UNAME_MACHINE="alpha" ;;
- "EV5 (21164)")
- UNAME_MACHINE="alphaev5" ;;
- "EV5.6 (21164A)")
- UNAME_MACHINE="alphaev56" ;;
- "EV5.6 (21164PC)")
- UNAME_MACHINE="alphapca56" ;;
- "EV5.7 (21164PC)")
- UNAME_MACHINE="alphapca57" ;;
- "EV6 (21264)")
- UNAME_MACHINE="alphaev6" ;;
- "EV6.7 (21264A)")
- UNAME_MACHINE="alphaev67" ;;
- "EV6.8CB (21264C)")
- UNAME_MACHINE="alphaev68" ;;
- "EV6.8AL (21264B)")
- UNAME_MACHINE="alphaev68" ;;
- "EV6.8CX (21264D)")
- UNAME_MACHINE="alphaev68" ;;
- "EV6.9A (21264/EV69A)")
- UNAME_MACHINE="alphaev69" ;;
- "EV7 (21364)")
- UNAME_MACHINE="alphaev7" ;;
- "EV7.9 (21364A)")
- UNAME_MACHINE="alphaev79" ;;
- esac
- # A Pn.n version is a patched version.
- # A Vn.n version is a released version.
- # A Tn.n version is a released field test version.
- # A Xn.n version is an unreleased experimental baselevel.
- # 1.2 uses "1.2" for uname -r.
- echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
- # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
- exitcode=$?
- trap '' 0
- exit $exitcode ;;
- Alpha\ *:Windows_NT*:*)
- # How do we know it's Interix rather than the generic POSIX subsystem?
- # Should we change UNAME_MACHINE based on the output of uname instead
- # of the specific Alpha model?
- echo alpha-pc-interix
- exit ;;
21064:Windows_NT:50:3)
echo alpha-dec-winnt3.5
exit ;;
@@ -481,22 +419,6 @@ EOF
m88k:*:3*:R3*)
echo m88k-motorola-sysv3
exit ;;
- AViiON:dgux:*:*)
- # DG/UX returns AViiON for all architectures
- UNAME_PROCESSOR=`/usr/bin/uname -p`
- if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
- then
- if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
- [ ${TARGET_BINARY_INTERFACE}x = x ]
- then
- echo m88k-dg-dgux${UNAME_RELEASE}
- else
- echo m88k-dg-dguxbcs${UNAME_RELEASE}
- fi
- else
- echo i586-dg-dgux${UNAME_RELEASE}
- fi
- exit ;;
M88*:DolphinOS:*:*) # DolphinOS (SVR3)
echo m88k-dolphin-sysv3
exit ;;
@@ -714,19 +636,6 @@ EOF
*9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
echo hppa1.0-hp-mpeix
exit ;;
- hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
- echo hppa1.1-hp-osf
- exit ;;
- hp8??:OSF1:*:*)
- echo hppa1.0-hp-osf
- exit ;;
- i*86:OSF1:*:*)
- if [ -x /usr/sbin/sysversion ] ; then
- echo ${UNAME_MACHINE}-unknown-osf1mk
- else
- echo ${UNAME_MACHINE}-unknown-osf1
- fi
- exit ;;
parisc*:Lites*:*:*)
echo hppa1.1-hp-lites
exit ;;
@@ -1080,9 +989,6 @@ EOF
Intel:Mach:3*:*)
echo i386-pc-mach3
exit ;;
- paragon:*:*:*)
- echo i860-intel-osf1
- exit ;;
i860:*:4.*:*) # i860-SVR4
if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
@@ -1141,20 +1047,6 @@ EOF
SM[BE]S:UNIX_SV:*:*)
echo mips-dde-sysv${UNAME_RELEASE}
exit ;;
- RM*:ReliantUNIX-*:*:*)
- echo mips-sni-sysv4
- exit ;;
- RM*:SINIX-*:*:*)
- echo mips-sni-sysv4
- exit ;;
- *:SINIX-*:*:*)
- if uname -p 2>/dev/null >/dev/null ; then
- UNAME_MACHINE=`(uname -p) 2>/dev/null`
- echo ${UNAME_MACHINE}-sni-sysv4
- else
- echo ns32k-sni-sysv
- fi
- exit ;;
PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
# says <Richard.M.Bartel@ccMail.Census.GOV>
echo i586-unisys-sysv4
diff --git a/parts/appwizard/common/incadmin/config.sub b/parts/appwizard/common/incadmin/config.sub
index bc16da11..a44fd184 100755
--- a/parts/appwizard/common/incadmin/config.sub
+++ b/parts/appwizard/common/incadmin/config.sub
@@ -184,34 +184,6 @@ case $os in
-hiux*)
os=-hiuxwe2
;;
- -sco6)
- os=-sco5v6
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco5)
- os=-sco3.2v5
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco4)
- os=-sco3.2v4
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco3.2.[4-9]*)
- os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco3.2v[4-9]*)
- # Don't forget version if it is 3.2v4 or newer.
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco5v6*)
- # Don't forget version if it is 3.2v4 or newer.
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
- -sco*)
- os=-sco3.2v2
- basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
- ;;
-udk*)
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
;;
@@ -714,10 +686,6 @@ case $basic_machine in
hppa-next)
os=-nextstep3
;;
- hppaosf)
- basic_machine=hppa1.1-hp
- os=-osf
- ;;
hppro)
basic_machine=hppa1.1-hp
os=-proelf
@@ -929,10 +897,6 @@ case $basic_machine in
basic_machine=hppa1.1-hitachi
os=-hiuxwe2
;;
- paragon)
- basic_machine=i860-intel
- os=-osf
- ;;
parisc)
basic_machine=hppa-unknown
os=-linux
@@ -1339,7 +1303,7 @@ case $os in
# -sysv* is not here because it comes later, after sysvr4.
-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
- | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+ | -hpux* | -unos* | -luna* | -auroraux* | -solaris* \
| -sym* | -kopensolaris* \
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
| -aos* | -aros* \
@@ -1407,12 +1371,6 @@ case $os in
-wince*)
os=-wince
;;
- -osfrose*)
- os=-osfrose
- ;;
- -osf*)
- os=-osf
- ;;
-utek*)
os=-bsd
;;
@@ -1443,13 +1401,6 @@ case $os in
-nsk*)
os=-nsk
;;
- # Preserve the version number of sinix5.
- -sinix5.*)
- os=`echo $os | sed -e 's|sinix|sysv|'`
- ;;
- -sinix*)
- os=-sysv4
- ;;
-tpf*)
os=-tpf
;;
@@ -1619,9 +1570,6 @@ case $basic_machine in
*-cbm)
os=-amigaos
;;
- *-dg)
- os=-dgux
- ;;
*-dolphin)
os=-sysv3
;;
@@ -1718,9 +1666,6 @@ case $basic_machine in
-unos*)
vendor=crds
;;
- -dgux*)
- vendor=dg
- ;;
-luna*)
vendor=omron
;;
diff --git a/parts/appwizard/common/incadmin/depcomp b/parts/appwizard/common/incadmin/depcomp
index e220f925..9db17ebc 100755
--- a/parts/appwizard/common/incadmin/depcomp
+++ b/parts/appwizard/common/incadmin/depcomp
@@ -198,8 +198,6 @@ aix)
;;
icc)
- # Must come before tru64.
-
# Intel's C compiler understands `-MD -MF file'. However
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
# will fill foo.d with something like
@@ -227,43 +225,6 @@ icc)
rm -f "$tmpdepfile"
;;
-tru64)
- # The Tru64 AIX compiler uses -MD to generate dependencies as a side
- # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
- # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
- # dependencies in `foo.d' instead, so we check for that too.
- # Subdirectories are respected.
-
- tmpdepfile1="$object.d"
- tmpdepfile2=`echo "$object" | sed -e 's/.o$/.d/'`
- if test "$libtool" = yes; then
- "$@" -Wc,-MD
- else
- "$@" -MD
- fi
-
- stat=$?
- if test $stat -eq 0; then :
- else
- rm -f "$tmpdepfile1" "$tmpdepfile2"
- exit $stat
- fi
-
- if test -f "$tmpdepfile1"; then
- tmpdepfile="$tmpdepfile1"
- else
- tmpdepfile="$tmpdepfile2"
- fi
- if test -f "$tmpdepfile"; then
- sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
- # That's a space and a tab in the [].
- sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
- else
- echo "#dummy" > "$depfile"
- fi
- rm -f "$tmpdepfile"
- ;;
-
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
diff --git a/parts/appwizard/common/incadmin/ltmain.sh b/parts/appwizard/common/incadmin/ltmain.sh
index 3f35292a..7de1caf8 100644
--- a/parts/appwizard/common/incadmin/ltmain.sh
+++ b/parts/appwizard/common/incadmin/ltmain.sh
@@ -88,7 +88,6 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
else
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
DUALCASE=1; export DUALCASE # for MKS sh
# NLS nuisances: We save the old values to restore during execute mode.
@@ -2433,10 +2432,6 @@ typedef struct {
runtime relocations are performed -- see ld's documentation
on pseudo-relocs. */"
lt_dlsym_const= ;;
- *osf5*)
- echo >> "$output_objdir/$my_dlsyms" "\
-/* This system does not cope well with relocations in const data */"
- lt_dlsym_const= ;;
*)
lt_dlsym_const=const ;;
esac
@@ -2732,7 +2727,6 @@ if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
else
case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
DUALCASE=1; export DUALCASE # for MKS sh
# The HP-UX ksh and POSIX shell print the target directory to stdout
@@ -3476,7 +3470,6 @@ EOF
XFREE (actual_cwrapper_path);
XFREE (actual_cwrapper_name);
- lt_setenv ("BIN_SH", "xpg4"); /* for Tru64 */
lt_setenv ("DUALCASE", "1"); /* for MSK sh */
lt_update_lib_path (LIB_PATH_VARNAME, LIB_PATH_VALUE);
lt_update_exe_path (EXE_PATH_VARNAME, EXE_PATH_VALUE);
@@ -4539,10 +4532,6 @@ func_mode_link ()
deplibs="$deplibs System.ltframework"
continue
;;
- *-*-sco3.2v5* | *-*-sco5v6*)
- # Causes problems with __ctype
- test "X$arg" = "X-lc" && continue
- ;;
*-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
# Compiler inserts libc in the correct place for threads to work
test "X$arg" = "X-lc" && continue
@@ -4565,10 +4554,8 @@ func_mode_link ()
continue
;;
- # Tru64 UNIX uses -model [arg] to determine the layout of C++
- # classes, name mangling, and exception handling.
# Darwin uses the -arch flag to determine output architecture.
- -model|-arch|-isysroot)
+ arch|-isysroot)
compiler_flags="$compiler_flags $arg"
func_append compile_command " $arg"
func_append finalize_command " $arg"
@@ -4748,12 +4735,6 @@ func_mode_link ()
continue
;;
- # -msg_* for osf cc
- -msg_*)
- func_quote_for_eval "$arg"
- arg="$func_quote_for_eval_result"
- ;;
-
# -64, -mips[0-9] enable 64-bit mode on the SGI compiler
# -r[0-9][0-9]* specifies the processor on the SGI compiler
# -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler
@@ -5674,7 +5655,6 @@ func_mode_link ()
if test "$hardcode_direct" = no; then
add="$dir/$linklib"
case $host in
- *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
*-*-sysv4*uw2*) add_dir="-L$dir" ;;
*-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
*-*-unixware7*) add_dir="-L$dir" ;;
@@ -6192,7 +6172,7 @@ func_mode_link ()
# which has an extra 1 added just for fun
#
case $version_type in
- darwin|linux|osf|windows|none)
+ darwin|linux|windows|none)
func_arith $number_major + $number_minor
current=$func_arith_result
age="$number_minor"
@@ -6317,26 +6297,6 @@ func_mode_link ()
versuffix="$major.$age.$revision"
;;
- osf)
- func_arith $current - $age
- major=.$func_arith_result
- versuffix=".$current.$age.$revision"
- verstring="$current.$age.$revision"
-
- # Add in all the interfaces that we are compatible with.
- loop=$age
- while test "$loop" -ne 0; do
- func_arith $current - $loop
- iface=$func_arith_result
- func_arith $loop - 1
- loop=$func_arith_result
- verstring="$verstring:${iface}.0"
- done
-
- # Make executables depend on our current version.
- verstring="$verstring:${current}.0"
- ;;
-
qnx)
major=".$current"
versuffix=".$current"
@@ -6496,9 +6456,6 @@ func_mode_link ()
*-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
# Do not include libc due to us having libc/libc_r.
;;
- *-*-sco3.2v5* | *-*-sco5v6*)
- # Causes problems with __ctype
- ;;
*-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
# Compiler inserts libc in the correct place for threads to work
;;
@@ -6529,9 +6486,7 @@ func_mode_link ()
pass_all)
# Don't check for shared/static. Everything works.
# This might be a little naive. We might want to check
- # whether the library exists or not. But this is on
- # osf3 & osf4 and I'm not really sure... Just
- # implementing what was already the behavior.
+ # whether the library exists or not.
newdeplibs=$deplibs
;;
test_compile)
diff --git a/parts/appwizard/common/scons/admin/kde.py b/parts/appwizard/common/scons/admin/kde.py
index 2ed199f3..3d54ce93 100644
--- a/parts/appwizard/common/scons/admin/kde.py
+++ b/parts/appwizard/common/scons/admin/kde.py
@@ -523,7 +523,7 @@ ie: """+BOLD+"""scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt
def dcopGenerator(target, source, env, for_signature):
act=[]
act.append('dcopidl '+source[0].path+' > '+target[1].path+'|| ( rm -f '+target[1].path+' ; false)')
- act.append('dcopidl2cpp --c++-suffix cpp --no-Q_SIGNALS --no-stub '+target[1].path)
+ act.append('dcopidl2cpp --c++-suffix cpp --no-signals --no-stub '+target[1].path)
return act
def dcopEmitter(target, source, env):
diff --git a/parts/appwizard/filepropspagebase.ui b/parts/appwizard/filepropspagebase.ui
index 00d7f677..11c20e9e 100644
--- a/parts/appwizard/filepropspagebase.ui
+++ b/parts/appwizard/filepropspagebase.ui
@@ -150,10 +150,10 @@
<tabstop>baseclass_edit</tabstop>
<tabstop>implfile_edit</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotSelectionChanged()</slot>
<slot>slotClassnameChanged(const TQString&amp;)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/parts/appwizard/importdlg.cpp b/parts/appwizard/importdlg.cpp
index 975b9e1f..38b1965e 100644
--- a/parts/appwizard/importdlg.cpp
+++ b/parts/appwizard/importdlg.cpp
@@ -26,16 +26,16 @@
#include <kdebug.h>
#include <kdialog.h>
#include <tdefiledialog.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kcursor.h>
#include <tdefile.h>
#include <kurlrequester.h>
#include <ktrader.h>
#include <tdeparts/componentfactory.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include "kdevcore.h"
#include "kdevversioncontrol.h"
@@ -86,12 +86,12 @@ ImportDialog::ImportDialog(AppWizardPart *part, TQWidget *parent, const char *na
infrastructureBox->setEnabled(false);
setProjectType("c");
- connect( name_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotProjectNameChanged( const TQString & ) ) );
+ connect( name_edit, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotProjectNameChanged( const TQString & ) ) );
// scanAvailableVCS();
- connect( fetchModuleButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotFetchModulesFromRepository()) );
- connect(urlinput_edit, TQT_SIGNAL(urlSelected(const TQString& )), this, TQT_SLOT(dirChanged()));
- connect(urlinput_edit, TQT_SIGNAL(returnPressed(const TQString& )), this, TQT_SLOT(dirChanged()));
+ connect( fetchModuleButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotFetchModulesFromRepository()) );
+ connect(urlinput_edit, TQ_SIGNAL(urlSelected(const TQString& )), this, TQ_SLOT(dirChanged()));
+ connect(urlinput_edit, TQ_SIGNAL(returnPressed(const TQString& )), this, TQ_SLOT(dirChanged()));
slotProjectNameChanged( name_edit->text() );
}
@@ -332,7 +332,7 @@ void ImportDialog::scanLegacyKDevelopProject(const TQString &fileName)
{
kdDebug(9010) << "Scanning legacy KDevelop project file " << fileName << endl;
- KSimpleConfig config(fileName, true);
+ TDESimpleConfig config(fileName, true);
config.setGroup("General");
author_edit->setText(config.readEntry("author"));
email_edit->setText(config.readEntry("email"));
@@ -355,7 +355,7 @@ void ImportDialog::scanLegacyStudioProject(const TQString &fileName)
kdDebug(9010) << "Scanning legacy studio project file " << fileName << endl;
// Not much to do here...
- KSimpleConfig config(fileName, true);
+ TDESimpleConfig config(fileName, true);
config.setGroup("kdestudio");
name_edit->setText(config.readEntry("Name"));
}
@@ -409,7 +409,7 @@ void ImportDialog::scanAutomakeProject(const TQString &dirName)
// AC_DEFINE(VERSION, "5.6")
TQRegExp ac_define("^AC_DEFINE\\s*\\(\\s*[^,]+,([^\\)]+)");
TQRegExp version("(\\bversion\\b)");
- version.setCaseSensitive(FALSE);
+ version.setCaseSensitive(false);
TQTextStream cstream;
// try for configure.in.in, configure.in, then configure.ac
@@ -531,8 +531,8 @@ void ImportDialog::slotFetchModulesFromRepository()
setCursor( KCursor::waitCursor() );
// setEnabled( false );
- connect( vcs, TQT_SIGNAL(finishedFetching(TQString)),
- this, TQT_SLOT(slotFinishedCheckout(TQString)) );
+ connect( vcs, TQ_SIGNAL(finishedFetching(TQString)),
+ this, TQ_SLOT(slotFinishedCheckout(TQString)) );
//restore cursor if we can't fetch repository
if ( !vcs->fetchFromRepository() )
diff --git a/parts/appwizard/importdlgbase.ui b/parts/appwizard/importdlgbase.ui
index aa778f00..c18beff7 100644
--- a/parts/appwizard/importdlgbase.ui
+++ b/parts/appwizard/importdlgbase.ui
@@ -346,12 +346,12 @@ will be the author, everything between
<tabstop>ok_button</tabstop>
<tabstop>cancel_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">dirButtonClicked()</slot>
<slot>dirChanged()</slot>
<slot access="protected">projectTypeChanged(const TQString &amp;)</slot>
<slot access="protected">projectTypeChanged(int)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/parts/appwizard/misc.cpp b/parts/appwizard/misc.cpp
index ddedef60..f549f752 100644
--- a/parts/appwizard/misc.cpp
+++ b/parts/appwizard/misc.cpp
@@ -18,7 +18,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <tdeglobal.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeconfig.h>
void AppWizardUtil::guessAuthorAndEmail(TQString *author, TQString *email)
diff --git a/parts/astyle/astyle_part.cpp b/parts/astyle/astyle_part.cpp
index 6f9198b0..df911cc1 100644
--- a/parts/astyle/astyle_part.cpp
+++ b/parts/astyle/astyle_part.cpp
@@ -50,13 +50,13 @@ AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &)
setXMLFile("kdevpart_astyle.rc");
- formatTextAction = new TDEAction(i18n("&Reformat Source"), 0, this, TQT_SLOT(beautifySource()), actionCollection(), "edit_astyle");
+ formatTextAction = new TDEAction(i18n("&Reformat Source"), 0, this, TQ_SLOT(beautifySource()), actionCollection(), "edit_astyle");
formatTextAction->setEnabled(false);
formatTextAction->setToolTip(i18n("Reformat source"));
formatTextAction->setWhatsThis(i18n("<b>Reformat source</b><p>Source reformatting functionality using <b>astyle</b> library. "
"Also available in <b>New Class</b> and <b>Subclassing</b> wizards."));
- formatFileAction = new TDEAction(i18n("Format files"), 0, this, TQT_SLOT(formatFilesSelect()), actionCollection(), "tools_astyle");
+ formatFileAction = new TDEAction(i18n("Format files"), 0, this, TQ_SLOT(formatFilesSelect()), actionCollection(), "tools_astyle");
formatFileAction->setEnabled(false);
formatFileAction->setToolTip(i18n("Format files"));
formatFileAction->setWhatsThis(i18n("<b>Fomat files</b><p>Formatting functionality using <b>astyle</b> library. "
@@ -68,11 +68,11 @@ AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &)
m_configProxy->createProjectConfigPage(i18n("Formatting"), PROJECTDOC_OPTIONS, info()->icon());
- connect(m_configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase* ,TQWidget*,unsigned int)), this, TQT_SLOT(insertConfigWidget(const KDialogBase*,TQWidget*,unsigned int)));
+ connect(m_configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase* ,TQWidget*,unsigned int)), this, TQ_SLOT(insertConfigWidget(const KDialogBase*,TQWidget*,unsigned int)));
- connect(partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), this, TQT_SLOT(activePartChanged(KParts::Part*)));
+ connect(partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)), this, TQ_SLOT(activePartChanged(KParts::Part*)));
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
loadGlobal();
//use the globals first, project level will override later..
@@ -88,7 +88,7 @@ AStylePart::AStylePart(TQObject *parent, const char *name, const TQStringList &)
void AStylePart::loadGlobal()
{
// kdDebug(9009) << "Load global"<<endl;
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("AStyle");
TQString options = config->readEntry("Options","BlockBreak=0,BlockBreakAll=0,BlockIfElse=0,Brackets=Break,BracketsCloseHeaders=0,FStyle=UserDefined,Fill=Tabs,FillCount=4,FillEmptyLines=0,FillForce=0,IndentBlocks=0,IndentBrackets=0,IndentCases=0,IndentClasses=1,IndentLabels=1,IndentNamespaces=1,IndentPreprocessors=0,IndentSwitches=1,KeepBlocks=1,KeepStatements=1,MaxStatement=40,MinConditional=-1,PadOperators=0,PadParenthesesIn=1,PadParenthesesOut=1,PadParenthesesUn=1,");
m_globalExtensions=TQStringList::split(",",config->readEntry("Extensions",defaultFormatExtensions));
@@ -123,7 +123,7 @@ void AStylePart::saveGlobal()
// kdDebug(9009) << "project before: " <<iter.key() << "="<< iter.data() << endl;
// }
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("AStyle");
config->writeEntry("Options",options);
config->writeEntry("Extensions",m_globalExtensions.join(","));
@@ -249,13 +249,13 @@ void AStylePart::insertConfigWidget(const KDialogBase *dlg, TQWidget *page, unsi
case GLOBALDOC_OPTIONS:
{
AStyleWidget *w = new AStyleWidget(this, true, page, "astyle config widget");
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
break;
}
case PROJECTDOC_OPTIONS:
{
AStyleWidget *w = new AStyleWidget(this, false, page, "astyle config widget");
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
break;
}
}
@@ -399,7 +399,7 @@ void AStylePart::contextMenu(TQPopupMenu *popup, const Context *context)
if (context->hasType( Context::EditorContext ))
{
popup->insertSeparator();
- int id = popup->insertItem( i18n("Format selection"), this, TQT_SLOT(beautifySource()) );
+ int id = popup->insertItem( i18n("Format selection"), this, TQ_SLOT(beautifySource()) );
popup->TQMenuData::setWhatsThis(id, i18n("<b>Format</b><p>Formats the current selection, if possible"));
}
else if ( context->hasType( Context::FileContext )){
@@ -407,7 +407,7 @@ void AStylePart::contextMenu(TQPopupMenu *popup, const Context *context)
m_urls = ctx->urls();
popup->insertSeparator();
- int id = popup->insertItem( i18n("Format files"), this, TQT_SLOT(formatFiles()) );
+ int id = popup->insertItem( i18n("Format files"), this, TQ_SLOT(formatFiles()) );
popup->TQMenuData::setWhatsThis(id, i18n("<b>Format files</b><p>Formats selected files if possible"));
}
diff --git a/parts/astyle/astyle_widget.cpp b/parts/astyle/astyle_widget.cpp
index 6959fe7b..67cf8d5c 100644
--- a/parts/astyle/astyle_widget.cpp
+++ b/parts/astyle/astyle_widget.cpp
@@ -17,40 +17,40 @@ AStyleWidget::AStyleWidget(AStylePart * part, bool global, TQWidget *parent, con
: AStyleConfig(parent, name), m_part(part), isGlobalWidget(global)
{
// which style changed - disable the other pages.
- connect(StyleGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(styleChanged()));
- connect(ConfigTabs, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(styleChanged()) );
-
- connect(FillingGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(styleChanged()));
- connect(Fill_ForceTabs, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Fill_TabCount, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(styleChanged()));
- connect(Fill_SpaceCount, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(styleChanged()));
-
- connect(BracketGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(styleChanged()));
- connect(Brackets_CloseHeaders, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
-
- connect(Indent_Switches, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Indent_Cases, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Indent_Classes, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Indent_Brackets, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Indent_Namespaces, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Indent_Labels, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Indent_Blocks, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Indent_Preprocessors, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
-
- connect(Continue_MaxStatement, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(styleChanged()));
- connect(Continue_MinConditional, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(styleChanged()));
-
- connect(Block_Break, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Block_BreakAll, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Block_IfElse, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
-
- connect(Pad_ParenthesesIn, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Pad_ParenthesesOut, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Pad_ParenthesesUn, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Pad_Operators, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
-
- connect(Keep_Statements, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
- connect(Keep_Blocks, TQT_SIGNAL(clicked()), this, TQT_SLOT(styleChanged()));
+ connect(StyleGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(styleChanged()));
+ connect(ConfigTabs, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SLOT(styleChanged()) );
+
+ connect(FillingGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(styleChanged()));
+ connect(Fill_ForceTabs, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Fill_TabCount, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(styleChanged()));
+ connect(Fill_SpaceCount, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(styleChanged()));
+
+ connect(BracketGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(styleChanged()));
+ connect(Brackets_CloseHeaders, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+
+ connect(Indent_Switches, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Indent_Cases, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Indent_Classes, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Indent_Brackets, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Indent_Namespaces, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Indent_Labels, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Indent_Blocks, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Indent_Preprocessors, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+
+ connect(Continue_MaxStatement, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(styleChanged()));
+ connect(Continue_MinConditional, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(styleChanged()));
+
+ connect(Block_Break, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Block_BreakAll, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Block_IfElse, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+
+ connect(Pad_ParenthesesIn, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Pad_ParenthesesOut, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Pad_ParenthesesUn, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Pad_Operators, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+
+ connect(Keep_Statements, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
+ connect(Keep_Blocks, TQ_SIGNAL(clicked()), this, TQ_SLOT(styleChanged()));
TQStringVariantMap option;
diff --git a/parts/astyle/astyleconfig.ui b/parts/astyle/astyleconfig.ui
index 73cf691a..28a3432e 100644
--- a/parts/astyle/astyleconfig.ui
+++ b/parts/astyle/astyleconfig.ui
@@ -1324,9 +1324,9 @@ multiple single-statement lines.</string>
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot>allFiles()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/parts/bookmarks/bookmarks_config.cpp b/parts/bookmarks/bookmarks_config.cpp
index 36cc05a5..f49b76c8 100644
--- a/parts/bookmarks/bookmarks_config.cpp
+++ b/parts/bookmarks/bookmarks_config.cpp
@@ -32,7 +32,7 @@ BookmarksConfig::~BookmarksConfig()
*/
void BookmarksConfig::writeConfig()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Bookmarks");
config->writeEntry("Context", _context );
@@ -49,7 +49,7 @@ void BookmarksConfig::writeConfig()
*/
void BookmarksConfig::readConfig()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Bookmarks");
_context = config->readPropertyEntry( "Context", 5 ).toInt();
diff --git a/parts/bookmarks/bookmarks_part.cpp b/parts/bookmarks/bookmarks_part.cpp
index e4dc74a2..a22756df 100644
--- a/parts/bookmarks/bookmarks_part.cpp
+++ b/parts/bookmarks/bookmarks_part.cpp
@@ -64,19 +64,19 @@ BookmarksPart::BookmarksPart(TQObject *parent, const char *name, const TQStringL
_editorMap.setAutoDelete( true );
_settingMarks = false;
- connect( partController(), TQT_SIGNAL( partAdded( KParts::Part * ) ), this, TQT_SLOT( partAdded( KParts::Part * ) ) );
+ connect( partController(), TQ_SIGNAL( partAdded( KParts::Part * ) ), this, TQ_SLOT( partAdded( KParts::Part * ) ) );
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("Bookmarks"), BOOKMARKSETTINGSPAGE, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- connect( _widget, TQT_SIGNAL( removeAllBookmarksForURL( const KURL & ) ),
- this, TQT_SLOT( removeAllBookmarksForURL( const KURL & ) ) );
- connect( _widget, TQT_SIGNAL( removeBookmarkForURL( const KURL &, int ) ),
- this, TQT_SLOT( removeBookmarkForURL( const KURL &, int ) ) );
+ connect( _widget, TQ_SIGNAL( removeAllBookmarksForURL( const KURL & ) ),
+ this, TQ_SLOT( removeAllBookmarksForURL( const KURL & ) ) );
+ connect( _widget, TQ_SIGNAL( removeBookmarkForURL( const KURL &, int ) ),
+ this, TQ_SLOT( removeBookmarkForURL( const KURL &, int ) ) );
- connect( _marksChangeTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( marksChanged() ) );
+ connect( _marksChangeTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( marksChanged() ) );
_config = new BookmarksConfig;
_config->readConfig();
@@ -112,10 +112,10 @@ void BookmarksPart::partAdded( KParts::Part * part )
// connect to this editor
KTextEditor::Document * doc = static_cast<KTextEditor::Document*>( ro_part );
- connect( doc, TQT_SIGNAL( marksChanged() ), this, TQT_SLOT( marksEvent() ) );
+ connect( doc, TQ_SIGNAL( marksChanged() ), this, TQ_SLOT( marksEvent() ) );
// workaround for a katepart oddity where it drops all bookmarks on 'reload'
- connect( doc, TQT_SIGNAL( completed() ), this, TQT_SLOT( reload() ) );
+ connect( doc, TQ_SIGNAL( completed() ), this, TQ_SLOT( reload() ) );
}
}
}
@@ -490,7 +490,7 @@ void BookmarksPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page
if ( pagenumber == BOOKMARKSETTINGSPAGE )
{
BookmarkSettings * w = new BookmarkSettings( this, page );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotAccept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(slotAccept()) );
}
}
diff --git a/parts/bookmarks/bookmarks_widget.cpp b/parts/bookmarks/bookmarks_widget.cpp
index ac14328b..33354269 100644
--- a/parts/bookmarks/bookmarks_widget.cpp
+++ b/parts/bookmarks/bookmarks_widget.cpp
@@ -150,10 +150,10 @@ BookmarksWidget::BookmarksWidget(BookmarksPart *part)
setAllColumnsShowFocus( true );
// setSortColumn( -1 );
- connect( this, TQT_SIGNAL( executed( TQListViewItem * ) ), this, TQT_SLOT( itemClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( returnPressed( TQListViewItem * ) ), this, TQT_SLOT( itemClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( contextMenuRequested ( TQListViewItem *, const TQPoint & , int ) ),
- this, TQT_SLOT( popupMenu(TQListViewItem *, const TQPoint & , int ) ) );
+ connect( this, TQ_SIGNAL( executed( TQListViewItem * ) ), this, TQ_SLOT( itemClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( returnPressed( TQListViewItem * ) ), this, TQ_SLOT( itemClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( contextMenuRequested ( TQListViewItem *, const TQPoint & , int ) ),
+ this, TQ_SLOT( popupMenu(TQListViewItem *, const TQPoint & , int ) ) );
}
@@ -270,18 +270,18 @@ void BookmarksWidget::popupMenu( TQListViewItem * item, const TQPoint & p, int )
popup.insertTitle( _selectedItem->url().fileName() + i18n(", line ")
+ TQString::number( _selectedItem->line() +1 ) );
- popup.insertItem( i18n("Remove This Bookmark"), this, TQT_SLOT( doEmitRemoveBookMark() ) );
+ popup.insertItem( i18n("Remove This Bookmark"), this, TQ_SLOT( doEmitRemoveBookMark() ) );
}
else
{
popup.insertTitle( _selectedItem->url().fileName() + i18n( ", All" ) );
- popup.insertItem( i18n("Remove These Bookmarks"), this, TQT_SLOT( doEmitRemoveBookMark() ) );
+ popup.insertItem( i18n("Remove These Bookmarks"), this, TQ_SLOT( doEmitRemoveBookMark() ) );
}
popup.insertSeparator();
- popup.insertItem( i18n( "Collapse All" ), this, TQT_SLOT(collapseAll()) );
- popup.insertItem( i18n( "Expand All" ), this, TQT_SLOT(expandAll()) );
+ popup.insertItem( i18n( "Collapse All" ), this, TQ_SLOT(collapseAll()) );
+ popup.insertItem( i18n( "Expand All" ), this, TQ_SLOT(expandAll()) );
popup.exec(p);
}
diff --git a/parts/classview/classtooldlg.cpp b/parts/classview/classtooldlg.cpp
index c0cc21a2..853eb417 100644
--- a/parts/classview/classtooldlg.cpp
+++ b/parts/classview/classtooldlg.cpp
@@ -106,21 +106,21 @@ ClassToolDialog::ClassToolDialog( ClassViewPart *part )
layout->addWidget(class_tree, 10);
- connect( class_combo, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotClassComboChoice(const TQString&)) );
- connect( close_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotClose()) );
- connect( access_combo, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotAccessComboChoice(const TQString&)) );
- connect( parents_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewParents()));
- connect( children_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewChildren()));
- connect( clients_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewClients()));
- connect( suppliers_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewSuppliers()));
- connect( methods_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewMethods()));
- connect( attributes_button, TQT_SIGNAL(clicked()), TQT_SLOT(viewAttributes()));
-
- connect( part, TQT_SIGNAL(setLanguageSupport(KDevLanguageSupport*)),
- this, TQT_SLOT(setLanguageSupport(KDevLanguageSupport*)) );
+ connect( class_combo, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotClassComboChoice(const TQString&)) );
+ connect( close_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotClose()) );
+ connect( access_combo, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotAccessComboChoice(const TQString&)) );
+ connect( parents_button, TQ_SIGNAL(clicked()), TQ_SLOT(viewParents()));
+ connect( children_button, TQ_SIGNAL(clicked()), TQ_SLOT(viewChildren()));
+ connect( clients_button, TQ_SIGNAL(clicked()), TQ_SLOT(viewClients()));
+ connect( suppliers_button, TQ_SIGNAL(clicked()), TQ_SLOT(viewSuppliers()));
+ connect( methods_button, TQ_SIGNAL(clicked()), TQ_SLOT(viewMethods()));
+ connect( attributes_button, TQ_SIGNAL(clicked()), TQ_SLOT(viewAttributes()));
+
+ connect( part, TQ_SIGNAL(setLanguageSupport(KDevLanguageSupport*)),
+ this, TQ_SLOT(setLanguageSupport(KDevLanguageSupport*)) );
m_part->registerClassToolDialog(this);
}
@@ -136,7 +136,7 @@ void ClassToolDialog::setLanguageSupport(KDevLanguageSupport *ls)
{
if (ls) {
disconnect(ls, 0, this, 0);
- connect(ls, TQT_SIGNAL(updatedSourceInfo()), this, TQT_SLOT(refresh()));
+ connect(ls, TQ_SIGNAL(updatedSourceInfo()), this, TQ_SLOT(refresh()));
} else
refresh();
@@ -240,7 +240,7 @@ void ClassToolDialog::slotAccessComboChoice(const TQString &str)
void ClassToolDialog::slotClose()
{
delete this;
- // TQTimer::singleShot(0, this, TQT_SLOT(delayedClose()));
+ // TQTimer::singleShot(0, this, TQ_SLOT(delayedClose()));
}
diff --git a/parts/classview/classtreebase.cpp b/parts/classview/classtreebase.cpp
index 9e052418..aeb7f11a 100644
--- a/parts/classview/classtreebase.cpp
+++ b/parts/classview/classtreebase.cpp
@@ -40,9 +40,9 @@ TDEPopupMenu *ClassTreeItem::createPopup()
TDEPopupMenu *popup = new TDEPopupMenu();
if (features & KDevLanguageSupport::Declarations)
- popup->insertItem( i18n("Go to Declaration"), classTree(), TQT_SLOT(slotGotoDeclaration()) );
+ popup->insertItem( i18n("Go to Declaration"), classTree(), TQ_SLOT(slotGotoDeclaration()) );
if (m_item->itemType() == PIT_METHOD)
- popup->insertItem( i18n("Go to Definition"), classTree(), TQT_SLOT(slotGotoImplementation()) );
+ popup->insertItem( i18n("Go to Definition"), classTree(), TQ_SLOT(slotGotoImplementation()) );
TQString title;
switch(m_item->itemType()) {
@@ -52,13 +52,13 @@ TDEPopupMenu *ClassTreeItem::createPopup()
bool hasAddMethod = features & KDevLanguageSupport::AddMethod;
bool hasAddAttribute = features & KDevLanguageSupport::AddAttribute;
if (hasAddMethod)
- popup->insertItem( i18n("Add Method..."), classTree(), TQT_SLOT(slotAddMethod()));
+ popup->insertItem( i18n("Add Method..."), classTree(), TQ_SLOT(slotAddMethod()));
if (hasAddAttribute)
- popup->insertItem( i18n("Add Attribute..."), classTree(), TQT_SLOT(slotAddAttribute()));
+ popup->insertItem( i18n("Add Attribute..."), classTree(), TQ_SLOT(slotAddAttribute()));
popup->insertSeparator();
- popup->insertItem( i18n("Parent Classes..."), classTree(), TQT_SLOT(slotClassBaseClasses()));
- popup->insertItem( i18n("Child Classes..."), classTree(), TQT_SLOT(slotClassDerivedClasses()));
- popup->insertItem( i18n("Class Tool..."), classTree(), TQT_SLOT(slotClassTool()));
+ popup->insertItem( i18n("Parent Classes..."), classTree(), TQ_SLOT(slotClassBaseClasses()));
+ popup->insertItem( i18n("Child Classes..."), classTree(), TQ_SLOT(slotClassDerivedClasses()));
+ popup->insertItem( i18n("Class Tool..."), classTree(), TQ_SLOT(slotClassTool()));
}
break;
case PIT_STRUCT:
@@ -459,14 +459,14 @@ ClassTreeBase::ClassTreeBase(ClassViewPart *part, TQWidget *parent, const char *
(void) new ClassToolTip(this);
- connect( this, TQT_SIGNAL(executed(TQListViewItem*)),
- this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(slotItemPressed(int, TQListViewItem*)) );
- connect( this, TQT_SIGNAL(returnPressed( TQListViewItem*)),
- TQT_SLOT( slotItemExecuted(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(slotContextMenuRequested(TQListViewItem*, const TQPoint&)) );
+ connect( this, TQ_SIGNAL(executed(TQListViewItem*)),
+ this, TQ_SLOT(slotItemExecuted(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(slotItemPressed(int, TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(returnPressed( TQListViewItem*)),
+ TQ_SLOT( slotItemExecuted(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(slotContextMenuRequested(TQListViewItem*, const TQPoint&)) );
m_part = part;
}
diff --git a/parts/classview/classviewpart.cpp b/parts/classview/classviewpart.cpp
index d068adaa..93110a54 100644
--- a/parts/classview/classviewpart.cpp
+++ b/parts/classview/classviewpart.cpp
@@ -161,11 +161,11 @@ ClassViewPart::ClassViewPart(TQObject *parent, const char *name, const TQStringL
TQWhatsThis::add(m_widget, i18n("<b>Class browser</b><p>"
"The class browser shows all namespaces, classes and namespace and class members in a project."));
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) );
- connect( core(), TQT_SIGNAL(languageChanged()), this, TQT_SLOT(slotProjectOpened()) );
- connect( partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)),
- this, TQT_SLOT(activePartChanged(KParts::Part*)));
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(slotProjectClosed()) );
+ connect( core(), TQ_SIGNAL(languageChanged()), this, TQ_SLOT(slotProjectOpened()) );
+ connect( partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)),
+ this, TQ_SLOT(activePartChanged(KParts::Part*)));
}
bool ClassViewPart::jumpedToItem( ItemDom item ) {
@@ -182,34 +182,34 @@ ClassViewPart::~ClassViewPart()
void ClassViewPart::slotProjectOpened( )
{
- connect( languageSupport(), TQT_SIGNAL(updatedSourceInfo()), navigator, TQT_SLOT(refresh()) );
- connect( languageSupport(), TQT_SIGNAL(addedSourceInfo(const TQString& )), navigator, TQT_SLOT(addFile(const TQString& )));
+ connect( languageSupport(), TQ_SIGNAL(updatedSourceInfo()), navigator, TQ_SLOT(refresh()) );
+ connect( languageSupport(), TQ_SIGNAL(addedSourceInfo(const TQString& )), navigator, TQ_SLOT(addFile(const TQString& )));
navigator->refresh();
}
void ClassViewPart::slotProjectClosed( )
{
// navigator->refresh();
-// disconnect( languageSupport(), TQT_SIGNAL(updatedSourceInfo()), navigator, TQT_SLOT(refresh()) );
+// disconnect( languageSupport(), TQ_SIGNAL(updatedSourceInfo()), navigator, TQ_SLOT(refresh()) );
}
void ClassViewPart::setupActions( )
{
m_functionsnav = new TDEListViewAction( new KComboView(true, 150, 0, "m_functionsnav_combo", new FunctionCompletion() ), i18n("Functions Navigation"), 0, 0, 0, actionCollection(), "functionsnav_combo", true );
- connect(m_functionsnav->view(), TQT_SIGNAL(activated(TQListViewItem*)), navigator, TQT_SLOT(selectFunctionNav(TQListViewItem*)));
+ connect(m_functionsnav->view(), TQ_SIGNAL(activated(TQListViewItem*)), navigator, TQ_SLOT(selectFunctionNav(TQListViewItem*)));
// m_functionsnav->view()->setEditable(false);
- connect(m_functionsnav->view(), TQT_SIGNAL(focusGranted()), navigator, TQT_SLOT(functionNavFocused()));
- connect(m_functionsnav->view(), TQT_SIGNAL(focusLost()), navigator, TQT_SLOT(functionNavUnFocused()));
+ connect(m_functionsnav->view(), TQ_SIGNAL(focusGranted()), navigator, TQ_SLOT(functionNavFocused()));
+ connect(m_functionsnav->view(), TQ_SIGNAL(focusLost()), navigator, TQ_SLOT(functionNavUnFocused()));
m_functionsnav->setToolTip(i18n("Functions in file"));
m_functionsnav->setWhatsThis(i18n("<b>Function navigator</b><p>Navigates over functions contained in the file."));
// m_functionsnav->view()->setCurrentText(NAV_NODEFINITION);
m_functionsnav->view()->setDefaultText(NAV_NODEFINITION);
- new TDEAction( i18n("Focus Navigator"), 0, this, TQT_SLOT(slotFocusNavbar()), actionCollection(), "focus_navigator" );
+ new TDEAction( i18n("Focus Navigator"), 0, this, TQ_SLOT(slotFocusNavbar()), actionCollection(), "focus_navigator" );
if (langHasFeature(KDevLanguageSupport::Classes))
{
- TDEAction *ac = new TDEAction(i18n("Class Inheritance Diagram"), "view_tree", 0, this, TQT_SLOT(graphicalClassView()), actionCollection(), "inheritance_dia");
+ TDEAction *ac = new TDEAction(i18n("Class Inheritance Diagram"), "view_tree", 0, this, TQ_SLOT(graphicalClassView()), actionCollection(), "inheritance_dia");
ac->setToolTip(i18n("Class inheritance diagram"));
ac->setWhatsThis(i18n("<b>Class inheritance diagram</b><p>Displays inheritance relationship between classes in project. "
"Note, it does not display classes outside inheritance hierarchy."));
@@ -242,8 +242,8 @@ void ClassViewPart::activePartChanged( KParts::Part * part)
navigator->stopTimer();
if (m_activeView)
{
- disconnect(m_activeView, TQT_SIGNAL(cursorPositionChanged()),
- navigator, TQT_SLOT(slotCursorPositionChanged()));
+ disconnect(m_activeView, TQ_SIGNAL(cursorPositionChanged()),
+ navigator, TQ_SLOT(slotCursorPositionChanged()));
}
kdDebug() << "ClassViewPart::activePartChanged()" << endl;
@@ -267,8 +267,8 @@ void ClassViewPart::activePartChanged( KParts::Part * part)
}
if( m_activeViewCursor )
{
- connect(m_activeView, TQT_SIGNAL(cursorPositionChanged()),
- navigator, TQT_SLOT(slotCursorPositionChanged()) );
+ connect(m_activeView, TQ_SIGNAL(cursorPositionChanged()),
+ navigator, TQ_SLOT(slotCursorPositionChanged()) );
}
}
void ClassViewPart::slotFocusNavbar()
diff --git a/parts/classview/classviewwidget.cpp b/parts/classview/classviewwidget.cpp
index 22b865ef..9d1951be 100644
--- a/parts/classview/classviewwidget.cpp
+++ b/parts/classview/classviewwidget.cpp
@@ -23,7 +23,7 @@
#include "classviewwidget.h"
#include <kiconloader.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <kurl.h>
#include <tdeaction.h>
#include <tdeactionclasses.h>
@@ -59,11 +59,11 @@ ClassViewWidget::ClassViewWidget( ClassViewPart * part )
m_projectItem = 0;
- connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)), this, TQT_SLOT(slotExecuted(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotExecuted(TQListViewItem*)) );
- connect( m_part->core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
- connect( m_part->core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) );
- connect( m_part->core(), TQT_SIGNAL(languageChanged()), this, TQT_SLOT(slotProjectOpened()) );
+ connect( this, TQ_SIGNAL(returnPressed(TQListViewItem*)), this, TQ_SLOT(slotExecuted(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotExecuted(TQListViewItem*)) );
+ connect( m_part->core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
+ connect( m_part->core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(slotProjectClosed()) );
+ connect( m_part->core(), TQ_SIGNAL(languageChanged()), this, TQ_SLOT(slotProjectOpened()) );
TQStringList lst;
lst << i18n( "Group by Directories" ) << i18n( "Plain List" ) << i18n( "Java Like Mode" );
@@ -71,28 +71,28 @@ ClassViewWidget::ClassViewWidget( ClassViewPart * part )
m_actionViewMode->setItems( lst );
m_actionViewMode->setWhatsThis(i18n("<b>View mode</b><p>Class browser items can be grouped by directories, listed in a plain or java like view."));
- m_actionNewClass = new TDEAction( i18n("New Class..."), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotNewClass()),
+ m_actionNewClass = new TDEAction( i18n("New Class..."), TDEShortcut(), this, TQ_SLOT(slotNewClass()),
m_part->actionCollection(), "classview_new_class" );
m_actionNewClass->setWhatsThis(i18n("<b>New class</b><p>Calls the <b>New Class</b> wizard."));
- m_actionCreateAccessMethods = new TDEAction( i18n("Create get/set Methods"), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotCreateAccessMethods()), m_part->actionCollection(), "classview_create_access_methods" );
+ m_actionCreateAccessMethods = new TDEAction( i18n("Create get/set Methods"), TDEShortcut(), this, TQ_SLOT(slotCreateAccessMethods()), m_part->actionCollection(), "classview_create_access_methods" );
- m_actionAddMethod = new TDEAction( i18n("Add Method..."), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotAddMethod()),
+ m_actionAddMethod = new TDEAction( i18n("Add Method..."), TDEShortcut(), this, TQ_SLOT(slotAddMethod()),
m_part->actionCollection(), "classview_add_method" );
m_actionAddMethod->setWhatsThis(i18n("<b>Add method</b><p>Calls the <b>New Method</b> wizard."));
- m_actionAddAttribute = new TDEAction( i18n("Add Attribute..."), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotAddAttribute()),
+ m_actionAddAttribute = new TDEAction( i18n("Add Attribute..."), TDEShortcut(), this, TQ_SLOT(slotAddAttribute()),
m_part->actionCollection(), "classview_add_attribute" );
m_actionAddAttribute->setWhatsThis(i18n("<b>Add attribute</b><p>Calls the <b>New Attribute</b> wizard."));
- m_actionOpenDeclaration = new TDEAction( i18n("Open Declaration"), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotOpenDeclaration()),
+ m_actionOpenDeclaration = new TDEAction( i18n("Open Declaration"), TDEShortcut(), this, TQ_SLOT(slotOpenDeclaration()),
m_part->actionCollection(), "classview_open_declaration" );
m_actionOpenDeclaration->setWhatsThis(i18n("<b>Open declaration</b><p>Opens a file where the selected item is declared and jumps to the declaration line."));
- m_actionOpenImplementation = new TDEAction( i18n("Open Implementation"), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotOpenImplementation()),
+ m_actionOpenImplementation = new TDEAction( i18n("Open Implementation"), TDEShortcut(), this, TQ_SLOT(slotOpenImplementation()),
m_part->actionCollection(), "classview_open_implementation" );
m_actionOpenImplementation->setWhatsThis(i18n("<b>Open implementation</b><p>Opens a file where the selected item is defined (implemented) and jumps to the definition line."));
- m_actionFollowEditor = new TDEToggleAction( i18n("Follow Editor"), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotFollowEditor()), m_part->actionCollection(), "classview_follow_editor" );
+ m_actionFollowEditor = new TDEToggleAction( i18n("Follow Editor"), TDEShortcut(), this, TQ_SLOT(slotFollowEditor()), m_part->actionCollection(), "classview_follow_editor" );
TDEConfig* config = m_part->instance()->config();
config->setGroup( "General" );
@@ -218,12 +218,12 @@ void ClassViewWidget::slotProjectOpened( )
m_projectDirectoryLength = m_projectDirectory.length() + 1;
- connect( m_part->languageSupport(), TQT_SIGNAL(updatedSourceInfo()),
- this, TQT_SLOT(refresh()) );
- connect( m_part->languageSupport(), TQT_SIGNAL(aboutToRemoveSourceInfo(const TQString&)),
- this, TQT_SLOT(removeFile(const TQString&)) );
- connect( m_part->languageSupport(), TQT_SIGNAL(addedSourceInfo(const TQString&)),
- this, TQT_SLOT(insertFile(const TQString&)) );
+ connect( m_part->languageSupport(), TQ_SIGNAL(updatedSourceInfo()),
+ this, TQ_SLOT(refresh()) );
+ connect( m_part->languageSupport(), TQ_SIGNAL(aboutToRemoveSourceInfo(const TQString&)),
+ this, TQ_SLOT(removeFile(const TQString&)) );
+ connect( m_part->languageSupport(), TQ_SIGNAL(addedSourceInfo(const TQString&)),
+ this, TQ_SLOT(insertFile(const TQString&)) );
}
void ClassViewWidget::slotProjectClosed( )
diff --git a/parts/classview/digraphview.cpp b/parts/classview/digraphview.cpp
index 1e3fa8e0..f4b059e7 100644
--- a/parts/classview/digraphview.cpp
+++ b/parts/classview/digraphview.cpp
@@ -20,8 +20,8 @@
#include <tdeglobal.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kprocess.h>
-#include <kstandarddirs.h>
+#include <tdeprocess.h>
+#include <tdestandarddirs.h>
#include <tdeglobalsettings.h>
#include <tdetempfile.h>
#include <tdeversion.h>
diff --git a/parts/classview/hierarchydlg.cpp b/parts/classview/hierarchydlg.cpp
index 32d05059..3059f00e 100644
--- a/parts/classview/hierarchydlg.cpp
+++ b/parts/classview/hierarchydlg.cpp
@@ -66,22 +66,22 @@ HierarchyDialog::HierarchyDialog( ClassViewPart *part )
combo_layout->addWidget(close_button);
layout->addWidget(splitter);
- connect( namespace_combo, TQT_SIGNAL(activated(TQListViewItem*)),
- this, TQT_SLOT(slotNamespaceComboChoice(TQListViewItem*)) );
- connect( class_combo, TQT_SIGNAL(activated(TQListViewItem*)),
- this, TQT_SLOT(slotClassComboChoice(TQListViewItem*)) );
- connect( namespace_combo, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(slotNamespaceComboChoice(const TQString&)) );
- connect( class_combo, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(slotClassComboChoice(const TQString&)) );
- connect( close_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(hide()) );
- connect( save_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(save()) );
- connect( refresh_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(refresh()) );
- connect( digraph, TQT_SIGNAL(selected(const TQString&)),
- this, TQT_SLOT(classSelected(const TQString&)) );
+ connect( namespace_combo, TQ_SIGNAL(activated(TQListViewItem*)),
+ this, TQ_SLOT(slotNamespaceComboChoice(TQListViewItem*)) );
+ connect( class_combo, TQ_SIGNAL(activated(TQListViewItem*)),
+ this, TQ_SLOT(slotClassComboChoice(TQListViewItem*)) );
+ connect( namespace_combo, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(slotNamespaceComboChoice(const TQString&)) );
+ connect( class_combo, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(slotClassComboChoice(const TQString&)) );
+ connect( close_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(hide()) );
+ connect( save_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(save()) );
+ connect( refresh_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(refresh()) );
+ connect( digraph, TQ_SIGNAL(selected(const TQString&)),
+ this, TQ_SLOT(classSelected(const TQString&)) );
m_part = part;
// m_part->registerHierarchyDialog(this);
@@ -157,7 +157,7 @@ void HierarchyDialog::refresh()
void HierarchyDialog::setLanguageSupport(KDevLanguageSupport *ls)
{
if (ls)
- connect(ls, TQT_SIGNAL(updatedSourceInfo()), this, TQT_SLOT(refresh()));
+ connect(ls, TQ_SIGNAL(updatedSourceInfo()), this, TQ_SLOT(refresh()));
else
refresh();
}
diff --git a/parts/classview/navigator.cpp b/parts/classview/navigator.cpp
index 694aa0d4..5556446c 100644
--- a/parts/classview/navigator.cpp
+++ b/parts/classview/navigator.cpp
@@ -111,18 +111,18 @@ Navigator::Navigator(ClassViewPart *parent, const char *name)
m_navNoDefinition = true;
m_actionSyncWithEditor = new TDEAction( i18n("Sync ClassView"), "view_tree", TDEShortcut(), this,
- TQT_SLOT(slotSyncWithEditor()), m_part->actionCollection(), "classview_sync_with_editor" );
+ TQ_SLOT(slotSyncWithEditor()), m_part->actionCollection(), "classview_sync_with_editor" );
TDEAction * action = new TDEAction( i18n("Jump to next function"), CTRL+ALT+Key_PageDown, this,
- TQT_SLOT(slotJumpToNextFunction()), m_part->actionCollection(), "navigator_jump_to_next_function" );
+ TQ_SLOT(slotJumpToNextFunction()), m_part->actionCollection(), "navigator_jump_to_next_function" );
action->plug( &m_dummyActionWidget );
action = new TDEAction( i18n("Jump to previous function"), CTRL+ALT+Key_PageUp, this,
- TQT_SLOT(slotJumpToPreviousFunction()), m_part->actionCollection(), "navigator_jump_to_previous_function" );
+ TQ_SLOT(slotJumpToPreviousFunction()), m_part->actionCollection(), "navigator_jump_to_previous_function" );
action->plug( &m_dummyActionWidget );
m_syncTimer = new TQTimer(this);
- connect(m_syncTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(syncFunctionNav()));
+ connect(m_syncTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(syncFunctionNav()));
}
Navigator::~Navigator()
@@ -198,7 +198,7 @@ void Navigator::slotCursorPositionChanged()
//FIXME: we assume that background parser delay is set globally in tdeveloprc file
//for all available language supports
//this is reasonable assumption because problem reporter should be the same for all languages
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup( "General Options" );
int m_delay = config->readNumEntry( "BgParserDelay", 500 );
diff --git a/parts/ctags2/ctags2_createtagfile.h b/parts/ctags2/ctags2_createtagfile.h
index 886332e7..e0a51ba2 100644
--- a/parts/ctags2/ctags2_createtagfile.h
+++ b/parts/ctags2/ctags2_createtagfile.h
@@ -22,7 +22,7 @@ TQ_OBJECT
public:
- CreateTagFile(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ CreateTagFile(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~CreateTagFile();
TQString name();
TQString tagsfilePath();
diff --git a/parts/ctags2/ctags2_createtagfilebase.ui b/parts/ctags2/ctags2_createtagfilebase.ui
index 111fbf94..797414c5 100644
--- a/parts/ctags2/ctags2_createtagfilebase.ui
+++ b/parts/ctags2/ctags2_createtagfilebase.ui
@@ -135,10 +135,10 @@
<slot>validate()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>createTagFile()</slot>
<slot>validate()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/ctags2/ctags2_part.cpp b/parts/ctags2/ctags2_part.cpp
index 1333ac54..80cee6e5 100644
--- a/parts/ctags2/ctags2_part.cpp
+++ b/parts/ctags2/ctags2_part.cpp
@@ -23,7 +23,7 @@
#include <tdetexteditor/document.h>
#include <tdetexteditor/editinterface.h>
#include <tdetexteditor/viewcursorinterface.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <kdebug.h>
#include <kstringhandler.h>
#include <kdialogbase.h>
@@ -81,18 +81,18 @@ CTags2Part::CTags2Part(TQObject *parent, const char *name, const TQStringList& )
m_widget->setCaption(i18n("CTags Lookup"));
mainWindow()->embedOutputView( m_widget, i18n( "CTags" ), i18n( "CTags lookup results" ) );
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("CTags"), CTAGSSETTINGSPAGE, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
-
- new TDEAction( i18n("Lookup Current Text"), 0, CTRL+Key_Underscore, this, TQT_SLOT(slotLookup()), actionCollection(), "ctags_lookup_shortcut");
- new TDEAction( i18n("Lookup Current Text as Declaration"), 0, CTRL+Key_Semicolon, this, TQT_SLOT(slotLookupDeclaration()), actionCollection(), "ctags_declaration_shortcut");
- new TDEAction( i18n("Lookup Current Text as Definition"), 0, CTRL+Key_Colon, this, TQT_SLOT(slotLookupDefinition()), actionCollection(), "ctags_definition_shortcut");
- new TDEAction( i18n("Jump to Next Match"), 0, 0, this, TQT_SLOT(slotGoToNext()), actionCollection(), "ctags_jump_to_next");
- new TDEAction( i18n("Open Lookup Dialog"), 0, 0, this, TQT_SLOT(slotOpenLookup()), actionCollection(), "ctags_input_shortcut");
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+
+ new TDEAction( i18n("Lookup Current Text"), 0, CTRL+Key_Underscore, this, TQ_SLOT(slotLookup()), actionCollection(), "ctags_lookup_shortcut");
+ new TDEAction( i18n("Lookup Current Text as Declaration"), 0, CTRL+Key_Semicolon, this, TQ_SLOT(slotLookupDeclaration()), actionCollection(), "ctags_declaration_shortcut");
+ new TDEAction( i18n("Lookup Current Text as Definition"), 0, CTRL+Key_Colon, this, TQ_SLOT(slotLookupDefinition()), actionCollection(), "ctags_definition_shortcut");
+ new TDEAction( i18n("Jump to Next Match"), 0, 0, this, TQ_SLOT(slotGoToNext()), actionCollection(), "ctags_jump_to_next");
+ new TDEAction( i18n("Open Lookup Dialog"), 0, 0, this, TQ_SLOT(slotOpenLookup()), actionCollection(), "ctags_input_shortcut");
}
@@ -111,8 +111,8 @@ void CTags2Part::insertConfigWidget( const KDialogBase * dlg, TQWidget * page, u
if ( pagenumber == CTAGSSETTINGSPAGE )
{
CTags2SettingsWidget * w = new CTags2SettingsWidget( this, page );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotAccept()) );
- connect( w, TQT_SIGNAL(newTagsfileName(const TQString& )), this, TQT_SLOT(updateTagsfileName(const TQString& )) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(slotAccept()) );
+ connect( w, TQ_SIGNAL(newTagsfileName(const TQString& )), this, TQ_SLOT(updateTagsfileName(const TQString& )) );
}
}
@@ -147,7 +147,7 @@ bool CTags2Part::createTagsFile(const TQString& tagFile, const TQString& dir)
*/
// get name of the ctags binary
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup( "CTAGS" );
TQString ctagsBinary = config->readEntry( "ctags binary" ).stripWhiteSpace();
if ( ctagsBinary.isEmpty() )
@@ -180,7 +180,7 @@ void CTags2Part::contextMenu(TQPopupMenu *popup, const Context *context)
if (ident.isEmpty())
return;
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup( "CTAGS" );
bool showDeclaration = config->readBoolEntry( "ShowDeclaration", true );
bool showDefinition = config->readBoolEntry( "ShowDefinition", true );
@@ -194,13 +194,13 @@ void CTags2Part::contextMenu(TQPopupMenu *popup, const Context *context)
popup->insertSeparator();
if ( showDeclaration )
- popup->insertItem( i18n("CTags - Go to Declaration: %1").arg(squeezed), this, TQT_SLOT(slotGotoDeclaration()) );
+ popup->insertItem( i18n("CTags - Go to Declaration: %1").arg(squeezed), this, TQ_SLOT(slotGotoDeclaration()) );
if ( showDefinition )
- popup->insertItem( i18n("CTags - Go to Definition: %1").arg(squeezed), this, TQT_SLOT(slotGotoDefinition()) );
+ popup->insertItem( i18n("CTags - Go to Definition: %1").arg(squeezed), this, TQ_SLOT(slotGotoDefinition()) );
if ( showLookup )
- popup->insertItem( i18n("CTags - Lookup: %1").arg(squeezed), this, TQT_SLOT(slotGotoTag()) );
+ popup->insertItem( i18n("CTags - Lookup: %1").arg(squeezed), this, TQ_SLOT(slotGotoTag()) );
}
}
@@ -223,7 +223,7 @@ void CTags2Part::gotoTagForTypes( TQStringList const & types )
if ( list.count() < 1 ) return;
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup("CTAGS");
bool jumpToFirst = config->readBoolEntry( "JumpToFirst", false );
diff --git a/parts/ctags2/ctags2_selecttagfile.h b/parts/ctags2/ctags2_selecttagfile.h
index 4593ca90..20f89b49 100644
--- a/parts/ctags2/ctags2_selecttagfile.h
+++ b/parts/ctags2/ctags2_selecttagfile.h
@@ -19,7 +19,7 @@ class SelectTagFile : public SelectTagFileBase {
public:
- SelectTagFile( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ SelectTagFile( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~SelectTagFile();
TQString name();
TQString tagsfilePath();
diff --git a/parts/ctags2/ctags2_selecttagfilebase.ui b/parts/ctags2/ctags2_selecttagfilebase.ui
index 5a048cab..e25f4cd9 100644
--- a/parts/ctags2/ctags2_selecttagfilebase.ui
+++ b/parts/ctags2/ctags2_selecttagfilebase.ui
@@ -116,9 +116,9 @@
<slot>validate()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>validate()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/ctags2/ctags2_settingswidget.cpp b/parts/ctags2/ctags2_settingswidget.cpp
index 96837e98..3d33b6a7 100644
--- a/parts/ctags2/ctags2_settingswidget.cpp
+++ b/parts/ctags2/ctags2_settingswidget.cpp
@@ -73,7 +73,7 @@ void CTags2SettingsWidget::loadSettings()
TQStringList activeTagsFiles = DomUtil::readListEntry(dom, "/ctagspart/activeTagsFiles", "file");
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup( "CTAGS" );
showDeclarationBox->setChecked( config->readBoolEntry( "ShowDeclaration", true ) );
showDefinitionBox->setChecked( config->readBoolEntry( "ShowDefinition", true ) );
@@ -102,7 +102,7 @@ void CTags2SettingsWidget::storeSettings()
DomUtil::writeEntry( dom, "/ctagspart/customArguments", tagfileCustomEdit->text() );
DomUtil::writeEntry( dom, "/ctagspart/customTagfilePath", tagfilePath->url() );
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup( "CTAGS" );
config->writeEntry( "ShowDeclaration", showDeclarationBox->isChecked() );
config->writeEntry( "ShowDefinition", showDefinitionBox->isChecked() );
diff --git a/parts/ctags2/ctags2_settingswidgetbase.ui b/parts/ctags2/ctags2_settingswidgetbase.ui
index a4bd5378..98273191 100644
--- a/parts/ctags2/ctags2_settingswidgetbase.ui
+++ b/parts/ctags2/ctags2_settingswidgetbase.ui
@@ -361,13 +361,13 @@
<slot>clear()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>createNewTagSlot()</slot>
<slot>addNewTagFile()</slot>
<slot>removeTagFile()</slot>
<slot>moveUpTagFile()</slot>
<slot>moveDownTagFile()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/ctags2/ctags2_widget.cpp b/parts/ctags2/ctags2_widget.cpp
index 4225e83a..7db053d0 100644
--- a/parts/ctags2/ctags2_widget.cpp
+++ b/parts/ctags2/ctags2_widget.cpp
@@ -52,10 +52,10 @@ CTags2Widget::CTags2Widget( CTags2Part * part, const char* name, WFlags fl)
output_view->setColumnWidthMode(2,TQListView::Maximum);
_typeTimeout = new TQTimer( this );
- connect( _typeTimeout, TQT_SIGNAL(timeout()), this, TQT_SLOT(line_edit_changed()) );
+ connect( _typeTimeout, TQ_SIGNAL(timeout()), this, TQ_SLOT(line_edit_changed()) );
- connect( output_view, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(itemExecuted(TQListViewItem*)) );
- connect( output_view, TQT_SIGNAL(returnPressed(TQListViewItem*)), this, TQT_SLOT(itemExecuted(TQListViewItem*)) );
+ connect( output_view, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(itemExecuted(TQListViewItem*)) );
+ connect( output_view, TQ_SIGNAL(returnPressed(TQListViewItem*)), this, TQ_SLOT(itemExecuted(TQListViewItem*)) );
updateDBDateLabel();
}
diff --git a/parts/ctags2/ctags2_widgetbase.ui b/parts/ctags2/ctags2_widgetbase.ui
index 0379142f..919ca946 100644
--- a/parts/ctags2/ctags2_widgetbase.ui
+++ b/parts/ctags2/ctags2_widgetbase.ui
@@ -168,11 +168,11 @@
<tabstop>input_edit</tabstop>
<tabstop>output_view</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="private">line_edit_changed_delayed()</slot>
<slot access="private">line_edit_changed()</slot>
<slot access="private">regeneratebutton_clicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/diff/diffpart.cpp b/parts/diff/diffpart.cpp
index eb2063c4..480a2da5 100644
--- a/parts/diff/diffpart.cpp
+++ b/parts/diff/diffpart.cpp
@@ -19,7 +19,7 @@
#include <kdevgenericfactory.h>
#include <tdeaction.h>
#include <tdefiledialog.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdeio/jobclasses.h>
#include <tdeio/job.h>
#include <tdeparts/part.h>
@@ -58,13 +58,13 @@ DiffPart::DiffPart(TQObject *parent, const char *name, const TQStringList &)
mainWindow()->setViewAvailable( diffWidget, false );
TDEAction *action = new TDEAction( i18n("Difference Viewer..."), 0,
- this, TQT_SLOT(slotExecDiff()),
+ this, TQ_SLOT(slotExecDiff()),
actionCollection(), "tools_diff" );
action->setToolTip(i18n("Difference viewer"));
action->setWhatsThis(i18n("<b>Difference viewer</b><p>Shows the contents of a patch file."));
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
}
static bool urlIsEqual(const KURL &a, const KURL &b)
@@ -121,7 +121,7 @@ void DiffPart::contextMenu( TQPopupMenu* popup, const Context* context )
if ( partController()->documentState( rw_part->url() ) != Clean )
{
int id = popup->insertItem( i18n( "Difference to Disk File" ),
- this, TQT_SLOT(localDiff()) );
+ this, TQ_SLOT(localDiff()) );
popup->TQMenuData::setWhatsThis(id, i18n("<b>Difference to disk file</b><p>Shows the difference between "
"the file contents in this editor and the file contents on disk."));
}
@@ -155,14 +155,14 @@ void DiffPart::localDiff()
*proc << "-u" << popupFile.path() << "-";
proc->setWorkingDirectory( popupFile.directory() );
- connect( proc, TQT_SIGNAL(processExited( TDEProcess* )),
- this, TQT_SLOT(processExited( TDEProcess* )) );
- connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*, char*, int )),
- this, TQT_SLOT(receivedStdout( TDEProcess*, char*, int )) );
- connect( proc, TQT_SIGNAL(receivedStderr( TDEProcess*, char*, int )),
- this, TQT_SLOT(receivedStderr( TDEProcess*, char*, int )) );
- connect( proc, TQT_SIGNAL(wroteStdin( TDEProcess* )),
- this, TQT_SLOT(wroteStdin( TDEProcess* )) );
+ connect( proc, TQ_SIGNAL(processExited( TDEProcess* )),
+ this, TQ_SLOT(processExited( TDEProcess* )) );
+ connect( proc, TQ_SIGNAL(receivedStdout( TDEProcess*, char*, int )),
+ this, TQ_SLOT(receivedStdout( TDEProcess*, char*, int )) );
+ connect( proc, TQ_SIGNAL(receivedStderr( TDEProcess*, char*, int )),
+ this, TQ_SLOT(receivedStderr( TDEProcess*, char*, int )) );
+ connect( proc, TQ_SIGNAL(wroteStdin( TDEProcess* )),
+ this, TQ_SLOT(wroteStdin( TDEProcess* )) );
if ( !proc->start( TDEProcess::NotifyOnExit, TDEProcess::All ) ) {
KMessageBox::error( 0, i18n( "Could not invoke the \"diff\" command." ) );
diff --git a/parts/diff/diffwidget.cpp b/parts/diff/diffwidget.cpp
index b52b8b25..2b7e5fc7 100644
--- a/parts/diff/diffwidget.cpp
+++ b/parts/diff/diffwidget.cpp
@@ -44,7 +44,7 @@ TQStringList KDiffTextEdit::extPartsTranslated;
KDiffTextEdit::KDiffTextEdit( TQWidget* parent, const char* name ): TQTextEdit( parent, name )
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup( "Diff" );
_highlight = config->readBoolEntry( "Highlight", true );
@@ -53,7 +53,7 @@ KDiffTextEdit::KDiffTextEdit( TQWidget* parent, const char* name ): TQTextEdit(
KDiffTextEdit::~KDiffTextEdit()
{
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup( "Diff" );
config->writeEntry( "Highlight", _highlight );
@@ -78,19 +78,19 @@ TQPopupMenu* KDiffTextEdit::createPopupMenu( const TQPoint& p )
}
if ( !extPartsTranslated.isEmpty() )
popup->insertSeparator( i );
- connect( popup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(popupActivated(int)) );
+ connect( popup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(popupActivated(int)) );
- popup->insertItem( SmallIconSet( "document-save-as" ), i18n( "&Save As..." ), this, TQT_SLOT(saveAs()), CTRL + Key_S, POPUP_BASE - 2, 0 );
+ popup->insertItem( SmallIconSet( "document-save-as" ), i18n( "&Save As..." ), this, TQ_SLOT(saveAs()), CTRL + Key_S, POPUP_BASE - 2, 0 );
popup->setItemEnabled( POPUP_BASE - 2, length() > 0 );
popup->insertSeparator( 1 );
- popup->insertItem( i18n( "Highlight Syntax" ), this, TQT_SLOT(toggleSyntaxHighlight()), 0, POPUP_BASE - 1, 2 );
+ popup->insertItem( i18n( "Highlight Syntax" ), this, TQ_SLOT(toggleSyntaxHighlight()), 0, POPUP_BASE - 1, 2 );
popup->setItemChecked( POPUP_BASE - 1, _highlight );
popup->insertSeparator( 3 );
popup->insertSeparator();
- popup->insertItem( i18n("Hide view"), parent(), TQT_SLOT(hideView()) );
+ popup->insertItem( i18n("Hide view"), parent(), TQ_SLOT(hideView()) );
return popup;
}
@@ -190,7 +190,7 @@ DiffWidget::DiffWidget( DiffPart * part, TQWidget *parent, const char *name, WFl
te->setReadOnly( true );
te->setTextFormat( TQTextEdit::PlainText );
// te->setMinimumSize( 300, 200 );
- connect( te, TQT_SIGNAL(externalPartRequested(const TQString&)), this, TQT_SLOT(loadExtPart(const TQString&)) );
+ connect( te, TQ_SIGNAL(externalPartRequested(const TQString&)), this, TQ_SLOT(loadExtPart(const TQString&)) );
TQVBoxLayout* layout = new TQVBoxLayout( this );
layout->addWidget( te );
@@ -229,7 +229,7 @@ void DiffWidget::loadExtPart( const TQString& partName )
if ( !extService )
return;
- extPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>( extService, this, 0, TQT_TQOBJECT(this), 0 );
+ extPart = KParts::ComponentFactory::createPartInstanceFromService<KParts::ReadOnlyPart>( extService, this, 0, this, 0 );
if ( !extPart || !extPart->widget() )
return;
@@ -309,10 +309,10 @@ void DiffWidget::openURL( const KURL& url )
if ( !job )
return;
- connect( job, TQT_SIGNAL(data( TDEIO::Job *, const TQByteArray & )),
- this, TQT_SLOT(slotAppend( TDEIO::Job*, const TQByteArray& )) );
- connect( job, TQT_SIGNAL(result( TDEIO::Job * )),
- this, TQT_SLOT(slotFinished()) );
+ connect( job, TQ_SIGNAL(data( TDEIO::Job *, const TQByteArray & )),
+ this, TQ_SLOT(slotAppend( TDEIO::Job*, const TQByteArray& )) );
+ connect( job, TQ_SIGNAL(result( TDEIO::Job * )),
+ this, TQ_SLOT(slotFinished()) );
}
void DiffWidget::contextMenuEvent( TQContextMenuEvent* /* e */ )
@@ -321,9 +321,9 @@ void DiffWidget::contextMenuEvent( TQContextMenuEvent* /* e */ )
if ( !te->isVisible() )
{
- popup->insertItem( i18n("Display &Raw Output"), this, TQT_SLOT(showTextEdit()) );
+ popup->insertItem( i18n("Display &Raw Output"), this, TQ_SLOT(showTextEdit()) );
popup->insertSeparator();
- popup->insertItem( i18n("Hide view"), this, TQT_SLOT(hideView()) );
+ popup->insertItem( i18n("Hide view"), this, TQ_SLOT(hideView()) );
}
popup->exec( TQCursor::pos() );
diff --git a/parts/distpart/distpart_part.cpp b/parts/distpart/distpart_part.cpp
index fd235a0a..e0f3cccf 100644
--- a/parts/distpart/distpart_part.cpp
+++ b/parts/distpart/distpart_part.cpp
@@ -46,7 +46,7 @@ DistpartPart::DistpartPart(TQObject *parent, const char *name, const TQStringLis
setXMLFile("kdevpart_distpart.rc");
m_action = new TDEAction( i18n("Distribution && Publishing"), "package", 0,
- this, TQT_SLOT(show()),
+ this, TQ_SLOT(show()),
actionCollection(), "make_dist" );
m_action->setToolTip(i18n("Make source and binary distribution"));
@@ -58,8 +58,8 @@ DistpartPart::DistpartPart(TQObject *parent, const char *name, const TQStringLis
m_dialog = new DistpartDialog(this, m_dlg );
m_dlg->setMainWidget(m_dialog);
- connect( m_dlg, TQT_SIGNAL(okClicked()), m_dialog, TQT_SLOT(slotokayPushButtonPressed()));
- connect( m_dlg, TQT_SIGNAL(cancelClicked()), m_dialog, TQT_SLOT(slotcancelPushButtonPressed()));
+ connect( m_dlg, TQ_SIGNAL(okClicked()), m_dialog, TQ_SLOT(slotokayPushButtonPressed()));
+ connect( m_dlg, TQ_SIGNAL(cancelClicked()), m_dialog, TQ_SLOT(slotcancelPushButtonPressed()));
// Package types
//RpmPackage = new SpecSupport(this);
//LsmPackage = new LsmSupport(this);
diff --git a/parts/distpart/distpart_ui.ui b/parts/distpart/distpart_ui.ui
index 63cad280..1d287ca8 100644
--- a/parts/distpart/distpart_ui.ui
+++ b/parts/distpart/distpart_ui.ui
@@ -1193,14 +1193,14 @@ Build Files</string>
<tabstop>uploadRemoveToolButton</tabstop>
<tabstop>uploadFileListBox</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotbuildAllPushButtonPressed()</slot>
<slot>slotexportSPECPushButtonPressed()</slot>
<slot>slotimportSPECPushButtonPressed()</slot>
<slot>slotSrcPackagePushButtonPressed()</slot>
<slot>slotAddFileButtonPressed()</slot>
<slot>slotRemoveFile(TQListBoxItem *item)</slot>
-</Q_SLOTS>
+</slots>
<pixmapfunction>DesktopIcon</pixmapfunction>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
diff --git a/parts/distpart/distpart_widget.cpp b/parts/distpart/distpart_widget.cpp
index c628fe26..0e583af3 100644
--- a/parts/distpart/distpart_widget.cpp
+++ b/parts/distpart/distpart_widget.cpp
@@ -23,7 +23,7 @@
#include <klibloader.h>
#include <kurl.h>
#include <kdebug.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdefiledialog.h>
#include <tdeio/netaccess.h>
#include <tdelocale.h>
@@ -55,39 +55,39 @@ DistpartDialog::DistpartDialog(DistpartPart *part, TQWidget *parent)
:distpart_ui(parent, "dist_widget"), m_part(part) {
m_spec = new SpecSupport(m_part);
- connect( customProjectCheckBox, TQT_SIGNAL(toggled(bool) ),
- this, TQT_SLOT(slotcustomProjectCheckBoxChanged()));
- connect( uploadCustomCheckBox, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(slotuploadCustomCheckBoxChanged()));
-
-// connect( okayPushButton, TQT_SIGNAL(clicked()),
-// this, TQT_SLOT(slotokayPushButtonPressed()));
-// connect( cancelPushButton, TQT_SIGNAL(clicked()),
-// this, TQT_SLOT(slotcancelPushButtonPressed()));
-/* connect(help_PushButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slothelp_PushButtonPressed()));*/
- connect( createSrcArchPushButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotcreateSrcArchPushButtonPressed()));
- connect( resetSrcPushButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotresetSrcPushButtonPressed()));
-
- connect( genHTMLPushButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotgenHTMLPushButtonPressed()));
- connect( resetHTMLPushButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotresetHTMLPushButtonPressed()));
- connect( uploadSubmitPushButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotuploadSubmitPushButtonPressed()));
- connect( uploadResetPushButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotuploadResetPushButtonPressed()));
- connect( uploadAddFileToolButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotuploadAddFileToolButtonPressed()));
- connect( uploadRemoveToolButton, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotuploadRemoveToolButtonPressed()));
- connect ( srcDistFileListBox, TQT_SIGNAL(clicked(TQListBoxItem*)), this, TQT_SLOT(slotRemoveFile(TQListBoxItem*)));
-// connect( buildAllPushButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotbuildAllPushButtonPressed() ));
-// connect( exportSPECPushButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotexportSPECPushButtonPressed( ) ) );
-// connect( srcPackagePushButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotsrcPackagePushButtonPressed() ) );
-// connect( importSPECPushButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotimportSPECPushButtonPressed() ) );
+ connect( customProjectCheckBox, TQ_SIGNAL(toggled(bool) ),
+ this, TQ_SLOT(slotcustomProjectCheckBoxChanged()));
+ connect( uploadCustomCheckBox, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(slotuploadCustomCheckBoxChanged()));
+
+// connect( okayPushButton, TQ_SIGNAL(clicked()),
+// this, TQ_SLOT(slotokayPushButtonPressed()));
+// connect( cancelPushButton, TQ_SIGNAL(clicked()),
+// this, TQ_SLOT(slotcancelPushButtonPressed()));
+/* connect(help_PushButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slothelp_PushButtonPressed()));*/
+ connect( createSrcArchPushButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotcreateSrcArchPushButtonPressed()));
+ connect( resetSrcPushButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotresetSrcPushButtonPressed()));
+
+ connect( genHTMLPushButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotgenHTMLPushButtonPressed()));
+ connect( resetHTMLPushButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotresetHTMLPushButtonPressed()));
+ connect( uploadSubmitPushButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotuploadSubmitPushButtonPressed()));
+ connect( uploadResetPushButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotuploadResetPushButtonPressed()));
+ connect( uploadAddFileToolButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotuploadAddFileToolButtonPressed()));
+ connect( uploadRemoveToolButton, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotuploadRemoveToolButtonPressed()));
+ connect ( srcDistFileListBox, TQ_SIGNAL(clicked(TQListBoxItem*)), this, TQ_SLOT(slotRemoveFile(TQListBoxItem*)));
+// connect( buildAllPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotbuildAllPushButtonPressed() ));
+// connect( exportSPECPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotexportSPECPushButtonPressed( ) ) );
+// connect( srcPackagePushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotsrcPackagePushButtonPressed() ) );
+// connect( importSPECPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotimportSPECPushButtonPressed() ) );
loadSettings();
diff --git a/parts/distpart/specsupport.cpp b/parts/distpart/specsupport.cpp
index 06a0bb67..8845744d 100644
--- a/parts/distpart/specsupport.cpp
+++ b/parts/distpart/specsupport.cpp
@@ -26,7 +26,7 @@
#include <kdebug.h>
#include <tdefiledialog.h>
#include <tdelocale.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tqfile.h>
#include <tqdir.h>
#include <tqerrormessage.h>
@@ -53,14 +53,14 @@ SpecSupport::SpecSupport(DistpartPart *part) : packageBase(), m_part(part) {
//
//
//
-// connect(buildAllPushButton, TQT_SIGNAL(clicked()),
-// this, TQT_SLOT(slotbuildAllPushButtonPressed()));
-// connect(exportSPECPushButton, TQT_SIGNAL(clicked()),
-// this, TQT_SLOT(slotexportSPECPushButtonPressed()));
-// connect(importSPECPushButton, TQT_SIGNAL(clicked()),
-// this, TQT_SLOT(slotimportSPECPushButtonPressed()));
-// connect(srcPackagePushButton, TQT_SIGNAL(clicked()),
-// this, TQT_SLOT(slotsrcPackagePushButtonPressed()));
+// connect(buildAllPushButton, TQ_SIGNAL(clicked()),
+// this, TQ_SLOT(slotbuildAllPushButtonPressed()));
+// connect(exportSPECPushButton, TQ_SIGNAL(clicked()),
+// this, TQ_SLOT(slotexportSPECPushButtonPressed()));
+// connect(importSPECPushButton, TQ_SIGNAL(clicked()),
+// this, TQ_SLOT(slotimportSPECPushButtonPressed()));
+// connect(srcPackagePushButton, TQ_SIGNAL(clicked()),
+// this, TQ_SLOT(slotsrcPackagePushButtonPressed()));
parseDotRpmmacros();
}
diff --git a/parts/documentation/addcatalogdlg.h b/parts/documentation/addcatalogdlg.h
index 461bf56d..4353e1b8 100644
--- a/parts/documentation/addcatalogdlg.h
+++ b/parts/documentation/addcatalogdlg.h
@@ -31,7 +31,7 @@ class AddCatalogDlg: public AddCatalogDlgBase
TQ_OBJECT
public:
- AddCatalogDlg( TQValueList<DocumentationPlugin*> const & plugins, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
+ AddCatalogDlg( TQValueList<DocumentationPlugin*> const & plugins, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0);
~AddCatalogDlg();
TQString title() const;
diff --git a/parts/documentation/addcatalogdlgbase.ui b/parts/documentation/addcatalogdlgbase.ui
index b88906eb..2734918d 100644
--- a/parts/documentation/addcatalogdlgbase.ui
+++ b/parts/documentation/addcatalogdlgbase.ui
@@ -189,10 +189,10 @@
<slot>locationURLChanged(const TQString&amp;)</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>locationURLChanged( const TQString &amp; )</slot>
<slot>docTypeChanged( const TQString &amp; )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/documentation/bookmarkview.cpp b/parts/documentation/bookmarkview.cpp
index 4ec63094..8ac25005 100644
--- a/parts/documentation/bookmarkview.cpp
+++ b/parts/documentation/bookmarkview.cpp
@@ -24,7 +24,7 @@
#include <tqpoint.h>
#include <klineedit.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdelocale.h>
#include <kdialog.h>
#include <kpushbutton.h>
@@ -133,16 +133,16 @@ BookmarkView::BookmarkView(DocumentationWidget *parent, const char *name)
showBookmarks();
- connect(m_view, TQT_SIGNAL(executed(TQListViewItem*, const TQPoint&, int )),
- this, TQT_SLOT(itemExecuted(TQListViewItem*, const TQPoint&, int )));
- connect(m_addButton, TQT_SIGNAL(pressed()), this, TQT_SLOT(addBookmark()));
- connect(m_editButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(editBookmark()));
- connect(m_removeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(removeBookmark()));
+ connect(m_view, TQ_SIGNAL(executed(TQListViewItem*, const TQPoint&, int )),
+ this, TQ_SLOT(itemExecuted(TQListViewItem*, const TQPoint&, int )));
+ connect(m_addButton, TQ_SIGNAL(pressed()), this, TQ_SLOT(addBookmark()));
+ connect(m_editButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(editBookmark()));
+ connect(m_removeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(removeBookmark()));
- connect(m_widget->part(), TQT_SIGNAL(bookmarkLocation(const TQString&, const KURL& )),
- this, TQT_SLOT(addBookmark(const TQString&, const KURL& )));
- connect(m_view, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )),
- this, TQT_SLOT(itemMouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )));
+ connect(m_widget->part(), TQ_SIGNAL(bookmarkLocation(const TQString&, const KURL& )),
+ this, TQ_SLOT(addBookmark(const TQString&, const KURL& )));
+ connect(m_view, TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )),
+ this, TQ_SLOT(itemMouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )));
}
BookmarkView::~BookmarkView()
diff --git a/parts/documentation/contentsview.cpp b/parts/documentation/contentsview.cpp
index 3c07369c..d77126b1 100644
--- a/parts/documentation/contentsview.cpp
+++ b/parts/documentation/contentsview.cpp
@@ -47,10 +47,10 @@ ContentsView::ContentsView(DocumentationWidget *parent, const char *name)
m_view->setSorting(-1);
m_view->setAllColumnsShowFocus( true );
- connect(m_view, TQT_SIGNAL(executed(TQListViewItem*, const TQPoint&, int )),
- this, TQT_SLOT(itemExecuted(TQListViewItem*, const TQPoint&, int )));
- connect(m_view, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )),
- this, TQT_SLOT(itemMouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )));
+ connect(m_view, TQ_SIGNAL(executed(TQListViewItem*, const TQPoint&, int )),
+ this, TQ_SLOT(itemExecuted(TQListViewItem*, const TQPoint&, int )));
+ connect(m_view, TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )),
+ this, TQ_SLOT(itemMouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )));
}
ContentsView::~ContentsView()
diff --git a/parts/documentation/docconfiglistview.cpp b/parts/documentation/docconfiglistview.cpp
index 55b108ec..47b0c0f0 100644
--- a/parts/documentation/docconfiglistview.cpp
+++ b/parts/documentation/docconfiglistview.cpp
@@ -40,10 +40,10 @@ DocConfigListView::DocConfigListView(TQWidget *parent, const char *name)
setResizeMode( TQListView::LastColumn );
setSorting(3);
- connect(this, TQT_SIGNAL(clicked(TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(itemClicked(TQListViewItem*, const TQPoint&, int )));
- connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(itemDoubleClicked(TQListViewItem*, const TQPoint&, int )));
+ connect(this, TQ_SIGNAL(clicked(TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(itemClicked(TQListViewItem*, const TQPoint&, int )));
+ connect(this, TQ_SIGNAL(doubleClicked(TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(itemDoubleClicked(TQListViewItem*, const TQPoint&, int )));
}
DocConfigListView::~DocConfigListView()
diff --git a/parts/documentation/docglobalconfigwidget.cpp b/parts/documentation/docglobalconfigwidget.cpp
index 8dd6c0b8..22b57fec 100644
--- a/parts/documentation/docglobalconfigwidget.cpp
+++ b/parts/documentation/docglobalconfigwidget.cpp
@@ -30,8 +30,8 @@
#include <kdebug.h>
#include <tdeconfig.h>
-#include <kprocess.h>
-#include <kstandarddirs.h>
+#include <tdeprocess.h>
+#include <tdestandarddirs.h>
#include <tdeapplication.h>
#include <kurlrequester.h>
#include <tdefontcombo.h>
@@ -64,19 +64,19 @@ DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part,
{
(*it)->loadCatalogConfiguration( m_View );
}
- connect( m_View, TQT_SIGNAL(itemActivated()), this, TQT_SLOT(editCollectionButtonClicked()) );
+ connect( m_View, TQ_SIGNAL(itemActivated()), this, TQ_SLOT(editCollectionButtonClicked()) );
TDEConfig *config = m_part->config();
//read full text search settings
config->setGroup("htdig");
- TQString databaseDir = kapp->dirs()->saveLocation("data",
+ TQString databaseDir = tdeApp->dirs()->saveLocation("data",
"kdevdocumentation/search");
databaseDirEdit->setURL(config->readPathEntry("databaseDir", databaseDir));
- htdigbinEdit->setURL(config->readPathEntry("htdigbin", kapp->dirs()->findExe("htdig")));
- htmergebinEdit->setURL(config->readPathEntry("htmergebin", kapp->dirs()->findExe("htmerge")));
- htsearchbinEdit->setURL(config->readPathEntry("htsearchbin", kapp->dirs()->findExe("htsearch")));
- if (config->readBoolEntry("IsSetup", false) == false)
+ htdigbinEdit->setURL(config->readPathEntry("htdigbin", tdeApp->dirs()->findExe("htdig")));
+ htmergebinEdit->setURL(config->readPathEntry("htmergebin", tdeApp->dirs()->findExe("htmerge")));
+ htsearchbinEdit->setURL(config->readPathEntry("htsearchbin", tdeApp->dirs()->findExe("htsearch")));
+ if (!config->readBoolEntry("IsSetup", false))
{
TQFileInfo fi(htsearchbinEdit->url());
if (!fi.exists())
@@ -104,7 +104,7 @@ DocGlobalConfigWidget::DocGlobalConfigWidget(DocumentationPart *part,
useAssistant_box->setChecked(m_part->isAssistantUsed());
// Having app-specific settings isn't pretty, but this setting is nonsensical in kdevassistant
- if ( kapp->instanceName().find("kdevassistant") != -1 )
+ if ( tdeApp->instanceName().find("kdevassistant") != -1 )
useAssistant_box->hide();
//font sizes and zoom levels
diff --git a/parts/documentation/docglobalconfigwidgetbase.ui b/parts/documentation/docglobalconfigwidgetbase.ui
index 5d2d4038..2befa99f 100644
--- a/parts/documentation/docglobalconfigwidgetbase.ui
+++ b/parts/documentation/docglobalconfigwidgetbase.ui
@@ -557,7 +557,7 @@
<tabstop>info_box</tabstop>
<tabstop>man_box</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>addCollectionButtonClicked()</slot>
<slot>editCollectionButtonClicked()</slot>
<slot>removeCollectionButtonClicked()</slot>
@@ -565,7 +565,7 @@
<slot>collectionsBoxCurrentChanged( int )</slot>
<slot>updateConfig()</slot>
<slot>updateIndex()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kurlrequester.h</include>
diff --git a/parts/documentation/docprojectconfigwidgetbase.ui b/parts/documentation/docprojectconfigwidgetbase.ui
index 8914aaa1..a882bc77 100644
--- a/parts/documentation/docprojectconfigwidgetbase.ui
+++ b/parts/documentation/docprojectconfigwidgetbase.ui
@@ -140,9 +140,9 @@
<tabstop>catalogURL</tabstop>
<tabstop>docSystemCombo</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>changeDocSystem(const TQString &amp;)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kurlrequester.h</include>
diff --git a/parts/documentation/documentation_part.cpp b/parts/documentation/documentation_part.cpp
index 1d284a64..0bac7045 100644
--- a/parts/documentation/documentation_part.cpp
+++ b/parts/documentation/documentation_part.cpp
@@ -87,11 +87,11 @@ DocumentationPart::DocumentationPart(TQObject *parent, const char *name, const T
m_configProxy = new ConfigWidgetProxy(core());
m_configProxy->createGlobalConfigPage(i18n("Documentation"), GLOBALDOC_OPTIONS, info()->icon() );
m_configProxy->createProjectConfigPage(i18n("Project Documentation"), PROJECTDOC_OPTIONS, info()->icon() );
- connect(m_configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )), this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)));
- connect(core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)));
- connect(core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()));
- connect(core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()));
+ connect(m_configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )), this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)));
+ connect(core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)));
+ connect(core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(projectOpened()));
+ connect(core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(projectClosed()));
m_widget = new DocumentationWidget(this);
m_widget->setIcon(SmallIcon(info()->icon()));
@@ -109,7 +109,7 @@ DocumentationPart::DocumentationPart(TQObject *parent, const char *name, const T
setupActions();
checkLastVersion();
- TQTimer::singleShot(5, this, TQT_SLOT(init()));
+ TQTimer::singleShot(5, this, TQ_SLOT(init()));
new KDevDocumentationIface(this);
}
@@ -147,7 +147,7 @@ void DocumentationPart::loadDocumentationPlugins()
{
kdDebug() << " success" << endl;
docPlugin->init(m_widget->contents());
- connect(this, TQT_SIGNAL(indexSelected(IndexBox* )), docPlugin, TQT_SLOT(createIndex(IndexBox* )));
+ connect(this, TQ_SIGNAL(indexSelected(IndexBox* )), docPlugin, TQ_SLOT(createIndex(IndexBox* )));
m_plugins.append(docPlugin);
}
}
@@ -172,13 +172,13 @@ void DocumentationPart::insertConfigWidget(const KDialogBase *dlg, TQWidget *pag
case GLOBALDOC_OPTIONS:
{
DocGlobalConfigWidget *w1 = new DocGlobalConfigWidget(this, m_widget, page, "doc config widget");
- connect(dlg, TQT_SIGNAL(okClicked()), w1, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w1, TQ_SLOT(accept()));
break;
}
case PROJECTDOC_OPTIONS:
{
DocProjectConfigWidget *w1 = new DocProjectConfigWidget(this, page, "doc project config");
- connect(dlg, TQT_SIGNAL(okClicked()), w1, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w1, TQ_SLOT(accept()));
break;
}
}
@@ -199,7 +199,7 @@ bool DocumentationPart::configure(int page)
DocGlobalConfigWidget *w1 = new DocGlobalConfigWidget(this, m_widget, dlg.plainPage());
l->addWidget(w1);
w1->docTab->setCurrentPage(page);
- connect(&dlg, TQT_SIGNAL(okClicked()), w1, TQT_SLOT(accept()));
+ connect(&dlg, TQ_SIGNAL(okClicked()), w1, TQ_SLOT(accept()));
return (dlg.exec() == TQDialog::Accepted);
}
@@ -211,7 +211,7 @@ void DocumentationPart::setupActions()
TDEAction *action;
action = new TDEAction(i18n("&Search in Documentation..."), CTRL+ALT+Key_S,
- this, TQT_SLOT(searchInDocumentation()),
+ this, TQ_SLOT(searchInDocumentation()),
actionCollection(), "help_search_in_doc" );
action->setToolTip(i18n("Full text search in the documentation"));
action->setWhatsThis(i18n("<b>Search in documentation</b><p>"
@@ -222,7 +222,7 @@ void DocumentationPart::setupActions()
"configuration dialog of the documentation plugin."));
action = new TDEAction(i18n("&Look in Documentation Index..."), CTRL+ALT+Key_I,
- this, TQT_SLOT(lookInDocumentationIndex()),
+ this, TQ_SLOT(lookInDocumentationIndex()),
actionCollection(), "help_look_in_index" );
action->setToolTip(i18n("Look in the documentation index"));
action->setWhatsThis(i18n("<b>Look in documentation index</b><p>"
@@ -231,19 +231,19 @@ void DocumentationPart::setupActions()
"the documentation index."));
action = new TDEAction(i18n("Man Page..."), 0,
- this, TQT_SLOT(manPage()),
+ this, TQ_SLOT(manPage()),
actionCollection(), "help_manpage" );
action->setToolTip(i18n("Show a manpage"));
action->setWhatsThis(i18n("<b>Show a manpage</b><p>Opens a man page using embedded viewer."));
action = new TDEAction(i18n("Info Page..."), 0,
- this, TQT_SLOT(infoPage()),
+ this, TQ_SLOT(infoPage()),
actionCollection(), "help_infopage");
action->setToolTip(i18n("Show an infopage"));
action->setWhatsThis(i18n("<b>Show an infopage</b><p>Opens an info page using embedded viewer."));
action = new TDEAction(i18n("Find Documentation..."), 0,
- this, TQT_SLOT(findInDocumentation()),
+ this, TQ_SLOT(findInDocumentation()),
actionCollection(), "help_find_documentation");
action->setToolTip(i18n("Find Documentation"));
action->setWhatsThis(i18n("<b>Find documentation</b><p>"
@@ -467,7 +467,7 @@ void DocumentationPart::contextMenu(TQPopupMenu *popup, const Context *context)
int id = -1;
if (hasContextFeature(Finder)) {
id = popup->insertItem(i18n("Find Documentation: %1").arg(squeezed),
- this, TQT_SLOT(contextFindDocumentation()));
+ this, TQ_SLOT(contextFindDocumentation()));
popup->setWhatsThis(id, i18n("<b>Find documentation</b><p>"
"Opens the documentation finder tab and searches "
"all possible sources of documentation like "
@@ -476,7 +476,7 @@ void DocumentationPart::contextMenu(TQPopupMenu *popup, const Context *context)
}
if (hasContextFeature(IndexLookup)) {
id = popup->insertItem(i18n("Look in Documentation Index: %1").arg(squeezed),
- this, TQT_SLOT(contextLookInDocumentationIndex()));
+ this, TQ_SLOT(contextLookInDocumentationIndex()));
popup->setWhatsThis(id, i18n("<b>Look in documentation index</b><p>"
"Opens the documentation index tab. It allows "
"a term to be entered which will be looked for in "
@@ -484,7 +484,7 @@ void DocumentationPart::contextMenu(TQPopupMenu *popup, const Context *context)
}
if (hasContextFeature(FullTextSearch)) {
id = popup->insertItem(i18n("Search in Documentation: %1").arg(squeezed),
- this, TQT_SLOT(contextSearchInDocumentation()));
+ this, TQ_SLOT(contextSearchInDocumentation()));
popup->setWhatsThis(id, i18n("<b>Search in documentation</b><p>Searches "
"for a term under the cursor in "
"the documentation. For this to work, "
@@ -493,12 +493,12 @@ void DocumentationPart::contextMenu(TQPopupMenu *popup, const Context *context)
}
if (hasContextFeature(GotoMan)) {
id = popup->insertItem(i18n("Goto Manpage: %1").arg(squeezed),
- this, TQT_SLOT(contextManPage()));
+ this, TQ_SLOT(contextManPage()));
popup->setWhatsThis(id, i18n("<b>Goto manpage</b><p>Tries to open a man page for the term under the cursor."));
}
if (hasContextFeature(GotoInfo)) {
id = popup->insertItem( i18n("Goto Infopage: %1").arg(squeezed),
- this, TQT_SLOT(contextInfoPage()) );
+ this, TQ_SLOT(contextInfoPage()) );
popup->setWhatsThis(id, i18n("<b>Goto infopage</b><p>Tries to open an info page for the term under the cursor."));
}
if (id != -1)
@@ -676,7 +676,7 @@ TQCString DocumentationPart::startAssistant()
bool DocumentationPart::isAssistantUsed() const
{
// hack to solve BR #90334 - don't call kdevassistant via DCOP if we ARE kdevassistant
- if ( kapp->instanceName().find("kdevassistant") != -1 )
+ if ( tdeApp->instanceName().find("kdevassistant") != -1 )
{
return false;
}
@@ -688,7 +688,7 @@ void DocumentationPart::setAssistantUsed(bool b)
{
m_assistantUsed = b;
//use global config to store different settings for kdevassistant and tdevelop
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Documentation");
config->writeEntry("UseAssistant", isAssistantUsed());
}
@@ -736,7 +736,7 @@ void DocumentationPart::callAssistant(const TQCString &interface, const TQCStrin
void DocumentationPart::loadSettings()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Documentation");
m_assistantUsed = config->readBoolEntry("UseAssistant", false);
diff --git a/parts/documentation/documentation_widget.cpp b/parts/documentation/documentation_widget.cpp
index b1ab69ca..3430c440 100644
--- a/parts/documentation/documentation_widget.cpp
+++ b/parts/documentation/documentation_widget.cpp
@@ -64,12 +64,12 @@ DocumentationWidget::DocumentationWidget(DocumentationPart *part)
m_bookmarks = new BookmarkView(this);
m_tab->addItem(m_bookmarks, i18n("Bookmarks"));
- connect(m_tab, TQT_SIGNAL(currentChanged(int)), this, TQT_SLOT(tabChanged(int)));
+ connect(m_tab, TQ_SIGNAL(currentChanged(int)), this, TQ_SLOT(tabChanged(int)));
}
DocumentationWidget::~DocumentationWidget()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("Documentation");
config->writeEntry("LastPage", m_tab->currentIndex());
}
diff --git a/parts/documentation/editcatalogdlg.h b/parts/documentation/editcatalogdlg.h
index 5aaa6eed..71f1c4a7 100644
--- a/parts/documentation/editcatalogdlg.h
+++ b/parts/documentation/editcatalogdlg.h
@@ -30,7 +30,7 @@ class EditCatalogDlg : public EditCatalogBase
public:
EditCatalogDlg(DocumentationPlugin *plugin,
- TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
+ TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0);
~EditCatalogDlg();
/*$PUBLIC_FUNCTIONS$*/
diff --git a/parts/documentation/editcatalogdlgbase.ui b/parts/documentation/editcatalogdlgbase.ui
index 7315092b..34769563 100644
--- a/parts/documentation/editcatalogdlgbase.ui
+++ b/parts/documentation/editcatalogdlgbase.ui
@@ -178,9 +178,9 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>locationURLChanged( const TQString &amp; )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/documentation/find_documentation.cpp b/parts/documentation/find_documentation.cpp
index 85365f69..72563413 100644
--- a/parts/documentation/find_documentation.cpp
+++ b/parts/documentation/find_documentation.cpp
@@ -26,7 +26,7 @@
#include <tqstringlist.h>
#include <klineedit.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdelistbox.h>
#include <kdevpartcontroller.h>
@@ -46,20 +46,20 @@ FindDocumentation::FindDocumentation(DocumentationWidget* parent, const char* na
man_item(0), info_item(0), index_item(0), google_item(0), contents_item(0),
last_item(0), m_widget(parent)
{
- TQWidget* tmp = TQT_TQWIDGET(TQApplication::desktop());
+ TQWidget* tmp = TQApplication::desktop();
setGeometry(tmp->width()/2 - width()/2, tmp->height()/2 - height()/2, width(), height());
- proc_man = new TDEProcess( TQT_TQOBJECT(this) );
- proc_info = new TDEProcess( TQT_TQOBJECT(this) );
-
- connect( proc_man, TQT_SIGNAL(processExited( TDEProcess* )),
- this, TQT_SLOT(procManExited( TDEProcess* )) );
- connect( proc_man, TQT_SIGNAL(receivedStdout( TDEProcess*, char*, int)),
- this, TQT_SLOT(procManReadStdout( TDEProcess*, char*, int)) );
-
- connect( proc_info, TQT_SIGNAL(processExited( TDEProcess* )),
- this, TQT_SLOT(procInfoExited( TDEProcess* )) );
- connect( proc_info, TQT_SIGNAL(receivedStdout( TDEProcess*, char*, int)),
- this, TQT_SLOT(procInfoReadStdout( TDEProcess*, char*, int)) );
+ proc_man = new TDEProcess( this );
+ proc_info = new TDEProcess( this );
+
+ connect( proc_man, TQ_SIGNAL(processExited( TDEProcess* )),
+ this, TQ_SLOT(procManExited( TDEProcess* )) );
+ connect( proc_man, TQ_SIGNAL(receivedStdout( TDEProcess*, char*, int)),
+ this, TQ_SLOT(procManReadStdout( TDEProcess*, char*, int)) );
+
+ connect( proc_info, TQ_SIGNAL(processExited( TDEProcess* )),
+ this, TQ_SLOT(procInfoExited( TDEProcess* )) );
+ connect( proc_info, TQ_SIGNAL(receivedStdout( TDEProcess*, char*, int)),
+ this, TQ_SLOT(procInfoReadStdout( TDEProcess*, char*, int)) );
result_list->header()->hide();
result_list->setSorting(-1);
diff --git a/parts/documentation/find_documentation_options.cpp b/parts/documentation/find_documentation_options.cpp
index ef0deaca..ee8fd976 100644
--- a/parts/documentation/find_documentation_options.cpp
+++ b/parts/documentation/find_documentation_options.cpp
@@ -108,7 +108,7 @@ void FindDocumentationOptions::sourceMoveUp()
void FindDocumentationOptions::writeOptions()
{
- config = kapp->config();
+ config = tdeApp->config();
config->setGroup("DocumentationFinder");
config->writeEntry("goto_first_match", goto_first_match->isChecked());
@@ -151,7 +151,7 @@ void FindDocumentationOptions::writeOptions()
void FindDocumentationOptions::readOptions()
{
- config = kapp->config();
+ config = tdeApp->config();
config->setGroup("DocumentationFinder");
source_list->clear();
diff --git a/parts/documentation/find_documentation_options.h b/parts/documentation/find_documentation_options.h
index d12e748b..b1d0cea9 100644
--- a/parts/documentation/find_documentation_options.h
+++ b/parts/documentation/find_documentation_options.h
@@ -31,7 +31,7 @@ class FindDocumentationOptions : public FindDocumentationOptionsBase
TQ_OBJECT
public:
- FindDocumentationOptions(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE);
+ FindDocumentationOptions(TQWidget* parent = 0, const char* name = 0, bool modal = false);
~FindDocumentationOptions();
/*$PUBLIC_FUNCTIONS$*/
virtual bool isContents( TQCheckListItem * item );
diff --git a/parts/documentation/find_documentation_optionsbase.ui b/parts/documentation/find_documentation_optionsbase.ui
index 3dd843f6..2a31e034 100644
--- a/parts/documentation/find_documentation_optionsbase.ui
+++ b/parts/documentation/find_documentation_optionsbase.ui
@@ -204,9 +204,9 @@ sources and change their priority here.</string>
<slot>sourceMoveDown()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>sourceMoveUp()</slot>
<slot>sourceMoveDown()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/documentation/find_documentationbase.ui b/parts/documentation/find_documentationbase.ui
index d7a4e46a..4e917917 100644
--- a/parts/documentation/find_documentationbase.ui
+++ b/parts/documentation/find_documentationbase.ui
@@ -148,7 +148,7 @@
<forwards>
<forward>class TQListViewItem;</forward>
</forwards>
-<Q_SLOTS>
+<slots>
<slot>clickOptions()</slot>
<slot>setSearchTerm( const TQString &amp; term )</slot>
<slot>startSearch()</slot>
@@ -161,7 +161,7 @@
<slot>procInfoReadFromStdout()</slot>
<slot>clickOnItem( TQListViewItem * item )</slot>
<slot>buttonPressedOnItem( int button, TQListViewItem * item, const TQPoint &amp; pos, int c )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="1" margin="1"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/documentation/indexview.cpp b/parts/documentation/indexview.cpp
index f414e288..6024bdac 100644
--- a/parts/documentation/indexview.cpp
+++ b/parts/documentation/indexview.cpp
@@ -52,11 +52,11 @@ IndexView::IndexView(DocumentationWidget *parent, const char *name)
m_index = new IndexBox(this);
l->addWidget(m_index);
- connect(m_index, TQT_SIGNAL(executed(TQListBoxItem* )), this, TQT_SLOT(searchInIndex(TQListBoxItem* )));
- connect(m_index, TQT_SIGNAL(mouseButtonPressed(int, TQListBoxItem*, const TQPoint& )),
- this, TQT_SLOT(itemMouseButtonPressed(int, TQListBoxItem*, const TQPoint& )));
- connect(m_edit, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(searchInIndex()));
- connect(m_edit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(showIndex(const TQString&)));
+ connect(m_index, TQ_SIGNAL(executed(TQListBoxItem* )), this, TQ_SLOT(searchInIndex(TQListBoxItem* )));
+ connect(m_index, TQ_SIGNAL(mouseButtonPressed(int, TQListBoxItem*, const TQPoint& )),
+ this, TQ_SLOT(itemMouseButtonPressed(int, TQListBoxItem*, const TQPoint& )));
+ connect(m_edit, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(searchInIndex()));
+ connect(m_edit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(showIndex(const TQString&)));
m_edit->installEventFilter(this);
}
diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.cpp b/parts/documentation/interfaces/kdevdocumentationplugin.cpp
index 7eedf73a..3b45e00a 100644
--- a/parts/documentation/interfaces/kdevdocumentationplugin.cpp
+++ b/parts/documentation/interfaces/kdevdocumentationplugin.cpp
@@ -24,7 +24,7 @@
#include <tqheader.h>
#include <tqtextstream.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kiconloader.h>
#include <tdeconfig.h>
#include <kdebug.h>
@@ -685,7 +685,7 @@ ProjectDocumentationPlugin::ProjectDocumentationPlugin(DocumentationPlugin *docP
kdDebug() << "ProjectDocumentationPlugin::ProjectDocumentationPlugin for type " << type << endl;
m_watch = new KDirWatch(this);
- connect(m_watch, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(reinit()));
+ connect(m_watch, TQ_SIGNAL(dirty(const TQString&)), this, TQ_SLOT(reinit()));
m_watch->startScan();
}
diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp
index 2710fe25..793c5437 100644
--- a/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp
+++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.cpp
@@ -30,7 +30,7 @@
#include <tdeaboutdata.h>
#include <tdeconfig.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kdevgenericfactory.h>
#include <kdevplugininfo.h>
diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
index 239fc2ef..3100a5f3 100644
--- a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
+++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
@@ -32,7 +32,7 @@
#include <tdeaboutdata.h>
#include <tdeconfig.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <urlutil.h>
#include <kdevgenericfactory.h>
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
index d0a00eb6..8ec45be5 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
+++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
@@ -31,7 +31,7 @@
#include <tdeconfig.h>
#include <tdelocale.h>
#include <tdelistview.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <urlutil.h>
#include <kdevgenericfactory.h>
diff --git a/parts/documentation/protocols/chm/chm.cpp b/parts/documentation/protocols/chm/chm.cpp
index 787a8f32..840982ba 100644
--- a/parts/documentation/protocols/chm/chm.cpp
+++ b/parts/documentation/protocols/chm/chm.cpp
@@ -26,7 +26,7 @@
#include <tdeapplication.h>
#include <kdebug.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <tdeglobal.h>
#include <kurl.h>
#include <kmimemagic.h>
diff --git a/parts/documentation/protocols/chm/kchmpart.cpp b/parts/documentation/protocols/chm/kchmpart.cpp
index 952228c4..d182315b 100644
--- a/parts/documentation/protocols/chm/kchmpart.cpp
+++ b/parts/documentation/protocols/chm/kchmpart.cpp
@@ -17,11 +17,11 @@
#include "kchmpart.h"
#include <tqstring.h>
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <tdeglobal.h>
#include <kdebug.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeaboutdata.h>
extern "C"
@@ -101,8 +101,8 @@ bool KChmPart::openFile()
m_htmlData.truncate(0);
m_job = TDEIO::get( TQString("chm:")+m_file+"/", true, false );
- connect( m_job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray &) ), TQT_SLOT( readData( TDEIO::Job *, const TQByteArray &) ) );
- connect( m_job, TQT_SIGNAL( result( TDEIO::Job * ) ), TQT_SLOT( jobDone( TDEIO::Job * ) ) );
+ connect( m_job, TQ_SIGNAL( data( TDEIO::Job *, const TQByteArray &) ), TQ_SLOT( readData( TDEIO::Job *, const TQByteArray &) ) );
+ connect( m_job, TQ_SIGNAL( result( TDEIO::Job * ) ), TQ_SLOT( jobDone( TDEIO::Job * ) ) );
return true;
}
diff --git a/parts/documentation/searchview.cpp b/parts/documentation/searchview.cpp
index 080254ae..26529239 100644
--- a/parts/documentation/searchview.cpp
+++ b/parts/documentation/searchview.cpp
@@ -36,9 +36,9 @@
#include <kcombobox.h>
#include <tdelocale.h>
#include <kdialog.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdeapplication.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeconfig.h>
#include <tdemessagebox.h>
#include <kdebug.h>
@@ -102,13 +102,13 @@ SearchView::SearchView(DocumentationPart *part, TQWidget *parent, const char *na
m_view->setAllColumnsShowFocus(true);
m_view->setResizeMode( TQListView::LastColumn );
- connect(m_configButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateConfig()));
- connect(m_indexButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateIndex()));
- connect(m_edit, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(search()));
- connect(m_goSearchButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(search()));
- connect(m_view, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(executed(TQListViewItem*)));
- connect(m_view, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )),
- this, TQT_SLOT(itemMouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )));
+ connect(m_configButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateConfig()));
+ connect(m_indexButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateIndex()));
+ connect(m_edit, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(search()));
+ connect(m_goSearchButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(search()));
+ connect(m_view, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(executed(TQListViewItem*)));
+ connect(m_view, TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )),
+ this, TQ_SLOT(itemMouseButtonPressed(int, TQListViewItem*, const TQPoint&, int )));
}
SearchView::~SearchView()
@@ -143,7 +143,7 @@ void SearchView::search()
{
TDEConfig *config = m_part->config();
config->setGroup("htdig");
- if (config->readBoolEntry("IsSetup", false) == false)
+ if (!config->readBoolEntry("IsSetup", false))
{
KMessageBox::information(this, i18n("Full text search has to be set up before usage."));
if (!m_part->configure(1))
@@ -152,7 +152,7 @@ void SearchView::search()
updateIndex();
return;
}
- TQString exe = config->readPathEntry("htsearchbin", kapp->dirs()->findExe("htsearch"));
+ TQString exe = config->readPathEntry("htsearchbin", tdeApp->dirs()->findExe("htsearch"));
if (exe.isEmpty())
{
KMessageBox::error(this, i18n("Cannot find the htsearch executable.\nIt is part of the ht://Dig package that is used by TDevelop to perform full text search. Please install ht://Dig and use Documentation page in Configure TDevelop dialog to set the htsearch location."));
@@ -160,7 +160,7 @@ void SearchView::search()
return;
}
- TQString indexdir = kapp->dirs()->saveLocation("data", "kdevdocumentation/search");
+ TQString indexdir = tdeApp->dirs()->saveLocation("data", "kdevdocumentation/search");
TQDir d;
if (indexdir.isEmpty() || !TQFile::exists(indexdir + "/htdig.conf"))
{
@@ -177,7 +177,7 @@ void SearchView::search()
}
}
- TQString savedir = kapp->dirs()->saveLocation("data", "kdevdocumentation/search");
+ TQString savedir = tdeApp->dirs()->saveLocation("data", "kdevdocumentation/search");
if (!d.exists(savedir))
d.mkdir(savedir);
@@ -188,17 +188,17 @@ void SearchView::search()
.arg("builtin-short")
.arg(m_sortMethodBox->currentItem()==2? "date" : m_sortMethodBox->currentItem()==1? "title" : "score");
- kdDebug(9002) << "starting kprocess" << endl;
+ kdDebug(9002) << "starting tdeprocess" << endl;
kdDebug(9002) << "htdig line:" << exe << " -c " << (indexdir + "/htdig.conf ") << query << endl;
TDEProcess *proc = new TDEProcess;
- TQString picdir = kapp->dirs()->findResourceDir("data", "kdevdocumentation/pics/htdig.png");
+ TQString picdir = tdeApp->dirs()->findResourceDir("data", "kdevdocumentation/pics/htdig.png");
proc->setEnvironment("PICDIR", picdir);
*proc << exe << "-c" << (indexdir + "/htdig.conf") << query;
- connect( proc, TQT_SIGNAL(receivedStdout(TDEProcess *,char*,int)),
- this, TQT_SLOT(htsearchStdout(TDEProcess *,char*,int)) );
- connect( proc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(htsearchExited(TDEProcess *)) );
+ connect( proc, TQ_SIGNAL(receivedStdout(TDEProcess *,char*,int)),
+ this, TQ_SLOT(htsearchStdout(TDEProcess *,char*,int)) );
+ connect( proc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(htsearchExited(TDEProcess *)) );
searchResult = "";
@@ -213,12 +213,12 @@ void SearchView::search()
// While receiving data from the subprocess, we want
// to block the user interface, but still get repaint
// events. Hack taken from NetAccess...
- kapp->setOverrideCursor(waitCursor);
+ tdeApp->setOverrideCursor(waitCursor);
TQWidget blocker(0, 0, WType_Dialog | WShowModal);
tqt_enter_modal(&blocker);
- kapp->enter_loop();
+ tdeApp->enter_loop();
tqt_leave_modal(&blocker);
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
if (!proc->normalExit() || proc->exitStatus() != 0)
{
@@ -254,7 +254,7 @@ void SearchView::htsearchStdout(TDEProcess *, char *buffer, int len)
void SearchView::htsearchExited(TDEProcess *)
{
- kapp->exit_loop();
+ tdeApp->exit_loop();
}
void SearchView::analyseSearchResults()
diff --git a/parts/documentation/selecttopicbase.ui b/parts/documentation/selecttopicbase.ui
index fe558f89..a2931c19 100644
--- a/parts/documentation/selecttopicbase.ui
+++ b/parts/documentation/selecttopicbase.ui
@@ -129,8 +129,8 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>newSlot()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/documentation/tools/htdig/htdigindex.cpp b/parts/documentation/tools/htdig/htdigindex.cpp
index c99c4a2c..6642c5d2 100644
--- a/parts/documentation/tools/htdig/htdigindex.cpp
+++ b/parts/documentation/tools/htdig/htdigindex.cpp
@@ -32,8 +32,8 @@
#include <tdeglobal.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kstandarddirs.h>
-#include <kprocess.h>
+#include <tdestandarddirs.h>
+#include <tdeprocess.h>
#include <tdeversion.h>
#include <kprogress.h>
@@ -45,7 +45,7 @@ ProgressDialog::ProgressDialog(bool index, TQWidget *parent, const char *name)
{
proc = 0;
- indexdir = kapp->dirs()->saveLocation("data", "kdevdocumentation/search");
+ indexdir = tdeApp->dirs()->saveLocation("data", "kdevdocumentation/search");
TQDir d; d.mkdir(indexdir);
TDEConfig config("kdevdocumentation", true);
@@ -88,9 +88,9 @@ ProgressDialog::ProgressDialog(bool index, TQWidget *parent, const char *name)
setState(0);
setMinimumWidth(300);
- connect(this, TQT_SIGNAL(cancelClicked()), this, TQT_SLOT(cancelClicked()));
- connect(this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(okClicked()));
- TQTimer::singleShot(0, this, TQT_SLOT(slotDelayedStart()));
+ connect(this, TQ_SIGNAL(cancelClicked()), this, TQ_SLOT(cancelClicked()));
+ connect(this, TQ_SIGNAL(okClicked()), this, TQ_SLOT(okClicked()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDelayedStart()));
}
ProgressDialog::~ProgressDialog()
@@ -170,14 +170,14 @@ void ProgressDialog::addDir(const TQString &dir)
if (*it != "." && *it != "..")
{
addDir(dir + "/" + *it);
- kapp->processEvents();
+ tdeApp->processEvents();
}
if (procdone)
{
return;
}
}
- kapp->processEvents();
+ tdeApp->processEvents();
}
void ProgressDialog::scanDirectories()
@@ -268,8 +268,8 @@ void ProgressDialog::startHtdigProcess(bool initial)
if (initial) {
*proc << "-i";
}
- connect(proc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(htdigExited(TDEProcess *)));
+ connect(proc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(htdigExited(TDEProcess *)));
htdigRunning = true;
@@ -302,7 +302,7 @@ bool ProgressDialog::generateIndex()
// run htdig
TDEConfig config("kdevdocumentation", true);
config.setGroup("htdig");
- exe = config.readPathEntry("htdigbin", kapp->dirs()->findExe("htdig"));
+ exe = config.readPathEntry("htdigbin", tdeApp->dirs()->findExe("htdig"));
if (exe.isEmpty())
{
done(1);
@@ -368,7 +368,7 @@ void ProgressDialog::htdigExited(TDEProcess *proc)
TDEConfig config("kdevdocumentation", true);
config.setGroup("htdig");
// run htmerge -----------------------------------------------------
- exe = config.readPathEntry("htmergebin", kapp->dirs()->findExe("htmerge"));
+ exe = config.readPathEntry("htmergebin", tdeApp->dirs()->findExe("htmerge"));
if (exe.isEmpty())
{
done(1);
@@ -387,8 +387,8 @@ void ProgressDialog::startHtmergeProcess()
kdDebug(9002) << "Running htmerge" << endl;
- connect(proc, TQT_SIGNAL(processExited(TDEProcess *)),
- this, TQT_SLOT(htmergeExited(TDEProcess *)));
+ connect(proc, TQ_SIGNAL(processExited(TDEProcess *)),
+ this, TQ_SLOT(htmergeExited(TDEProcess *)));
htmergeRunning = true;
diff --git a/parts/doxygen/config.cpp b/parts/doxygen/config.cpp
index 4299c300..23d17247 100644
--- a/parts/doxygen/config.cpp
+++ b/parts/doxygen/config.cpp
@@ -71,15 +71,6 @@ bool portable_fileSystemIsCaseSensitive()
#endif /* __STDC__ */
#endif /* ! __cplusplus */
-#ifdef __TURBOC__
- #pragma warn -rch
- #pragma warn -use
-#include <io.h>
-#include <stdlib.h>
-#define YY_USE_CONST
-#define YY_USE_PROTOS
-#endif
-
#ifdef YY_USE_CONST
#define yyconst const
#else
@@ -627,7 +618,7 @@ void ConfigOption::writeStringValue(TQTextStream &t,TQCString &s)
{
const char *p=s.data();
char c;
- bool needsEscaping=FALSE;
+ bool needsEscaping=false;
if (p)
{
while ((c=*p++)!=0 && !needsEscaping)
@@ -653,12 +644,12 @@ void ConfigOption::writeStringValue(TQTextStream &t,TQCString &s)
void ConfigOption::writeStringList(TQTextStream &t,TQStrList &l)
{
const char *p = l.first();
- bool first=TRUE;
+ bool first=true;
while (p)
{
TQCString s=p;
if (!first) t << " ";
- first=FALSE;
+ first=false;
writeStringValue(t,s);
p = l.next();
if (p) t << " \\" << endl;
@@ -692,11 +683,11 @@ void ConfigBool::convertStrToVal()
{
if (val=="yes" || val=="true" || val=="1")
{
- m_value=TRUE;
+ m_value=true;
}
else if (val=="no" || val=="false" || val=="0")
{
- m_value=FALSE;
+ m_value=false;
}
else
{
@@ -1449,12 +1440,12 @@ YY_RULE_SETUP
TQCString bs=yytext;
bs=bs.upper();
if (bs=="YES" || bs=="1")
- *b=TRUE;
+ *b=true;
else if (bs=="NO" || bs=="0")
- *b=FALSE;
+ *b=false;
else
{
- *b=FALSE;
+ *b=false;
config_warn("Warning: Invalid value `%s' for "
"boolean tag in line %d, file %s; use YES or NO\n",
bs.data(),yyLineNr,yyFileName.data());
@@ -2402,7 +2393,7 @@ static void writeStringValue(TQTextStream &t,TQCString &s)
{
const char *p=s.data();
char c;
- bool hasBlanks=FALSE;
+ bool hasBlanks=false;
if (p)
{
while ((c=*p++)!=0 && !hasBlanks) hasBlanks = (c==' ' || c=='\n' || c=='\t');
@@ -2416,15 +2407,15 @@ static void writeStringValue(TQTextStream &t,TQCString &s)
static void writeStringList(TQTextStream &t,TQStrList &l)
{
const char *p = l.first();
- bool first=TRUE;
+ bool first=true;
while (p)
{
char c;
const char *s=p;
- bool hasBlanks=FALSE;
+ bool hasBlanks=false;
while ((c=*p++)!=0 && !hasBlanks) hasBlanks = (c==' ' || c=='\n' || c=='\t');
if (!first) t << " ";
- first=FALSE;
+ first=false;
if (hasBlanks) t << "\"" << s << "\""; else t << s;
p = l.next();
if (p) t << " \\" << endl;
@@ -2492,7 +2483,7 @@ static void substEnvVarsInStrList(TQStrList &sl)
while (s)
{
TQCString result(s);
- // an argument with quotes will have an extra space at the end, so wasQuoted will be TRUE.
+ // an argument with quotes will have an extra space at the end, so wasQuoted will be true.
bool wasQuoted = (result.find(' ')!=-1) || (result.find('\t')!=-1);
// here we strip the quote again
substEnvVarsInString(result);
@@ -2808,7 +2799,7 @@ void Config::check()
}
else
{
- dotPath=TQFile::encodeName( dp.dirPath(TRUE)+"/" );
+ dotPath=TQFile::encodeName( dp.dirPath(true)+"/" );
#if defined(_WIN32) // convert slashes
uint i=0,l=dotPath.length();
for (i=0;i<l;i++) if (dotPath.at(i)=='/') dotPath.at(i)='\\';
@@ -2832,7 +2823,7 @@ void Config::check()
}
else
{
- mscgenPath=TQFile::encodeName( dp.dirPath(TRUE)+"/" );
+ mscgenPath=TQFile::encodeName( dp.dirPath(true)+"/" );
#if defined(_WIN32) // convert slashes
uint i=0,l=mscgenPath.length();
for (i=0;i<l;i++) if (mscgenPath.at(i)=='/') mscgenPath.at(i)='\\';
@@ -2956,13 +2947,9 @@ void Config::check()
#undef PUTENV
#undef SEP
-#if defined(_WIN32) && (__BORLANDC__ < 0x0550)
-#define PUTENV _putenv
-#define SEP ";"
-#else
#define PUTENV putenv
#define SEP ":"
-#endif
+
// check TQHP creation requirements
if (Config_getBool("GENERATE_TQHP"))
{
@@ -3022,7 +3009,7 @@ void Config::check()
{
// don't show inline info for Java output, since Java has no inline
// concept.
- Config_getBool("INLINE_INFO")=FALSE;
+ Config_getBool("INLINE_INFO")=false;
}
int &depth = Config_getInt("MAX_DOT_GRAPH_DEPTH");
@@ -3072,10 +3059,10 @@ void Config::check()
"%s%s%s%s",s1,s2,s3,s4
);
- Config_getBool("INLINE_INHERITED_MEMB") = FALSE;
- Config_getBool("INHERIT_DOCS") = FALSE;
- Config_getBool("HIDE_SCOPE_NAMES") = TRUE;
- Config_getBool("EXTRACT_PRIVATE") = TRUE;
+ Config_getBool("INLINE_INHERITED_MEMB") = false;
+ Config_getBool("INHERIT_DOCS") = false;
+ Config_getBool("HIDE_SCOPE_NAMES") = true;
+ Config_getBool("EXTRACT_PRIVATE") = true;
}
}
@@ -3093,7 +3080,7 @@ void Config::init()
void Config::create()
{
if (m_initialized) return;
- m_initialized = TRUE;
+ m_initialized = true;
ConfigString *cs;
ConfigEnum *ce;
@@ -3142,7 +3129,7 @@ void Config::create()
"Enabling this option can be useful when feeding doxygen a huge amount of \n"
"source files, where putting all generated files in the same directory would \n"
"otherwise cause performance problems for the file system. \n",
- FALSE
+ false
);
ce = addEnum(
"OUTPUT_LANGUAGE",
@@ -3273,9 +3260,9 @@ void Config::create()
"whereas setting the tag to NO uses a Unix-style encoding (the default for \n"
"all platforms other than Windows).\n",
#if defined(_WIN32) || defined(__CYGWIN__)
- TRUE
+ true
#else
- FALSE
+ false
#endif
);
#endif
@@ -3287,7 +3274,7 @@ void Config::create()
"include brief member descriptions after the members that are listed in \n"
"the file and class documentation (similar to JavaDoc). \n"
"Set to NO to disable this. \n",
- TRUE
+ true
);
cb = addBool(
"REPEAT_BRIEF",
@@ -3295,7 +3282,7 @@ void Config::create()
"the brief description of a member or function before the detailed description. \n"
"Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the \n"
"brief descriptions will be completely suppressed. \n",
- TRUE
+ true
);
cl = addList(
"ABBREVIATE_BRIEF",
@@ -3314,7 +3301,7 @@ void Config::create()
"If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then \n"
"Doxygen will generate a detailed section even if there is only a brief \n"
"description. \n",
- FALSE
+ false
);
cb = addBool(
"INLINE_INHERITED_MEMB",
@@ -3322,14 +3309,14 @@ void Config::create()
"inherited members of a class in the documentation of that class as if those \n"
"members were ordinary class members. Constructors, destructors and assignment \n"
"operators of the base classes will not be shown. \n",
- FALSE
+ false
);
cb = addBool(
"FULL_PATH_NAMES",
"If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full \n"
"path before files name in the file list and in the header files. If set \n"
"to NO the shortest path that makes the file name unique will be used. \n",
- TRUE
+ true
);
cl = addList(
"STRIP_FROM_PATH",
@@ -3355,7 +3342,7 @@ void Config::create()
"If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter \n"
"(but less readable) file names. This can be useful is your file systems \n"
"doesn't support long names like on DOS, Mac, or CD-ROM. \n",
- FALSE
+ false
);
cb = addBool(
"JAVADOC_AUTOBRIEF",
@@ -3364,7 +3351,7 @@ void Config::create()
"comment as the brief description. If set to NO, the JavaDoc \n"
"comments will behave just like regular TQt-style comments \n"
"(thus requiring an explicit @brief command for a brief description.) \n",
- FALSE
+ false
);
cb = addBool(
"TQT_AUTOBRIEF",
@@ -3373,7 +3360,7 @@ void Config::create()
"comment as the brief description. If set to NO, the comments \n"
"will behave just like regular TQt-style comments (thus requiring \n"
"an explicit \\brief command for a brief description.) \n",
- FALSE
+ false
);
cb = addBool(
"MULTILINE_CPP_IS_BRIEF",
@@ -3382,7 +3369,7 @@ void Config::create()
"comments) as a brief description. This used to be the default behaviour. \n"
"The new default is to treat a multi-line C++ comment block as a detailed \n"
"description. Set this tag to YES if you prefer the old behaviour instead. \n",
- FALSE
+ false
);
//cb = addBool(
// "DETAILS_AT_TOP",
@@ -3390,21 +3377,21 @@ void Config::create()
// "will output the detailed description near the top, like JavaDoc.\n"
// "If set to NO, the detailed description appears after the member \n"
// "documentation. \n",
- // FALSE
+ // false
// );
cb = addBool(
"INHERIT_DOCS",
"If the INHERIT_DOCS tag is set to YES (the default) then an undocumented \n"
"member inherits the documentation from any documented member that it \n"
"re-implements. \n",
- TRUE
+ true
);
cb = addBool(
"SEPARATE_MEMBER_PAGES",
"If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce \n"
"a new page for each member. If set to NO, the documentation of a member will \n"
"be part of the file/class/namespace that contains it.\n",
- FALSE
+ false
);
ci = addInt(
"TAB_SIZE",
@@ -3427,7 +3414,7 @@ void Config::create()
"sources only. Doxygen will then generate output that is more tailored for C. \n"
"For instance, some of the names that are used will be different. The list \n"
"of all members will be omitted, etc. \n",
- FALSE
+ false
);
cb = addBool(
"OPTIMIZE_OUTPUT_JAVA",
@@ -3435,21 +3422,21 @@ void Config::create()
"sources only. Doxygen will then generate output that is more tailored for \n"
"Java. For instance, namespaces will be presented as packages, qualified \n"
"scopes will look different, etc. \n",
- FALSE
+ false
);
cb = addBool(
"OPTIMIZE_FOR_FORTRAN",
"Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran \n"
"sources only. Doxygen will then generate output that is more tailored for \n"
"Fortran. \n",
- FALSE
+ false
);
cb = addBool(
"OPTIMIZE_OUTPUT_VHDL",
"Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL \n"
"sources. Doxygen will then generate output that is tailored for \n"
"VHDL. \n",
- FALSE
+ false
);
cl = addList( "EXTENSION_MAPPING",
"Doxygen selects the parser to use depending on the extension of the files it parses. \n"
@@ -3469,20 +3456,20 @@ void Config::create()
"definitions whose arguments contain STL classes (e.g. func(std::string); v.s. \n"
"func(std::string) {}). This also make the inheritance and collaboration \n"
"diagrams that involve STL classes more complete and accurate. \n",
- FALSE
+ false
);
cb = addBool(
"CPP_CLI_SUPPORT",
"If you use Microsoft's C++/CLI language, you should set this option to YES to\n"
"enable parsing support.\n",
- FALSE
+ false
);
cb = addBool(
"SIP_SUPPORT",
"Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. \n"
"Doxygen will parse them like normal C++ but will assume all classes use public \n"
"instead of private inheritance when no explicit protection keyword is present. \n",
- FALSE
+ false
);
cb = addBool( "IDL_PROPERTY_SUPPORT",
"For Microsoft's IDL there are propget and propput attributes to indicate getter \n"
@@ -3491,7 +3478,7 @@ void Config::create()
"documentation. This will only work if the methods are indeed getting or \n"
"setting a simple type. If this is not the case, or you want to show the \n"
"methods anyway, you should set this option to NO. \n",
- TRUE
+ true
);
cb = addBool(
"DISTRIBUTE_GROUP_DOC",
@@ -3499,7 +3486,7 @@ void Config::create()
"tag is set to YES, then doxygen will reuse the documentation of the first \n"
"member in the group (if any) for the other members of the group. By default \n"
"all members of a group must be documented explicitly.\n",
- FALSE
+ false
);
cb = addBool(
"SUBGROUPING",
@@ -3508,7 +3495,7 @@ void Config::create()
"subgroup of that type (e.g. under the Public Functions section). Set it to \n"
"NO to prevent subgrouping. Alternatively, this can be done per class using \n"
"the \\nosubgrouping command. \n",
- TRUE
+ true
);
cb = addBool( "TYPEDEF_HIDES_STRUCT",
"When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum \n"
@@ -3518,7 +3505,7 @@ void Config::create()
"namespace, or class. And the struct will be named TypeS. This can typically \n"
"be useful for C code in case the coding convention dictates that all compound \n"
"types are typedef'ed and only the typedef is referenced, never the tag name.\n",
- FALSE
+ false
);
ci = addInt(
"SYMBOL_CACHE_SIZE",
@@ -3547,26 +3534,26 @@ void Config::create()
"documentation are documented, even if no documentation was available. \n"
"Private class members and static file members will be hidden unless \n"
"the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES \n",
- FALSE
+ false
);
cb = addBool(
"EXTRACT_PRIVATE",
"If the EXTRACT_PRIVATE tag is set to YES all private members of a class \n"
"will be included in the documentation. \n",
- FALSE
+ false
);
cb = addBool(
"EXTRACT_STATIC",
"If the EXTRACT_STATIC tag is set to YES all static members of a file \n"
"will be included in the documentation. \n",
- FALSE
+ false
);
cb = addBool(
"EXTRACT_LOCAL_CLASSES",
"If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) \n"
"defined locally in source files will be included in the documentation. \n"
"If set to NO only classes defined in header files are included. \n",
- TRUE
+ true
);
cb = addBool(
"EXTRACT_LOCAL_METHODS",
@@ -3574,7 +3561,7 @@ void Config::create()
"methods, which are defined in the implementation section but not in \n"
"the interface are included in the documentation. \n"
"If set to NO (the default) only methods in the interface are included. \n",
- FALSE
+ false
);
cb = addBool(
"EXTRACT_ANON_NSPACES",
@@ -3583,7 +3570,7 @@ void Config::create()
"'anonymous_namespace{file}', where file will be replaced with the base \n"
"name of the file that contains the anonymous namespace. By default \n"
"anonymous namespace are hidden. \n",
- FALSE
+ false
);
cb = addBool(
"HIDE_UNDOC_MEMBERS",
@@ -3592,7 +3579,7 @@ void Config::create()
"If set to NO (the default) these members will be included in the \n"
"various overviews, but no documentation section is generated. \n"
"This option has no effect if EXTRACT_ALL is enabled. \n",
- FALSE
+ false
);
cb = addBool(
"HIDE_UNDOC_CLASSES",
@@ -3600,7 +3587,7 @@ void Config::create()
"undocumented classes that are normally visible in the class hierarchy. \n"
"If set to NO (the default) these classes will be included in the various \n"
"overviews. This option has no effect if EXTRACT_ALL is enabled. \n",
- FALSE
+ false
);
cb = addBool(
"HIDE_FRIEND_COMPOUNDS",
@@ -3608,7 +3595,7 @@ void Config::create()
"friend (class|struct|union) declarations. \n"
"If set to NO (the default) these declarations will be included in the \n"
"documentation. \n",
- FALSE
+ false
);
cb = addBool(
"HIDE_IN_BODY_DOCS",
@@ -3616,7 +3603,7 @@ void Config::create()
"documentation blocks found inside the body of a function. \n"
"If set to NO (the default) these blocks will be appended to the \n"
"function's detailed documentation block. \n",
- FALSE
+ false
);
cb = addBool(
"INTERNAL_DOCS",
@@ -3624,7 +3611,7 @@ void Config::create()
"that is typed after a \\internal command is included. If the tag is set \n"
"to NO (the default) then the documentation will be excluded. \n"
"Set it to YES to include the internal documentation. \n",
- FALSE
+ false
);
cb = addBool(
"CASE_SENSE_NAMES",
@@ -3640,20 +3627,20 @@ void Config::create()
"If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen \n"
"will show members with their full class and namespace scopes in the \n"
"documentation. If set to YES the scope will be hidden. \n",
- FALSE
+ false
);
cb = addBool(
"SHOW_INCLUDE_FILES",
"If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen \n"
"will put a list of the files that are included by a file in the documentation \n"
"of that file. \n",
- TRUE
+ true
);
cb = addBool(
"INLINE_INFO",
"If the INLINE_INFO tag is set to YES (the default) then a tag [inline] \n"
"is inserted in the documentation for inline members. \n",
- TRUE
+ true
);
cb = addBool(
"SORT_MEMBER_DOCS",
@@ -3661,7 +3648,7 @@ void Config::create()
"will sort the (detailed) documentation of file and class members \n"
"alphabetically by member name. If set to NO the members will appear in \n"
"declaration order. \n",
- TRUE
+ true
);
cb = addBool(
"SORT_BRIEF_DOCS",
@@ -3669,14 +3656,14 @@ void Config::create()
"brief documentation of file, namespace and class members alphabetically \n"
"by member name. If set to NO (the default) the members will appear in \n"
"declaration order. \n",
- FALSE
+ false
);
cb = addBool(
"SORT_GROUP_NAMES",
"If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the \n"
"hierarchy of group names into alphabetical order. If set to NO (the default) \n"
"the group names will appear in their defined order. \n",
- FALSE
+ false
);
cb = addBool(
"SORT_BY_SCOPE_NAME",
@@ -3687,7 +3674,7 @@ void Config::create()
"Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.\n"
"Note: This option applies only to the class list, not to the \n"
"alphabetical list.\n",
- FALSE
+ false
);
cb = addBool(
@@ -3695,28 +3682,28 @@ void Config::create()
"The GENERATE_TODOLIST tag can be used to enable (YES) or \n"
"disable (NO) the todo list. This list is created by putting \\todo \n"
"commands in the documentation.\n",
- TRUE
+ true
);
cb = addBool(
"GENERATE_TESTLIST",
"The GENERATE_TESTLIST tag can be used to enable (YES) or \n"
"disable (NO) the test list. This list is created by putting \\test \n"
"commands in the documentation.\n",
- TRUE
+ true
);
cb = addBool(
"GENERATE_BUGLIST",
"The GENERATE_BUGLIST tag can be used to enable (YES) or \n"
"disable (NO) the bug list. This list is created by putting \\bug \n"
"commands in the documentation.\n",
- TRUE
+ true
);
cb = addBool(
"GENERATE_DEPRECATEDLIST",
"The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or \n"
"disable (NO) the deprecated list. This list is created by putting \n"
"\\deprecated commands in the documentation.\n",
- TRUE
+ true
);
cl = addList(
"ENABLED_SECTIONS",
@@ -3739,28 +3726,28 @@ void Config::create()
"Set the SHOW_USED_FILES tag to NO to disable the list of files generated \n"
"at the bottom of the documentation of classes and structs. If set to YES the \n"
"list will mention the files that were used to generate the documentation. \n",
- TRUE
+ true
);
cb = addBool(
"SHOW_DIRECTORIES",
"If the sources in your project are distributed over multiple directories \n"
"then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy \n"
"in the documentation. The default is NO.\n",
- FALSE
+ false
);
cb = addBool(
"SHOW_FILES",
"Set the SHOW_FILES tag to NO to disable the generation of the Files page.\n"
"This will remove the Files entry from the Quick Index and from the \n"
"Folder Tree View (if specified). The default is YES.\n",
- TRUE
+ true
);
cb = addBool(
"SHOW_NAMESPACES",
"Set the SHOW_NAMESPACES tag to NO to disable the generation of the \n"
"Namespaces page. This will remove the Namespaces entry from the Quick Index\n"
"and from the Folder Tree View (if specified). The default is YES.\n",
- TRUE
+ true
);
cs = addString( "FILE_VERSION_FILTER",
"The FILE_VERSION_FILTER tag can be used to specify a program or script that \n"
@@ -3792,21 +3779,21 @@ void Config::create()
"QUIET",
"The QUIET tag can be used to turn on/off the messages that are generated \n"
"by doxygen. Possible values are YES and NO. If left blank NO is used. \n",
- FALSE
+ false
);
cb = addBool(
"WARNINGS",
"The WARNINGS tag can be used to turn on/off the warning messages that are \n"
"generated by doxygen. Possible values are YES and NO. If left blank \n"
"NO is used. \n",
- TRUE
+ true
);
cb = addBool(
"WARN_IF_UNDOCUMENTED",
"If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings \n"
"for undocumented members. If EXTRACT_ALL is set to YES then this flag will \n"
"automatically be disabled. \n",
- TRUE
+ true
);
cb = addBool(
"WARN_IF_DOC_ERROR",
@@ -3814,7 +3801,7 @@ void Config::create()
"potential errors in the documentation, such as not documenting some \n"
"parameters in a documented function, or documenting parameters that \n"
"don't exist or using markup commands wrongly. \n",
- TRUE
+ true
);
cb = addBool( "WARN_NO_PARAMDOC",
"This WARN_NO_PARAMDOC option can be abled to get warnings for \n"
@@ -3822,7 +3809,7 @@ void Config::create()
"or return value. If set to NO (the default) doxygen will only warn about \n"
"wrong or incomplete parameter documentation, but not about the absence of \n"
"documentation.\n",
- FALSE
+ false
);
cs = addString(
"WARN_FORMAT",
@@ -3874,7 +3861,7 @@ void Config::create()
"The RECURSIVE tag can be used to turn specify whether or not subdirectories \n"
"should be searched for input files as well. Possible values are YES and NO. \n"
"If left blank NO is used. \n",
- FALSE
+ false
);
cl = addList(
"EXCLUDE",
@@ -3887,7 +3874,7 @@ void Config::create()
"The EXCLUDE_SYMLINKS tag can be used select whether or not files or \n"
"directories that are symbolic links (a Unix filesystem feature) are excluded \n"
"from the input. \n",
- FALSE
+ false
);
cl->setWidgetType(ConfigList::FileAndDir);
cl = addList(
@@ -3926,7 +3913,7 @@ void Config::create()
"searched for input files to be used with the \\include or \\dontinclude \n"
"commands irrespective of the value of the RECURSIVE tag. \n"
"Possible values are YES and NO. If left blank NO is used. \n",
- FALSE
+ false
);
cl = addList(
"IMAGE_PATH",
@@ -3961,7 +3948,7 @@ void Config::create()
"If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using \n"
"INPUT_FILTER) will be used to filter the input files when producing source \n"
"files to browse (i.e. when SOURCE_BROWSER is set to YES). \n",
- FALSE
+ false
);
//-----------------------------------------------------------------------------------------------
addInfo( "Source Browser","configuration options related to source browsing");
@@ -3972,39 +3959,39 @@ void Config::create()
"be generated. Documented entities will be cross-referenced with these sources. \n"
"Note: To get rid of all source code in the generated output, make sure also \n"
"VERBATIM_HEADERS is set to NO. \n",
- FALSE
+ false
);
cb = addBool(
"INLINE_SOURCES",
"Setting the INLINE_SOURCES tag to YES will include the body \n"
"of functions and classes directly in the documentation. \n",
- FALSE
+ false
);
cb = addBool(
"STRIP_CODE_COMMENTS",
"Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct \n"
"doxygen to hide any special comment blocks from generated source code \n"
"fragments. Normal C and C++ comments will always remain visible. \n",
- TRUE
+ true
);
cb = addBool( "REFERENCED_BY_RELATION",
"If the REFERENCED_BY_RELATION tag is set to YES \n"
"then for each documented function all documented \n"
"functions referencing it will be listed. \n",
- FALSE
+ false
);
cb = addBool( "REFERENCES_RELATION",
"If the REFERENCES_RELATION tag is set to YES \n"
"then for each documented function all documented entities \n"
"called/used by that function will be listed. \n",
- FALSE
+ false
);
cb = addBool( "REFERENCES_LINK_SOURCE",
"If the REFERENCES_LINK_SOURCE tag is set to YES (the default)\n"
"and SOURCE_BROWSER tag is set to YES, then the hyperlinks from\n"
"functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will\n"
"link to the source code. Otherwise they will link to the documentstion.\n",
- TRUE
+ true
);
cb = addBool(
"USE_HTAGS",
@@ -4013,7 +4000,7 @@ void Config::create()
"built-in source browser. The htags tool is part of GNU's global source \n"
"tagging system (see http://www.gnu.org/software/global/global.html). You \n"
"will need version 4.8.6 or higher. \n",
- FALSE
+ false
);
cb->addDependency("SOURCE_BROWSER");
cb = addBool(
@@ -4021,7 +4008,7 @@ void Config::create()
"If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen \n"
"will generate a verbatim copy of the header file for each class for \n"
"which an include is specified. Set to NO to disable this. \n",
- TRUE
+ true
);
//-----------------------------------------------------------------------------------------------
@@ -4033,7 +4020,7 @@ void Config::create()
"If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index \n"
"of all compounds will be generated. Enable this if the project \n"
"contains a lot of classes, structs, unions or interfaces. \n",
- FALSE
+ false
);
ci = addInt(
"COLS_IN_ALPHA_INDEX",
@@ -4056,7 +4043,7 @@ void Config::create()
"GENERATE_HTML",
"If the GENERATE_HTML tag is set to YES (the default) Doxygen will \n"
"generate HTML output. \n",
- TRUE
+ true
);
cs = addString(
"HTML_OUTPUT",
@@ -4107,7 +4094,7 @@ void Config::create()
"If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, \n"
"files or namespaces will be aligned in HTML using tables. If set to \n"
"NO a bullet list will be used. \n",
- TRUE
+ true
);
cb->addDependency("GENERATE_HTML");
cb = addBool(
@@ -4117,7 +4104,7 @@ void Config::create()
"page has loaded. For this to work a browser that supports \n"
"JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox \n"
"Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_HTML");
@@ -4136,7 +4123,7 @@ void Config::create()
"it at startup. \n"
"See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html "
"for more information. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_HTML");
cs = addString(
@@ -4168,7 +4155,7 @@ void Config::create()
"will be generated that can be used as input for tools like the \n"
"Microsoft HTML help workshop to generate a compiled HTML help file (.chm) \n"
"of the generated HTML documentation. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_HTML");
cs = addString(
@@ -4224,7 +4211,7 @@ void Config::create()
"If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag \n"
"controls if a separate .chi index file is generated (YES) or that \n"
"it should be included in the master .chm file (NO).\n",
- FALSE
+ false
);
cb->addDependency("GENERATE_HTML");
cs = addString(
@@ -4239,14 +4226,14 @@ void Config::create()
"If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag \n"
"controls whether a binary table of contents is generated (YES) or a \n"
"normal table of contents (NO) in the .chm file.\n",
- FALSE
+ false
);
cb->addDependency("GENERATE_HTML");
cb = addBool(
"TOC_EXPAND",
"The TOC_EXPAND flag can be set to YES to add extra items for group members \n"
"to the contents of the HTML help documentation and to the tree view. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_HTML");
@@ -4260,7 +4247,7 @@ void Config::create()
"are set, an additional index file will be generated that can be used as input for \n"
"TQt's qhelpgenerator to generate a TQt Compressed Help (.qch) of the generated \n"
"HTML documentation. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_HTML");
cs = addString(
@@ -4330,7 +4317,7 @@ void Config::create()
"The DISABLE_INDEX tag can be used to turn on/off the condensed index at \n"
"top of each HTML page. The value NO (the default) enables the index and \n"
"the value YES disables it. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_HTML");
ci = addInt(
@@ -4389,7 +4376,7 @@ void Config::create()
"GENERATE_LATEX",
"If the GENERATE_LATEX tag is set to YES (the default) Doxygen will \n"
"generate Latex output. \n",
- TRUE
+ true
);
cs = addString(
"LATEX_OUTPUT",
@@ -4432,7 +4419,7 @@ void Config::create()
"If the COMPACT_LATEX tag is set to YES Doxygen generates more compact \n"
"LaTeX documents. This may be useful for small projects and may help to \n"
"save some trees in general. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_LATEX");
ce = addEnum(
@@ -4469,7 +4456,7 @@ void Config::create()
"is prepared for conversion to pdf (using ps2pdf). The pdf file will \n"
"contain links (just like the HTML output) instead of page references \n"
"This makes the output suitable for online browsing using a pdf viewer. \n",
- TRUE
+ true
);
cb->addDependency("GENERATE_LATEX");
cb = addBool(
@@ -4477,7 +4464,7 @@ void Config::create()
"If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of \n"
"plain latex in the generated Makefile. Set this option to YES to get a \n"
"higher quality PDF documentation. \n",
- TRUE
+ true
);
cb->addDependency("GENERATE_LATEX");
cb = addBool(
@@ -4486,7 +4473,7 @@ void Config::create()
"command to the generated LaTeX files. This will instruct LaTeX to keep \n"
"running if errors occur, instead of asking the user for help. \n"
"This option is also used when generating formulas in HTML. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_LATEX");
cb = addBool(
@@ -4494,7 +4481,7 @@ void Config::create()
"If LATEX_HIDE_INDICES is set to YES then doxygen will not \n"
"include the index chapters (such as File Index, Compound Index, etc.) \n"
"in the output. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_LATEX");
//-----------------------------------------------------------------------------------------------
@@ -4505,7 +4492,7 @@ void Config::create()
"If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output \n"
"The RTF output is optimized for Word 97 and may not look very pretty with \n"
"other RTF readers or editors.\n",
- FALSE
+ false
);
cs = addString(
"RTF_OUTPUT",
@@ -4531,7 +4518,7 @@ void Config::create()
"If the COMPACT_RTF tag is set to YES Doxygen generates more compact \n"
"RTF documents. This may be useful for small projects and may help to \n"
"save some trees in general. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_RTF");
cb = addBool(
@@ -4542,7 +4529,7 @@ void Config::create()
"This makes the output suitable for online browsing using WORD or other \n"
"programs which support those fields. \n"
"Note: wordpad (write) and others do not support links. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_RTF");
cs = addString(
@@ -4568,7 +4555,7 @@ void Config::create()
"GENERATE_MAN",
"If the GENERATE_MAN tag is set to YES (the default) Doxygen will \n"
"generate man pages \n",
- FALSE
+ false
);
cs = addString(
"MAN_OUTPUT",
@@ -4593,7 +4580,7 @@ void Config::create()
"documented in the real man page(s). These additional files \n"
"only source the real man page, but without them the man command \n"
"would be unable to find the correct page. The default is NO. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_MAN");
//-----------------------------------------------------------------------------------------------
@@ -4604,7 +4591,7 @@ void Config::create()
"If the GENERATE_XML tag is set to YES Doxygen will \n"
"generate an XML file that captures the structure of \n"
"the code including all documentation. \n",
- FALSE
+ false
);
cs = addString(
"XML_OUTPUT",
@@ -4635,7 +4622,7 @@ void Config::create()
"dump the program listings (including syntax highlighting \n"
"and cross-referencing information) to the XML output. Note that \n"
"enabling this will significantly increase the size of the XML output. \n",
- TRUE
+ true
);
cb->addDependency("GENERATE_XML");
@@ -4650,7 +4637,7 @@ void Config::create()
"documentation. Note that this feature is still experimental \n"
"and incomplete at the moment. \n",
- FALSE );
+ false );
//-----------------------------------------------------------------------------------------------
addInfo( "PerlMod","configuration options related to the Perl module output");
//-----------------------------------------------------------------------------------------------
@@ -4661,14 +4648,14 @@ void Config::create()
"the code including all documentation. Note that this \n"
"feature is still experimental and incomplete at the \n"
"moment. \n",
- FALSE
+ false
);
cb = addBool(
"PERLMOD_LATEX",
"If the PERLMOD_LATEX tag is set to YES Doxygen will generate \n"
"the necessary Makefile rules, Perl scripts and LaTeX code to be able \n"
"to generate PDF and DVI output from the Perl module output. \n",
- FALSE
+ false
);
cb->addDependency("GENERATE_PERLMOD");
cb = addBool(
@@ -4678,7 +4665,7 @@ void Config::create()
"if you want to understand what is going on. On the other hand, if this \n"
"tag is set to NO the size of the Perl module output will be much smaller \n"
"and Perl will parse it just the same. \n",
- TRUE
+ true
);
cb->addDependency("GENERATE_PERLMOD");
cs = addString(
@@ -4698,7 +4685,7 @@ void Config::create()
"If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will \n"
"evaluate all C-preprocessor directives found in the sources and include \n"
"files. \n",
- TRUE
+ true
);
cb = addBool(
"MACRO_EXPANSION",
@@ -4706,7 +4693,7 @@ void Config::create()
"names in the source code. If set to NO (the default) only conditional \n"
"compilation will be performed. Macro expansion can be done in a controlled \n"
"way by setting EXPAND_ONLY_PREDEF to YES. \n",
- FALSE
+ false
);
cb->addDependency("ENABLE_PREPROCESSING");
cb = addBool(
@@ -4714,14 +4701,14 @@ void Config::create()
"If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES \n"
"then the macro expansion is limited to the macros specified with the \n"
"PREDEFINED and EXPAND_AS_DEFINED tags. \n",
- FALSE
+ false
);
cb->addDependency("ENABLE_PREPROCESSING");
cb = addBool(
"SEARCH_INCLUDES",
"If the SEARCH_INCLUDES tag is set to YES (the default) the includes files \n"
"in the INCLUDE_PATH (see below) will be search if a #include is found. \n",
- TRUE
+ true
);
cb->addDependency("ENABLE_PREPROCESSING");
cl = addList(
@@ -4766,7 +4753,7 @@ void Config::create()
"on a line, have an all uppercase name, and do not end with a semicolon. Such \n"
"function macros are typically used for boiler-plate code, and will confuse \n"
"the parser if not removed. \n",
- TRUE
+ true
);
cb->addDependency("ENABLE_PREPROCESSING");
//-----------------------------------------------------------------------------------------------
@@ -4801,14 +4788,14 @@ void Config::create()
"If the ALLEXTERNALS tag is set to YES all external classes will be listed \n"
"in the class index. If set to NO only the inherited external classes \n"
"will be listed. \n",
- FALSE
+ false
);
cb = addBool(
"EXTERNAL_GROUPS",
"If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed \n"
"in the modules index. If set to NO, only the current project's groups will \n"
"be listed. \n",
- TRUE
+ true
);
cs = addString(
"PERL_PATH",
@@ -4829,7 +4816,7 @@ void Config::create()
"this option is superseded by the HAVE_DOT option below. This is only a \n"
"fallback. It is recommended to install and use dot, since it yields more \n"
"powerful graphs. \n",
- TRUE
+ true
);
cs = addString( "MSCGEN_PATH",
"You can define message sequence charts within doxygen comments using the \\msc \n"
@@ -4844,7 +4831,7 @@ void Config::create()
"If set to YES, the inheritance and collaboration graphs will hide \n"
"inheritance and usage relations if the target is undocumented \n"
"or is not a class. \n",
- TRUE
+ true
);
cb = addBool(
"HAVE_DOT",
@@ -4852,7 +4839,7 @@ void Config::create()
"available from the path. This tool is part of Graphviz, a graph visualization \n"
"toolkit from AT&T and Lucent Bell Labs. The other options in this section \n"
"have no effect if this option is set to NO (the default) \n",
- FALSE
+ false
);
cs = addString( "DOT_FONTNAME",
"By default doxygen will write a font called FreeSans.ttf to the output \n"
@@ -4885,7 +4872,7 @@ void Config::create()
"will generate a graph for each documented class showing the direct and \n"
"indirect inheritance relations. Setting this tag to YES will force the \n"
"the CLASS_DIAGRAMS tag to NO.\n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -4894,14 +4881,14 @@ void Config::create()
"will generate a graph for each documented class showing the direct and \n"
"indirect implementation dependencies (inheritance, containment, and \n"
"class references variables) of the class with other documented classes. \n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
cb = addBool(
"GROUP_GRAPHS",
"If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen \n"
"will generate a graph for groups, showing the direct groups dependencies\n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -4909,14 +4896,14 @@ void Config::create()
"If the UML_LOOK tag is set to YES doxygen will generate inheritance and \n"
"collaboration diagrams in a style similar to the OMG's Unified Modeling \n"
"Language. \n",
- FALSE
+ false
);
cb->addDependency("HAVE_DOT");
cb = addBool(
"TEMPLATE_RELATIONS",
"If set to YES, the inheritance and collaboration graphs will show the \n"
"relations between templates and their instances. \n",
- FALSE
+ false
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -4925,7 +4912,7 @@ void Config::create()
"tags are set to YES then doxygen will generate a graph for each documented \n"
"file showing the direct and indirect include dependencies of the file with \n"
"other documented files. \n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -4934,7 +4921,7 @@ void Config::create()
"HAVE_DOT tags are set to YES then doxygen will generate a graph for each \n"
"documented header file showing the documented files that directly or \n"
"indirectly include this file. \n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -4944,7 +4931,7 @@ void Config::create()
"or class method. Note that enabling this option will significantly increase \n"
"the time of a run. So in most cases it will be better to enable call graphs \n"
"for selected functions only using the \\callgraph command.\n",
- FALSE
+ false
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -4954,14 +4941,14 @@ void Config::create()
"or class method. Note that enabling this option will significantly increase \n"
"the time of a run. So in most cases it will be better to enable caller \n"
"graphs for selected functions only using the \\callergraph command.\n",
- FALSE
+ false
);
cb->addDependency("HAVE_DOT");
cb = addBool(
"GRAPHICAL_HIERARCHY",
"If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen \n"
"will graphical hierarchy of all classes instead of a textual one. \n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -4970,7 +4957,7 @@ void Config::create()
"then doxygen will show the dependencies a directory has on other directories \n"
"in a graphical way. The dependency relations are determined by the #include\n"
"relations between the files in the directories.\n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
ce = addEnum(
@@ -5032,7 +5019,7 @@ void Config::create()
"seem to support this out of the box. Warning: Depending on the platform used, \n"
"enabling this option may lead to badly anti-aliased labels on the edges of \n"
"a graph (i.e. they become hard to read). \n",
- FALSE
+ false
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -5041,7 +5028,7 @@ void Config::create()
"files in one run (i.e. multiple -o and -T options on the command line). This \n"
"makes dot run faster, but since only newer versions of dot (>1.8.10) \n"
"support this, this feature is disabled by default. \n",
- FALSE
+ false
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -5049,7 +5036,7 @@ void Config::create()
"If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will \n"
"generate a legend page explaining the meaning of the various boxes and \n"
"arrows in the dot generated graphs. \n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
cb = addBool(
@@ -5057,7 +5044,7 @@ void Config::create()
"If the DOT_CLEANUP tag is set to YES (the default) Doxygen will \n"
"remove the intermediate dot files that are used to generate \n"
"the various graphs. \n",
- TRUE
+ true
);
cb->addDependency("HAVE_DOT");
@@ -5068,7 +5055,7 @@ void Config::create()
"SEARCHENGINE",
"The SEARCHENGINE tag specifies whether or not a search engine should be \n"
"used. If set to NO the values of all tags below this one will be ignored. \n",
- FALSE
+ false
);
addObsolete("CGI_NAME");
addObsolete("CGI_URL");
@@ -5085,7 +5072,7 @@ static TQCString configFileToString(const char *name)
if (name==0 || name[0]==0) return 0;
TQFile f;
- bool fileOpened=FALSE;
+ bool fileOpened=false;
if (name[0]=='-' && name[1]==0) // read from stdin
{
fileOpened=f.open(IO_ReadOnly,stdin);
@@ -5145,14 +5132,14 @@ bool Config::parseString(const char *fn,const char *str)
inputPosition = 0;
yyFileName = fn;
yyLineNr = 1;
- includeStack.setAutoDelete(TRUE);
+ includeStack.setAutoDelete(true);
includeStack.clear();
includeDepth = 0;
configYYrestart( configYYin );
BEGIN( Start );
configYYlex();
inputString = 0;
- return TRUE;
+ return true;
}
bool Config::parse(const char *fn)
diff --git a/parts/doxygen/config.h b/parts/doxygen/config.h
index 2486956e..d48e9888 100644
--- a/parts/doxygen/config.h
+++ b/parts/doxygen/config.h
@@ -505,7 +505,7 @@ class Config
/*! @} */
/*! Writes a template configuration to stream \a t. If \a shortIndex
- * is \c TRUE the description of each configuration option will
+ * is \c true the description of each configuration option will
* be omitted.
*/
void writeTemplate(TQTextStream &t,bool shortIndex,bool updateOnly);
@@ -533,13 +533,13 @@ class Config
void init();
/*! Parse a configuration data in string \a str.
- * \returns TRUE if successful, or FALSE if the string could not be
+ * \returns true if successful, or false if the string could not be
* parsed.
*/
bool parseString(const char *fn,const char *str);
/*! Parse a configuration file with name \a fn.
- * \returns TRUE if successful, FALSE if the file could not be
+ * \returns true if successful, false if the file could not be
* opened or read.
*/
bool parse(const char *fn);
@@ -556,9 +556,9 @@ class Config
m_options = new TQPtrList<ConfigOption>;
m_obsolete = new TQPtrList<ConfigOption>;
m_dict = new TQDict<ConfigOption>(257);
- m_options->setAutoDelete(TRUE);
- m_obsolete->setAutoDelete(TRUE);
- m_initialized = FALSE;
+ m_options->setAutoDelete(true);
+ m_obsolete->setAutoDelete(true);
+ m_initialized = false;
create();
}
~Config()
diff --git a/parts/doxygen/doxygenconfigwidget.cpp b/parts/doxygen/doxygenconfigwidget.cpp
index b880b6f2..1f2a36c4 100644
--- a/parts/doxygen/doxygenconfigwidget.cpp
+++ b/parts/doxygen/doxygenconfigwidget.cpp
@@ -68,7 +68,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
sm // type
);
TQWhatsThis::add(inputString, option->docs().simplifyWhiteSpace());
- connect(inputString, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputString, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(), inputString);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -86,7 +86,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
for (sli.toFirst(); sli.current(); ++sli)
inputString->addValue(sli.current());
TQWhatsThis::add(inputString, option->docs().simplifyWhiteSpace());
- connect(inputString, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputString, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(),inputString);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -109,7 +109,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
lm // type
);
TQWhatsThis::add(inputStrList, option->docs().simplifyWhiteSpace());
- connect(inputStrList, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputStrList, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(),inputStrList);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -124,7 +124,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
*((ConfigBool *)option)->valueRef() // variable
);
TQWhatsThis::add(inputBool, option->docs().simplifyWhiteSpace());
- connect(inputBool, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputBool, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(), inputBool);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -140,7 +140,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
((ConfigInt *)option)->maxVal() // max value
);
TQWhatsThis::add(inputInt, option->docs().simplifyWhiteSpace());
- connect(inputInt, TQT_SIGNAL(changed()), this, TQT_SLOT(changed()));
+ connect(inputInt, TQ_SIGNAL(changed()), this, TQ_SLOT(changed()));
m_inputWidgets->insert(option->name(), inputInt);
addDependency(m_switches, option->dependsOn(), option->name());
}
@@ -153,7 +153,7 @@ DoxygenConfigWidget::DoxygenConfigWidget(const TQString &fileName, TQWidget *par
TQDictIterator<TQObject> di(*m_switches);
for (; di.current(); ++di) {
TQObject *obj = di.current();
- connect(obj, TQT_SIGNAL(toggle(const TQString&, bool)), this, TQT_SLOT(toggle(const TQString&, bool)));
+ connect(obj, TQ_SIGNAL(toggle(const TQString&, bool)), this, TQ_SLOT(toggle(const TQString&, bool)));
// UGLY HACK: assumes each item depends on a boolean without checking!
emit toggle(di.currentKey(), ((InputBool *)obj)->getState());
}
@@ -226,7 +226,7 @@ void DoxygenConfigWidget::init()
TQDictIterator<TQObject> dio(*m_switches);
for (; dio.current(); ++dio) {
TQObject *obj = dio.current();
- connect(obj, TQT_SIGNAL(toggle(const TQString&, bool)), this, TQT_SLOT(toggle(const TQString&, bool)));
+ connect(obj, TQ_SIGNAL(toggle(const TQString&, bool)), this, TQ_SLOT(toggle(const TQString&, bool)));
// UGLY HACK: assumes each item depends on a boolean without checking!
emit toggle(dio.currentKey(), ((InputBool *)obj)->getState());
}
diff --git a/parts/doxygen/doxygenpart.cpp b/parts/doxygen/doxygenpart.cpp
index 36d41e8d..863f6176 100644
--- a/parts/doxygen/doxygenpart.cpp
+++ b/parts/doxygen/doxygenpart.cpp
@@ -59,32 +59,32 @@ DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList
TDEAction *action;
action = new TDEAction( i18n("Build API Documentation"), 0,
- this, TQT_SLOT(slotDoxygen()),
+ this, TQ_SLOT(slotDoxygen()),
actionCollection(), "build_doxygen" );
action->setToolTip(i18n("Build API documentation"));
action->setWhatsThis(i18n("<b>Build API documentation</b><p>Runs doxygen on a project Doxyfile to generate API documentation. "
"If the search engine is enabled in Doxyfile, this also runs doxytag to create it."));
action = new TDEAction( i18n("Clean API Documentation"), 0,
- this, TQT_SLOT(slotDoxClean()),
+ this, TQ_SLOT(slotDoxClean()),
actionCollection(), "clean_doxygen" );
action->setToolTip(i18n("Clean API documentation"));
action->setWhatsThis(i18n("<b>Clean API documentation</b><p>Removes all generated by doxygen files."));
-// connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
+// connect( core(), TQ_SIGNAL(projectConfigWidget(KDialogBase*)), this, TQ_SLOT(projectConfigWidget(KDialogBase*)) );
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("Doxygen"), PROJECTOPTIONS, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- m_actionDocumentFunction = new TDEAction(i18n("Document Current Function"), 0, CTRL+SHIFT+Key_S, this, TQT_SLOT(slotDocumentFunction()), actionCollection(), "edit_document_function");
+ m_actionDocumentFunction = new TDEAction(i18n("Document Current Function"), 0, CTRL+SHIFT+Key_S, this, TQ_SLOT(slotDocumentFunction()), actionCollection(), "edit_document_function");
m_actionDocumentFunction->setToolTip( i18n("Create a documentation template above a function"));
m_actionDocumentFunction->setWhatsThis(i18n("<b>Document Current Function</b><p>Creates a documentation template according to a function's signature above a function definition/declaration."));
m_tmpDir.setAutoDelete(true);
- connect( partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), this, TQT_SLOT(slotActivePartChanged(KParts::Part* )));
- m_actionPreview = new TDEAction(i18n("Preview Doxygen Output"), 0, CTRL+ALT+Key_P, this, TQT_SLOT(slotRunPreview()), actionCollection(), "show_preview_doxygen_output");
+ connect( partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)), this, TQ_SLOT(slotActivePartChanged(KParts::Part* )));
+ m_actionPreview = new TDEAction(i18n("Preview Doxygen Output"), 0, CTRL+ALT+Key_P, this, TQ_SLOT(slotRunPreview()), actionCollection(), "show_preview_doxygen_output");
m_actionPreview->setToolTip( i18n("Show a preview of the Doxygen output of this file") );
m_actionPreview->setWhatsThis( i18n("<b>Preview Doxygen output</b><p>Runs Doxygen over the current file and shows the created index.html.") );
@@ -116,7 +116,7 @@ void DoxygenPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page,
adjustDoxyfile();
DoxygenConfigWidget *w = new DoxygenConfigWidget(project()->projectDirectory() + "/Doxyfile", page );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}
}
@@ -249,10 +249,10 @@ void DoxygenPart::slotDoxygen()
{
// get input files
outputDirectory = Config_getString("OUTPUT_DIRECTORY");
- if ( outputDirectory.isEmpty() == false )
+ if ( !outputDirectory.isEmpty() )
outputDirectory += "/";
htmlDirectory = Config_getString("HTML_OUTPUT");
- if ( htmlDirectory.isEmpty() == true )
+ if ( htmlDirectory.isEmpty() )
htmlDirectory = "html";
htmlDirectory.prepend(outputDirectory);
}
@@ -474,7 +474,7 @@ void DoxygenPart::slotRunPreview( )
if (pStyle != 0 && !stylesheet.isNull())
*pStyle->valueRef() = stylesheet;
- connect(appFrontend, TQT_SIGNAL(processExited()), this, TQT_SLOT(slotPreviewProcessExited()));
+ connect(appFrontend, TQ_SIGNAL(processExited()), this, TQ_SLOT(slotPreviewProcessExited()));
appFrontend->startAppCommand("", "doxygen \"" + file.name() + "\"", false);
}
diff --git a/parts/doxygen/doxygenpart.h b/parts/doxygen/doxygenpart.h
index 47d215ca..ea734510 100644
--- a/parts/doxygen/doxygenpart.h
+++ b/parts/doxygen/doxygenpart.h
@@ -16,7 +16,7 @@
#include <tqguardedptr.h>
#include <kdialogbase.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <ktempdir.h>
#include <tqstring.h>
diff --git a/parts/doxygen/input.cpp b/parts/doxygen/input.cpp
index 1194d0bc..703525f3 100644
--- a/parts/doxygen/input.cpp
+++ b/parts/doxygen/input.cpp
@@ -121,7 +121,7 @@ InputBool::InputBool(const TQCString &k, const TQString &text, TQWidget * parent
layout->addWidget(cb);
layout->addStretch(1);
- connect( cb, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(valueChanged(bool)));
+ connect( cb, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(valueChanged(bool)));
}
@@ -165,7 +165,7 @@ InputInt::InputInt(const TQString &label, TQWidget *parent, int &val, int minVal
layout->addWidget(sp);
layout->addStretch(1);
- connect(sp, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(valueChanged(int)));
+ connect(sp, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(valueChanged(int)));
}
@@ -226,13 +226,13 @@ InputString::InputString(const TQString & label,
}
if (le)
- connect( le, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(textChanged(const TQString&)) );
+ connect( le, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(textChanged(const TQString&)) );
if (br)
- connect( br, TQT_SIGNAL(clicked()), this, TQT_SLOT(browse()) );
+ connect( br, TQ_SIGNAL(clicked()), this, TQ_SLOT(browse()) );
if (com)
- connect( com, TQT_SIGNAL(activated(const TQString &)),
- this, TQT_SLOT(textChanged(const TQString &)) );
+ connect( com, TQ_SIGNAL(activated(const TQString &)),
+ this, TQ_SLOT(textChanged(const TQString &)) );
}
InputString::~InputString()
@@ -376,22 +376,22 @@ InputStrList::InputStrList(const TQString & label,
layout->addWidget(dw, 0, 1);
layout->addWidget(lb, 1, 1);
- connect( le, TQT_SIGNAL(returnPressed()),
- this, TQT_SLOT(addString()) );
- connect( add, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(addString()) );
- connect( del, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(delString()) );
- connect( upd, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(updateString()) );
+ connect( le, TQ_SIGNAL(returnPressed()),
+ this, TQ_SLOT(addString()) );
+ connect( add, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(addString()) );
+ connect( del, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(delString()) );
+ connect( upd, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(updateString()) );
if (brFile)
- connect( brFile, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(browseFiles()) );
+ connect( brFile, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(browseFiles()) );
if (brDir)
- connect( brDir, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(browseDir()) );
- connect( lb, TQT_SIGNAL(selected(const TQString &)),
- this, TQT_SLOT(selectText(const TQString &)) );
+ connect( brDir, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(browseDir()) );
+ connect( lb, TQ_SIGNAL(selected(const TQString &)),
+ this, TQ_SLOT(selectText(const TQString &)) );
strList = sl;
}
diff --git a/parts/doxygen/input.h b/parts/doxygen/input.h
index ae4a2d55..97599f37 100644
--- a/parts/doxygen/input.h
+++ b/parts/doxygen/input.h
@@ -44,7 +44,7 @@ public:
void init();
virtual void setEnabled(bool b);
- virtual TQObject *qobject() { return TQT_TQOBJECT(this); }
+ virtual TQObject *qobject() { return this; }
virtual bool getState() const { return state; }
signals:
@@ -73,7 +73,7 @@ public:
void init();
virtual void setEnabled(bool);
- TQObject *qobject() { return TQT_TQOBJECT(this); }
+ TQObject *qobject() { return this; }
signals:
void changed();
@@ -109,7 +109,7 @@ public:
void init();
void addValue(const char *s);
void setEnabled(bool);
- TQObject *qobject() { return TQT_TQOBJECT(this); }
+ TQObject *qobject() { return this; }
signals:
void changed();
@@ -149,7 +149,7 @@ public:
void init();
void setEnabled(bool);
- TQObject *qobject() { return TQT_TQOBJECT(this); }
+ TQObject *qobject() { return this; }
signals:
void changed();
diff --git a/parts/filecreate/addglobaldlg.cpp b/parts/filecreate/addglobaldlg.cpp
index c8c1676b..6ee3733d 100644
--- a/parts/filecreate/addglobaldlg.cpp
+++ b/parts/filecreate/addglobaldlg.cpp
@@ -25,7 +25,7 @@
* name 'name' and widget flags set to 'f'.
*
* The dialog will by default be modeless, unless you set 'modal' to
- * TRUE to construct a modal dialog.
+ * true to construct a modal dialog.
*/
AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFlags fl )
: TQDialog( parent, name, modal, fl )
@@ -33,24 +33,24 @@ AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFla
{
if ( !name )
setName( "AddGlobalDlg" );
- setSizeGripEnabled( TRUE );
+ setSizeGripEnabled( true );
AddGlobalDlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "AddGlobalDlgLayout");
Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1");
buttonHelp = new KPushButton( this, "buttonHelp" );
- buttonHelp->setAutoDefault( TRUE );
+ buttonHelp->setAutoDefault( true );
Layout1->addWidget( buttonHelp );
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
Layout1->addItem( spacer );
buttonOk = new KPushButton( this, "buttonOk" );
- buttonOk->setAutoDefault( TRUE );
- buttonOk->setDefault( TRUE );
+ buttonOk->setAutoDefault( true );
+ buttonOk->setDefault( true );
Layout1->addWidget( buttonOk );
buttonCancel = new KPushButton( this, "buttonCancel" );
- buttonCancel->setAutoDefault( TRUE );
+ buttonCancel->setAutoDefault( true );
Layout1->addWidget( buttonCancel );
AddGlobalDlgLayout->addLayout( Layout1, 1, 0 );
@@ -62,8 +62,8 @@ AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFla
fcglobal_view->addColumn( i18n( "Icon" ) );
fcglobal_view->addColumn( i18n( "Description" ) );
fcglobal_view->setResizePolicy( TQListView::AutoOne );
- fcglobal_view->setAllColumnsShowFocus( TRUE );
- fcglobal_view->setRootIsDecorated( TRUE );
+ fcglobal_view->setAllColumnsShowFocus( true );
+ fcglobal_view->setRootIsDecorated( true );
fcglobal_view->setResizeMode( TQListView::AllColumns );
AddGlobalDlgLayout->addWidget( fcglobal_view, 0, 0 );
@@ -71,8 +71,8 @@ AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFla
resize( TQSize(511, 282).expandedTo(minimumSizeHint()) );
// signals and slots connections
- connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
- connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
+ connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
+ connect( buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
}
/*
diff --git a/parts/filecreate/addglobaldlg.h b/parts/filecreate/addglobaldlg.h
index 762296e7..59fb33d7 100644
--- a/parts/filecreate/addglobaldlg.h
+++ b/parts/filecreate/addglobaldlg.h
@@ -26,7 +26,7 @@ class AddGlobalDlg : public TQDialog
public:
- AddGlobalDlg( TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ AddGlobalDlg( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~AddGlobalDlg();
TQPushButton* buttonHelp;
diff --git a/parts/filecreate/fcconfigwidget.cpp b/parts/filecreate/fcconfigwidget.cpp
index 024891a9..d5427fab 100644
--- a/parts/filecreate/fcconfigwidget.cpp
+++ b/parts/filecreate/fcconfigwidget.cpp
@@ -20,7 +20,7 @@
#include <klineedit.h>
#include <tqlabel.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdeio/netaccess.h>
#include <kurlrequester.h>
#include <kicondialog.h>
@@ -42,8 +42,8 @@
FCConfigWidget::FCConfigWidget(FileCreatePart * part, bool global, TQWidget *parent, const char *name):
FCConfigWidgetBase(parent, name), m_part(part), m_global(global)
{
- fc_view->setSorting(-1, FALSE);
- fcglobal_view->setSorting(-1, FALSE);
+ fc_view->setSorting(-1, false);
+ fcglobal_view->setSorting(-1, false);
if (m_global)
{
diff --git a/parts/filecreate/fcconfigwidgetbase.ui b/parts/filecreate/fcconfigwidgetbase.ui
index be039483..7c710cb5 100644
--- a/parts/filecreate/fcconfigwidgetbase.ui
+++ b/parts/filecreate/fcconfigwidgetbase.ui
@@ -520,7 +520,7 @@
<variables>
<variable>AddGlobalDlg *global_dlg;</variable>
</variables>
-<Q_SLOTS>
+<slots>
<slot>removetemplate_button_clicked()</slot>
<slot>copyToProject_button_clicked()</slot>
<slot>newtype_button_clicked()</slot>
@@ -534,7 +534,7 @@
<slot>edit_template_contents_button_clicked()</slot>
<slot>edit_template_content_button_clicked()</slot>
<slot>edit_type_content_button_clicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/parts/filecreate/fctemplateedit.cpp b/parts/filecreate/fctemplateedit.cpp
index b019ddb9..878d7c7a 100644
--- a/parts/filecreate/fctemplateedit.cpp
+++ b/parts/filecreate/fctemplateedit.cpp
@@ -14,8 +14,8 @@
FCTemplateEdit::FCTemplateEdit(TQWidget *parent, const char *name):
FCTemplateEditBase(parent, name)
{
- connect( templatename_edit, TQT_SIGNAL(textChanged ( const TQString & )),
- this, TQT_SLOT( slotTemplateNameChanged( )));
+ connect( templatename_edit, TQ_SIGNAL(textChanged ( const TQString & )),
+ this, TQ_SLOT( slotTemplateNameChanged( )));
slotTemplateNameChanged();
}
diff --git a/parts/filecreate/fctemplateeditbase.ui b/parts/filecreate/fctemplateeditbase.ui
index 6e34899d..a208ab49 100644
--- a/parts/filecreate/fctemplateeditbase.ui
+++ b/parts/filecreate/fctemplateeditbase.ui
@@ -176,9 +176,9 @@
<tabstop>ok_button</tabstop>
<tabstop>cancel_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>init()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/parts/filecreate/fctemplateeditbase.ui.h b/parts/filecreate/fctemplateeditbase.ui.h
index 5750f988..66296b44 100644
--- a/parts/filecreate/fctemplateeditbase.ui.h
+++ b/parts/filecreate/fctemplateeditbase.ui.h
@@ -22,5 +22,5 @@
void FCTemplateEditBase::init()
{
- templatename_edit->setValidator(new TQRegExpValidator(TQRegExp("^\\S*$"), TQT_TQOBJECT(this)));
+ templatename_edit->setValidator(new TQRegExpValidator(TQRegExp("^\\S*$"), this));
}
diff --git a/parts/filecreate/fctypeedit.cpp b/parts/filecreate/fctypeedit.cpp
index 5ee4eb0d..63d73248 100644
--- a/parts/filecreate/fctypeedit.cpp
+++ b/parts/filecreate/fctypeedit.cpp
@@ -16,8 +16,8 @@
FCTypeEdit::FCTypeEdit(TQWidget *parent, char *name)
: FCTypeEditBase(parent, name)
{
- connect( typeext_edit, TQT_SIGNAL( textChanged ( const TQString & )),this, TQT_SLOT( slotTypeEditTextChanged()));
- connect( typename_edit, TQT_SIGNAL( textChanged ( const TQString & )),this, TQT_SLOT( slotTypeEditTextChanged( )));
+ connect( typeext_edit, TQ_SIGNAL( textChanged ( const TQString & )),this, TQ_SLOT( slotTypeEditTextChanged()));
+ connect( typename_edit, TQ_SIGNAL( textChanged ( const TQString & )),this, TQ_SLOT( slotTypeEditTextChanged( )));
slotTypeEditTextChanged( );
}
diff --git a/parts/filecreate/fctypeeditbase.ui b/parts/filecreate/fctypeeditbase.ui
index 53fe4203..62198bda 100644
--- a/parts/filecreate/fctypeeditbase.ui
+++ b/parts/filecreate/fctypeeditbase.ui
@@ -263,9 +263,9 @@
<tabstop>ok_button</tabstop>
<tabstop>cancel_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>init()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/parts/filecreate/fctypeeditbase.ui.h b/parts/filecreate/fctypeeditbase.ui.h
index 07576b6b..0ddc4f1e 100644
--- a/parts/filecreate/fctypeeditbase.ui.h
+++ b/parts/filecreate/fctypeeditbase.ui.h
@@ -22,5 +22,5 @@
void FCTypeEditBase::init()
{
- typeext_edit->setValidator(new TQRegExpValidator(TQRegExp("^\\S*$"), TQT_TQOBJECT(this)));
+ typeext_edit->setValidator(new TQRegExpValidator(TQRegExp("^\\S*$"), this));
}
diff --git a/parts/filecreate/file-templates/ui-mainwin b/parts/filecreate/file-templates/ui-mainwin
index 5ce4dec8..62d6d51a 100644
--- a/parts/filecreate/file-templates/ui-mainwin
+++ b/parts/filecreate/file-templates/ui-mainwin
@@ -400,7 +400,7 @@
<slot>helpAbout()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>fileNew()</slot>
<slot>fileOpen()</slot>
<slot>fileSave()</slot>
@@ -416,6 +416,6 @@
<slot>helpIndex()</slot>
<slot>helpContents()</slot>
<slot>helpAbout()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/parts/filecreate/filecreate_filedialog.cpp b/parts/filecreate/filecreate_filedialog.cpp
index 3aa86c96..0a500dd5 100644
--- a/parts/filecreate/filecreate_filedialog.cpp
+++ b/parts/filecreate/filecreate_filedialog.cpp
@@ -30,8 +30,8 @@ namespace FileCreate {
m_extraWidget = extraWidget;
m_typeChooser = dynamic_cast<TypeChooser*>(extraWidget);
- connect(this, TQT_SIGNAL(filterChanged(const TQString &)), this, TQT_SLOT(slotActionFilterChanged(const TQString &)) );
- connect(locationEdit, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotActionTextChanged(const TQString &)) );
+ connect(this, TQ_SIGNAL(filterChanged(const TQString &)), this, TQ_SLOT(slotActionFilterChanged(const TQString &)) );
+ connect(locationEdit, TQ_SIGNAL(textChanged(const TQString &)), this, TQ_SLOT(slotActionTextChanged(const TQString &)) );
}
diff --git a/parts/filecreate/filecreate_newfile.cpp b/parts/filecreate/filecreate_newfile.cpp
index f1a69059..52c01b42 100644
--- a/parts/filecreate/filecreate_newfile.cpp
+++ b/parts/filecreate/filecreate_newfile.cpp
@@ -62,7 +62,7 @@ namespace FileCreate {
m_addToProject->setChecked( true );
m_urlreq->setMode((int) KFile::Directory);
- connect( m_filename, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotFileNameChanged(const TQString & ) ) );
+ connect( m_filename, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotFileNameChanged(const TQString & ) ) );
slotFileNameChanged( m_filename->text() );
}
diff --git a/parts/filecreate/filecreate_part.cpp b/parts/filecreate/filecreate_part.cpp
index a1529097..a806f54f 100644
--- a/parts/filecreate/filecreate_part.cpp
+++ b/parts/filecreate/filecreate_part.cpp
@@ -22,7 +22,7 @@
#include <kdevgenericfactory.h>
#include <tdefiledialog.h>
#include <kdebug.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstdaction.h>
#include <tdeaction.h>
#include <tdeapplication.h>
@@ -68,23 +68,23 @@ FileCreatePart::FileCreatePart(TQObject *parent, const char *name, const TQStrin
setInstance(FileCreateFactory::instance());
setXMLFile("kdevpart_filecreate.rc");
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(slotProjectClosed()) );
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("File Templates"), PROJECTSETTINGSPAGE, info()->icon() );
_configProxy->createGlobalConfigPage( i18n("File Templates"), GLOBALSETTINGSPAGE, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- TDEToolBarPopupAction * newAction = new TDEToolBarPopupAction( i18n("&New"), "document-new", CTRL+TQt::Key_N, this, TQT_SLOT(slotNewFile()), actionCollection(), "file_new");
+ TDEToolBarPopupAction * newAction = new TDEToolBarPopupAction( i18n("&New"), "document-new", CTRL+TQt::Key_N, this, TQ_SLOT(slotNewFile()), actionCollection(), "file_new");
newAction->setWhatsThis( i18n("<b>New file</b><p>Creates a new file. Also adds it the project if the <b>Add to project</b> checkbox is turned on.") );
newAction->setToolTip( i18n("Create a new file") );
m_newPopupMenu = newAction->popupMenu();
- connect(m_newPopupMenu, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(slotAboutToShowNewPopupMenu()));
+ connect(m_newPopupMenu, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(slotAboutToShowNewPopupMenu()));
- TQTimer::singleShot( 0, this, TQT_SLOT(slotGlobalInitialize()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(slotGlobalInitialize()) );
}
@@ -105,14 +105,14 @@ void FileCreatePart::insertConfigWidget( const KDialogBase * dlg, TQWidget * pag
case PROJECTSETTINGSPAGE:
{
FCConfigWidget* w = new FCConfigWidget( this, false, page, "filecreate config widget" );
- connect( dlg, TQT_SIGNAL( okClicked( ) ), w, TQT_SLOT( accept( ) ) );
+ connect( dlg, TQ_SIGNAL( okClicked( ) ), w, TQ_SLOT( accept( ) ) );
}
break;
case GLOBALSETTINGSPAGE:
{
FCConfigWidget *w = new FCConfigWidget( this, true, page, "filecreate config widget" );
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
}
break;
}
@@ -136,7 +136,7 @@ void FileCreatePart::slotAboutToShowNewPopupMenu()
filetype->icon(), TDEIcon::Desktop, TDEIcon::SizeSmall,
TDEIcon::DefaultState, NULL, true);
m_newPopupMenu->insertItem(iconPix, filetype->name(), this,
- TQT_SLOT(slotNewFilePopup(int)), 0, ++id );
+ TQ_SLOT(slotNewFilePopup(int)), 0, ++id );
m_newPopupMenu->setItemParameter( id, filetype->id() );
} else
{
@@ -151,7 +151,7 @@ void FileCreatePart::slotAboutToShowNewPopupMenu()
subtype->icon(), TDEIcon::Desktop, TDEIcon::SizeSmall,
TDEIcon::DefaultState, NULL, true);
subMenu->insertItem(iconPix, subtype->name(), this,
- TQT_SLOT(slotNewFilePopup(int)), 0, ++id );
+ TQ_SLOT(slotNewFilePopup(int)), 0, ++id );
subMenu->setItemParameter( id, subtype->id() );
}
}
@@ -187,7 +187,7 @@ void FileCreatePart::slotNewFile() {
}
void FileCreatePart::slotProjectOpened() {
- TQTimer::singleShot( 0, this, TQT_SLOT(slotInitialize()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(slotInitialize()) );
}
void FileCreatePart::addFileType(const TQString & filename) {
@@ -207,7 +207,7 @@ void FileCreatePart::addFileType(const TQString & filename) {
void FileCreatePart::slotProjectClosed() {
m_filetypes.clear();
- TQTimer::singleShot( 0, this, TQT_SLOT(slotGlobalInitialize()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(slotGlobalInitialize()) );
}
void FileCreatePart::slotFiletypeSelected(const FileType * filetype) {
diff --git a/parts/filecreate/filecreate_widget2.cpp b/parts/filecreate/filecreate_widget2.cpp
index 4638725c..118e3606 100644
--- a/parts/filecreate/filecreate_widget2.cpp
+++ b/parts/filecreate/filecreate_widget2.cpp
@@ -88,7 +88,7 @@ namespace FileCreate {
void FriendlyWidget::refresh() {
- disconnect( this, TQT_SIGNAL(currentChanged(int,int)), this, TQT_SLOT(slotCellSelected(int,int)) );
+ disconnect( this, TQ_SIGNAL(currentChanged(int,int)), this, TQ_SLOT(slotCellSelected(int,int)) );
empty();
@@ -117,7 +117,7 @@ namespace FileCreate {
resizeCells();
if (currentSelection()>-1) removeSelection(currentSelection());
- connect( this, TQT_SIGNAL(currentChanged(int,int)), this, TQT_SLOT(slotCellSelected(int,int)) );
+ connect( this, TQ_SIGNAL(currentChanged(int,int)), this, TQ_SLOT(slotCellSelected(int,int)) );
}
@@ -165,7 +165,7 @@ namespace FileCreate {
}
m_selected = typeForRow.contains(row) ? typeForRow[row] : NULL;
- TQTimer::singleShot(0, this, TQT_SLOT(slotDoSelection()) );
+ TQTimer::singleShot(0, this, TQ_SLOT(slotDoSelection()) );
}
diff --git a/parts/filecreate/filecreate_widget3.cpp b/parts/filecreate/filecreate_widget3.cpp
index caf1ac74..a86d3155 100644
--- a/parts/filecreate/filecreate_widget3.cpp
+++ b/parts/filecreate/filecreate_widget3.cpp
@@ -46,7 +46,7 @@ namespace FileCreate {
"Globally available file types are listed and can be configured in TDevelop settings dialog, <b>New File Wizard</b> tab."));
- connect( this, TQT_SIGNAL(clicked(TQListViewItem*)), this, TQT_SLOT(slotTypeSelected(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(clicked(TQListViewItem*)), this, TQ_SLOT(slotTypeSelected(TQListViewItem*)) );
}
diff --git a/parts/filelist/filelist_widget.cpp b/parts/filelist/filelist_widget.cpp
index 49141dc0..d8af5988 100644
--- a/parts/filelist/filelist_widget.cpp
+++ b/parts/filelist/filelist_widget.cpp
@@ -45,26 +45,26 @@ FileListWidget::FileListWidget(ProjectviewPart *part, TQWidget *parent)
setSelectionMode( TQListView::Extended );
-// connect( _part->partController(), TQT_SIGNAL( partAdded(KParts::Part*) ), this, TQT_SLOT(partAdded(KParts::Part*)) );
-// connect( _part->partController(), TQT_SIGNAL( partRemoved(KParts::Part*) ), this, TQT_SLOT(partRemoved()) );
- connect( _part->partController(), TQT_SIGNAL( partAdded(KParts::Part*) ), this, TQT_SLOT(startRefreshTimer()) );
- connect( _part->partController(), TQT_SIGNAL( partRemoved(KParts::Part*) ), this, TQT_SLOT(startRefreshTimer()) );
- connect( _part->partController(), TQT_SIGNAL( activePartChanged(KParts::Part*) ), this, TQT_SLOT( activePartChanged(KParts::Part* )) );
+// connect( _part->partController(), TQ_SIGNAL( partAdded(KParts::Part*) ), this, TQ_SLOT(partAdded(KParts::Part*)) );
+// connect( _part->partController(), TQ_SIGNAL( partRemoved(KParts::Part*) ), this, TQ_SLOT(partRemoved()) );
+ connect( _part->partController(), TQ_SIGNAL( partAdded(KParts::Part*) ), this, TQ_SLOT(startRefreshTimer()) );
+ connect( _part->partController(), TQ_SIGNAL( partRemoved(KParts::Part*) ), this, TQ_SLOT(startRefreshTimer()) );
+ connect( _part->partController(), TQ_SIGNAL( activePartChanged(KParts::Part*) ), this, TQ_SLOT( activePartChanged(KParts::Part* )) );
- connect( this, TQT_SIGNAL( executed( TQListViewItem * ) ), this, TQT_SLOT( itemClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( returnPressed( TQListViewItem * ) ), this, TQT_SLOT( itemClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( executed( TQListViewItem * ) ), this, TQ_SLOT( itemClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( returnPressed( TQListViewItem * ) ), this, TQ_SLOT( itemClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( contextMenuRequested ( TQListViewItem *, const TQPoint & , int ) ),
- this, TQT_SLOT( popupMenu(TQListViewItem *, const TQPoint & , int ) ) );
+ connect( this, TQ_SIGNAL( contextMenuRequested ( TQListViewItem *, const TQPoint & , int ) ),
+ this, TQ_SLOT( popupMenu(TQListViewItem *, const TQPoint & , int ) ) );
- connect( _part->partController(), TQT_SIGNAL(documentChangedState(const KURL &, DocumentState)),
- this, TQT_SLOT(documentChangedState(const KURL&, DocumentState )) );
+ connect( _part->partController(), TQ_SIGNAL(documentChangedState(const KURL &, DocumentState)),
+ this, TQ_SLOT(documentChangedState(const KURL&, DocumentState )) );
- connect( _part->partController(), TQT_SIGNAL(partURLChanged(KParts::ReadOnlyPart * )), this, TQT_SLOT(refreshFileList()) );
+ connect( _part->partController(), TQ_SIGNAL(partURLChanged(KParts::ReadOnlyPart * )), this, TQ_SLOT(refreshFileList()) );
setItemMargin(10);
- connect( &m_refreshTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(refreshFileList()) );
+ connect( &m_refreshTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(refreshFileList()) );
startRefreshTimer();
}
@@ -226,9 +226,9 @@ void FileListWidget::popupMenu( TQListViewItem * item, const TQPoint & p, int )
{
TDEPopupMenu popup;
popup.insertTitle( i18n("File List") );
- popup.insertItem( i18n("Close Selected"), this, TQT_SLOT(closeSelectedFiles()) );
- popup.insertItem( i18n("Save Selected"), this, TQT_SLOT(saveSelectedFiles()) );
- popup.insertItem( i18n("Reload Selected"), this, TQT_SLOT(reloadSelectedFiles()) );
+ popup.insertItem( i18n("Close Selected"), this, TQ_SLOT(closeSelectedFiles()) );
+ popup.insertItem( i18n("Save Selected"), this, TQ_SLOT(saveSelectedFiles()) );
+ popup.insertItem( i18n("Reload Selected"), this, TQ_SLOT(reloadSelectedFiles()) );
FileContext context( getSelectedURLs() );
_part->core()->fillContextMenu( &popup, &context );
diff --git a/parts/filelist/projectviewconfig.cpp b/parts/filelist/projectviewconfig.cpp
index c982350e..4cb2338c 100644
--- a/parts/filelist/projectviewconfig.cpp
+++ b/parts/filelist/projectviewconfig.cpp
@@ -28,7 +28,7 @@
ProjectviewConfig::ProjectviewConfig(TQWidget *parent, const char *name)
: ProjectviewConfigBase(parent, name)
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup("File List Plugin");
inToolview->setChecked(config->readBoolEntry("ToolbarInToolview", true));
onlyProject->setChecked(config->readBoolEntry("OnlyProjectFiles", false));
@@ -37,7 +37,7 @@ ProjectviewConfig::ProjectviewConfig(TQWidget *parent, const char *name)
void ProjectviewConfig::accept()
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup("File List Plugin");
config->writeEntry("ToolbarInToolview", inToolview->isChecked());
config->writeEntry("OnlyProjectFiles", onlyProject->isChecked());
diff --git a/parts/filelist/projectviewpart.cpp b/parts/filelist/projectviewpart.cpp
index 8db2a727..39d309ef 100644
--- a/parts/filelist/projectviewpart.cpp
+++ b/parts/filelist/projectviewpart.cpp
@@ -79,16 +79,16 @@ ProjectviewPart::ProjectviewPart(TQObject *parent, const char *name, const TQStr
m_configProxy->createGlobalConfigPage(i18n("File List"), GLOBALDOC_OPTIONS, info()->icon());
m_configProxy->createProjectConfigPage(i18n("File List"), PROJECTDOC_OPTIONS, info()->icon());
- connect(m_configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)));
+ connect(m_configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)));
- connect(core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)));
+ connect(core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)));
- connect(core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()));
- connect(core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()));
+ connect(core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(projectOpened()));
+ connect(core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(projectClosed()));
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup("File List Plugin");
if (config->readBoolEntry("ToolbarInToolview", true))
{
@@ -98,7 +98,7 @@ ProjectviewPart::ProjectviewPart(TQObject *parent, const char *name, const TQStr
setClientBuilder(m_guibuilder);
}
m_restored = false;
- TQTimer::singleShot(0, this, TQT_SLOT(init()));
+ TQTimer::singleShot(0, this, TQ_SLOT(init()));
}
ProjectviewPart::~ProjectviewPart()
@@ -277,21 +277,21 @@ void ProjectviewPart::setupActions()
{
m_openPrjViewAction = new TDESelectAction(i18n("Open Session..."), 0, actionCollection(), "viewsession_open");
- connect(m_openPrjViewAction, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotOpenProjectView(const TQString &)));
+ connect(m_openPrjViewAction, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(slotOpenProjectView(const TQString &)));
m_openPrjViewAction->setToolTip(i18n("Open Session"));
- m_savePrjViewAction = new TDEAction(i18n("Save Session"), "document-save", 0, this, TQT_SLOT(slotSaveProjectView()), actionCollection(), "viewsession_save");
+ m_savePrjViewAction = new TDEAction(i18n("Save Session"), "document-save", 0, this, TQ_SLOT(slotSaveProjectView()), actionCollection(), "viewsession_save");
- m_newPrjViewAction = new TDEAction(i18n("New Session..."), "document-new", 0, this, TQT_SLOT(slotSaveAsProjectView()), actionCollection(), "viewsession_new");
+ m_newPrjViewAction = new TDEAction(i18n("New Session..."), "document-new", 0, this, TQ_SLOT(slotSaveAsProjectView()), actionCollection(), "viewsession_new");
m_deletePrjViewAction = new TDESelectAction(i18n("Delete Session"), "edit-delete", 0, actionCollection(), "viewsession_delete");
- connect(m_deletePrjViewAction, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotDeleteProjectView(const TQString &)));
+ connect(m_deletePrjViewAction, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(slotDeleteProjectView(const TQString &)));
m_deletePrjViewAction->setToolTip(i18n("Delete Session"));
- m_deleteCurrentPrjViewAction = new TDEAction(i18n("Delete Session"), "edit-delete", 0, this, TQT_SLOT(slotDeleteProjectViewCurent()), actionCollection(), "viewsession_deletecurrent");
+ m_deleteCurrentPrjViewAction = new TDEAction(i18n("Delete Session"), "edit-delete", 0, this, TQ_SLOT(slotDeleteProjectViewCurent()), actionCollection(), "viewsession_deletecurrent");
m_deleteCurrentPrjViewAction->setToolTip(i18n("Delete Session"));
@@ -306,13 +306,13 @@ void ProjectviewPart::insertConfigWidget(const KDialogBase *dlg, TQWidget *page,
case PROJECTDOC_OPTIONS:
{
ProjectviewProjectConfig *w = new ProjectviewProjectConfig(this, page, "project config");
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
break;
}
case GLOBALDOC_OPTIONS:
{
ProjectviewConfig *w = new ProjectviewConfig(page, "global config");
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
break;
}
}
@@ -332,7 +332,7 @@ void ProjectviewPart::contextMenu(TQPopupMenu */*popup*/, const Context */*conte
// // or create menu items on the fly
// // int id = -1;
// // id = popup->insertItem(i18n("Do Something Here"),
-// // this, TQT_SLOT(doSomething()));
+// // this, TQ_SLOT(doSomething()));
// // popup->setWhatsThis(id, i18n("<b>Do something here</b><p>Describe here what does this action do."
// }
// else if (context->hasType(Context::FileContext))
@@ -382,7 +382,7 @@ void ProjectviewPart::projectClosed()
void ProjectviewPart::slotOpenProjectView(const TQString &view)
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup("File List Plugin");
bool onlyProject = config->readBoolEntry("OnlyProjectFiles", false);
bool closeOpenFiles = config->readBoolEntry("CloseOpenFiles", true);
@@ -535,7 +535,7 @@ void ProjectviewPart::slotSaveAsProjectView(bool askForName)
void ProjectviewPart::writeConfig()
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
config->deleteGroup("ProjectViews", true);
config->setGroup("ProjectViews");
@@ -559,7 +559,7 @@ void ProjectviewPart::writeConfig()
void ProjectviewPart::readConfig()
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
TQMap<TQString, TQString> entries = config->entryMap("ProjectViews");
m_projectViews.clear();
diff --git a/parts/fileselector/fileselector_part.cpp b/parts/fileselector/fileselector_part.cpp
index de9b5fef..7d5361b7 100644
--- a/parts/fileselector/fileselector_part.cpp
+++ b/parts/fileselector/fileselector_part.cpp
@@ -9,7 +9,7 @@
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdeapplication.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <ktextbrowser.h>
#include <tdeconfig.h>
#include <tdefileitem.h>
@@ -41,11 +41,11 @@ FileSelectorPart::FileSelectorPart(TQObject *parent, const char *name, const TQS
m_filetree = new KDevFileSelector( this, mainWindow(), partController(), 0, "fileselectorwidget" );
- connect( m_filetree->dirOperator(), TQT_SIGNAL(fileSelected(const KFileItem*)),
- this, TQT_SLOT(fileSelected(const KFileItem*)));
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
+ connect( m_filetree->dirOperator(), TQ_SIGNAL(fileSelected(const KFileItem*)),
+ this, TQ_SLOT(fileSelected(const KFileItem*)));
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
- connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)), this, TQT_SLOT(slotConfigWidget(KDialogBase*)) );
+ connect( core(), TQ_SIGNAL(configWidget(KDialogBase*)), this, TQ_SLOT(slotConfigWidget(KDialogBase*)) );
m_filetree->setCaption( i18n("File Selector") );
m_filetree->setIcon( SmallIcon( info()->icon() ) );
@@ -54,7 +54,7 @@ FileSelectorPart::FileSelectorPart(TQObject *parent, const char *name, const TQS
m_filetree->readConfig( instance()->config(), "fileselector" );
- m_newFileAction = new TDEAction(i18n("New File..."), CTRL+ALT+SHIFT+Key_N, this, TQT_SLOT(newFile()), this, "new_file");
+ m_newFileAction = new TDEAction(i18n("New File..."), CTRL+ALT+SHIFT+Key_N, this, TQ_SLOT(newFile()), this, "new_file");
}
FileSelectorPart::~FileSelectorPart()
@@ -84,7 +84,7 @@ void FileSelectorPart::slotConfigWidget( KDialogBase * dlg )
{
TQVBox* vbox = dlg->addVBoxPage( i18n("File Selector"), i18n("File Selector"), BarIcon( info()->icon(), TDEIcon::SizeMedium) );
KFSConfigPage* page = new KFSConfigPage( vbox, 0, m_filetree );
- connect( dlg, TQT_SIGNAL( okClicked( ) ), page, TQT_SLOT( apply( ) ) );
+ connect( dlg, TQ_SIGNAL( okClicked( ) ), page, TQ_SLOT( apply( ) ) );
// ### implement reload
}
diff --git a/parts/fileselector/fileselector_widget.cpp b/parts/fileselector/fileselector_widget.cpp
index 30b56f9d..3a57dc96 100644
--- a/parts/fileselector/fileselector_widget.cpp
+++ b/parts/fileselector/fileselector_widget.cpp
@@ -173,41 +173,41 @@ KDevFileSelector::KDevFileSelector( FileSelectorPart *part, KDevMainWindow *main
filter = new KHistoryCombo( true, filterBox, "filter");
filter->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
filterBox->setStretchFactor(filter, 2);
- connect( btnFilter, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnFilterClick() ) );
+ connect( btnFilter, TQ_SIGNAL( clicked() ), this, TQ_SLOT( btnFilterClick() ) );
lo->addWidget(filterBox);
- connect( filter, TQT_SIGNAL( activated(const TQString&) ),
- TQT_SLOT( slotFilterChange(const TQString&) ) );
+ connect( filter, TQ_SIGNAL( activated(const TQString&) ),
+ TQ_SLOT( slotFilterChange(const TQString&) ) );
- connect( filter, TQT_SIGNAL( textChanged(const TQString&) ),
- TQT_SLOT( slotFilterChange(const TQString&) ) );
- connect( filter, TQT_SIGNAL( returnPressed(const TQString&) ),
- filter, TQT_SLOT( addToHistory(const TQString&) ) );
+ connect( filter, TQ_SIGNAL( textChanged(const TQString&) ),
+ TQ_SLOT( slotFilterChange(const TQString&) ) );
+ connect( filter, TQ_SIGNAL( returnPressed(const TQString&) ),
+ filter, TQ_SLOT( addToHistory(const TQString&) ) );
// tdeaction for the dir sync method
acSyncDir = new TDEAction( i18n("Current Document Directory"), "dirsynch", 0,
- TQT_TQOBJECT(this), TQT_SLOT( setActiveDocumentDir() ), mActionCollection, "sync_dir" );
+ this, TQ_SLOT( setActiveDocumentDir() ), mActionCollection, "sync_dir" );
toolbar->setIconText( TDEToolBar::IconOnly );
toolbar->setIconSize( 16 );
toolbar->setEnableContextMenu( false );
- connect( cmbPath, TQT_SIGNAL( urlActivated( const KURL& )),
- this, TQT_SLOT( cmbPathActivated( const KURL& ) ));
- connect( cmbPath, TQT_SIGNAL( returnPressed( const TQString& )),
- this, TQT_SLOT( cmbPathReturnPressed( const TQString& ) ));
- connect(dir, TQT_SIGNAL(urlEntered(const KURL&)),
- this, TQT_SLOT(dirUrlEntered(const KURL&)) );
+ connect( cmbPath, TQ_SIGNAL( urlActivated( const KURL& )),
+ this, TQ_SLOT( cmbPathActivated( const KURL& ) ));
+ connect( cmbPath, TQ_SIGNAL( returnPressed( const TQString& )),
+ this, TQ_SLOT( cmbPathReturnPressed( const TQString& ) ));
+ connect(dir, TQ_SIGNAL(urlEntered(const KURL&)),
+ this, TQ_SLOT(dirUrlEntered(const KURL&)) );
- connect(dir, TQT_SIGNAL(finishedLoading()),
- this, TQT_SLOT(dirFinishedLoading()) );
+ connect(dir, TQ_SIGNAL(finishedLoading()),
+ this, TQ_SLOT(dirFinishedLoading()) );
// enable dir sync button if current doc has a valid URL
- connect ( partController, TQT_SIGNAL(activePartChanged(KParts::Part*) ),
- this, TQT_SLOT(viewChanged() ) );
+ connect ( partController, TQ_SIGNAL(activePartChanged(KParts::Part*) ),
+ this, TQ_SLOT(viewChanged() ) );
// Connect the bookmark handler
- connect( bookmarkHandler, TQT_SIGNAL( openURL( const TQString& )),
- this, TQT_SLOT( setDir( const TQString& ) ) );
+ connect( bookmarkHandler, TQ_SIGNAL( openURL( const TQString& )),
+ this, TQ_SLOT( setDir( const TQString& ) ) );
waitingUrl = TQString();
@@ -250,13 +250,13 @@ void KDevFileSelector::readConfig(TDEConfig *config, const TQString & name)
cmbPath->setMaxItems( config->readNumEntry( "pathcombo history len", 9 ) );
cmbPath->setURLs( config->readPathListEntry("dir history") );
// if we restore history
- if ( config->readBoolEntry( "restore location", true ) || kapp->isRestored() )
+ if ( config->readBoolEntry( "restore location", true ) || tdeApp->isRestored() )
{
TQString loc( config->readPathEntry( "location" ) );
if ( ! loc.isEmpty() )
{
waitingDir = loc;
- TQTimer::singleShot(0, this, TQT_SLOT(initialDirChangeHack()));
+ TQTimer::singleShot(0, this, TQ_SLOT(initialDirChangeHack()));
}
}
@@ -266,7 +266,7 @@ void KDevFileSelector::readConfig(TDEConfig *config, const TQString & name)
filter->setHistoryItems( config->readListEntry("filter history"), true );
lastFilter = config->readEntry( "last filter" );
TQString flt("");
- if ( config->readBoolEntry( "restore last filter", true ) || kapp->isRestored() )
+ if ( config->readBoolEntry( "restore last filter", true ) || tdeApp->isRestored() )
flt = config->readEntry("current filter");
filter->lineEdit()->setText( flt );
slotFilterChange( flt );
@@ -275,11 +275,11 @@ void KDevFileSelector::readConfig(TDEConfig *config, const TQString & name)
// connect events as needed
/// @todo - solve startup problem: no need to set location for each doc opened!
if ( autoSyncEvents & DocumentChanged )
- connect( partController, TQT_SIGNAL( viewChanged() ), this, TQT_SLOT( autoSync() ) );
+ connect( partController, TQ_SIGNAL( viewChanged() ), this, TQ_SLOT( autoSync() ) );
if ( autoSyncEvents & DocumentOpened )
- connect( partController, TQT_SIGNAL( partAdded(KParts::Part*) ),
- this, TQT_SLOT( autoSync(KParts::Part*) ) );
+ connect( partController, TQ_SIGNAL( partAdded(KParts::Part*) ),
+ this, TQ_SLOT( autoSync(KParts::Part*) ) );
}
@@ -590,10 +590,10 @@ KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, KDevFileSelect
acSel->setAvailableLabel( i18n("A&vailable actions:") );
acSel->setSelectedLabel( i18n("S&elected actions:") );
lo->addWidget( gbToolbar );
- connect( acSel, TQT_SIGNAL( added( TQListBoxItem * ) ), this, TQT_SLOT( slotChanged() ) );
- connect( acSel, TQT_SIGNAL( removed( TQListBoxItem * ) ), this, TQT_SLOT( slotChanged() ) );
- connect( acSel, TQT_SIGNAL( movedUp( TQListBoxItem * ) ), this, TQT_SLOT( slotChanged() ) );
- connect( acSel, TQT_SIGNAL( movedDown( TQListBoxItem * ) ), this, TQT_SLOT( slotChanged() ) );
+ connect( acSel, TQ_SIGNAL( added( TQListBoxItem * ) ), this, TQ_SLOT( slotChanged() ) );
+ connect( acSel, TQ_SIGNAL( removed( TQListBoxItem * ) ), this, TQ_SLOT( slotChanged() ) );
+ connect( acSel, TQ_SIGNAL( movedUp( TQListBoxItem * ) ), this, TQ_SLOT( slotChanged() ) );
+ connect( acSel, TQ_SIGNAL( movedDown( TQListBoxItem * ) ), this, TQ_SLOT( slotChanged() ) );
// Sync
TQGroupBox *gbSync = new TQGroupBox( 1, TQt::Horizontal, i18n("Auto Synchronization"), this );
@@ -601,9 +601,9 @@ KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, KDevFileSelect
cbSyncOpen = new TQCheckBox( i18n("When a document is o&pened"), gbSync );
cbSyncShow = new TQCheckBox( i18n("When the file selector becomes visible"), gbSync );
lo->addWidget( gbSync );
- connect( cbSyncActive, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
- connect( cbSyncOpen, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
- connect( cbSyncShow, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
+ connect( cbSyncActive, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotChanged() ) );
+ connect( cbSyncOpen, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotChanged() ) );
+ connect( cbSyncShow, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotChanged() ) );
// Histories
TQHBox *hbPathHist = new TQHBox ( this );
@@ -611,22 +611,22 @@ KFSConfigPage::KFSConfigPage( TQWidget *parent, const char *name, KDevFileSelect
sbPathHistLength = new TQSpinBox( hbPathHist );
lbPathHist->setBuddy( sbPathHistLength );
lo->addWidget( hbPathHist );
- connect( sbPathHistLength, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( slotChanged() ) );
+ connect( sbPathHistLength, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( slotChanged() ) );
TQHBox *hbFilterHist = new TQHBox ( this );
TQLabel *lbFilterHist = new TQLabel( i18n("Remember &filters:"), hbFilterHist );
sbFilterHistLength = new TQSpinBox( hbFilterHist );
lbFilterHist->setBuddy( sbFilterHistLength );
lo->addWidget( hbFilterHist );
- connect( sbFilterHistLength, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( slotChanged() ) );
+ connect( sbFilterHistLength, TQ_SIGNAL( valueChanged ( int ) ), this, TQ_SLOT( slotChanged() ) );
// Session
TQGroupBox *gbSession = new TQGroupBox( 1, TQt::Horizontal, i18n("Session"), this );
cbSesLocation = new TQCheckBox( i18n("Restore loca&tion"), gbSession );
cbSesFilter = new TQCheckBox( i18n("Restore last f&ilter"), gbSession );
lo->addWidget( gbSession );
- connect( cbSesLocation, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
- connect( cbSesFilter, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
+ connect( cbSesLocation, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotChanged() ) );
+ connect( cbSesFilter, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotChanged() ) );
// make it look nice
lo->addStretch( 1 );
@@ -713,16 +713,16 @@ void KFSConfigPage::apply()
s |= KDevFileSelector::GotVisible;
fileSelector->autoSyncEvents = s;
// reset connections
- disconnect( fileSelector->partController, 0, fileSelector, TQT_SLOT( autoSync() ) );
+ disconnect( fileSelector->partController, 0, fileSelector, TQ_SLOT( autoSync() ) );
disconnect( fileSelector->partController, 0,
- fileSelector, TQT_SLOT( autoSync( KParts::Part *) ) );
+ fileSelector, TQ_SLOT( autoSync( KParts::Part *) ) );
if ( s & KDevFileSelector::DocumentChanged )
- connect( fileSelector->partController, TQT_SIGNAL( viewChanged() ),
- fileSelector, TQT_SLOT( autoSync() ) );
+ connect( fileSelector->partController, TQ_SIGNAL( viewChanged() ),
+ fileSelector, TQ_SLOT( autoSync() ) );
if ( s & KDevFileSelector::DocumentOpened )
connect( fileSelector->partController,
- TQT_SIGNAL( partAdded(KParts::Part *) ),
- fileSelector, TQT_SLOT( autoSync(KParts::Part *) ) );
+ TQ_SIGNAL( partAdded(KParts::Part *) ),
+ fileSelector, TQ_SLOT( autoSync(KParts::Part *) ) );
// histories
fileSelector->cmbPath->setMaxItems( sbPathHistLength->value() );
diff --git a/parts/fileselector/kbookmarkhandler.cpp b/parts/fileselector/kbookmarkhandler.cpp
index 935b9d86..184983a6 100644
--- a/parts/fileselector/kbookmarkhandler.cpp
+++ b/parts/fileselector/kbookmarkhandler.cpp
@@ -27,7 +27,7 @@
#include <kbookmarkimporter.h>
#include <tdepopupmenu.h>
#include <ksavefile.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdediroperator.h>
#include <tdeaction.h>
diff --git a/parts/fileselector/tdeactionselector.cpp b/parts/fileselector/tdeactionselector.cpp
index 283731c2..488897e5 100644
--- a/parts/fileselector/tdeactionselector.cpp
+++ b/parts/fileselector/tdeactionselector.cpp
@@ -98,18 +98,18 @@ TDEActionSelector::TDEActionSelector( TQWidget *parent, const char *name )
loadIcons();
- connect( d->btnAdd, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonAddClicked()) );
- connect( d->btnRemove, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonRemoveClicked()) );
- connect( d->btnUp, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonUpClicked()) );
- connect( d->btnDown, TQT_SIGNAL(clicked()), this, TQT_SLOT(buttonDownClicked()) );
- connect( d->availableListBox, TQT_SIGNAL(doubleClicked(TQListBoxItem*)),
- this, TQT_SLOT(itemDoubleClicked(TQListBoxItem*)) );
- connect( d->selectedListBox, TQT_SIGNAL(doubleClicked(TQListBoxItem*)),
- this, TQT_SLOT(itemDoubleClicked(TQListBoxItem*)) );
- connect( d->availableListBox, TQT_SIGNAL(currentChanged(TQListBoxItem*)),
- this, TQT_SLOT(slotCurrentChanged(TQListBoxItem *)) );
- connect( d->selectedListBox, TQT_SIGNAL(currentChanged(TQListBoxItem*)),
- this, TQT_SLOT(slotCurrentChanged(TQListBoxItem *)) );
+ connect( d->btnAdd, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonAddClicked()) );
+ connect( d->btnRemove, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonRemoveClicked()) );
+ connect( d->btnUp, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonUpClicked()) );
+ connect( d->btnDown, TQ_SIGNAL(clicked()), this, TQ_SLOT(buttonDownClicked()) );
+ connect( d->availableListBox, TQ_SIGNAL(doubleClicked(TQListBoxItem*)),
+ this, TQ_SLOT(itemDoubleClicked(TQListBoxItem*)) );
+ connect( d->selectedListBox, TQ_SIGNAL(doubleClicked(TQListBoxItem*)),
+ this, TQ_SLOT(itemDoubleClicked(TQListBoxItem*)) );
+ connect( d->availableListBox, TQ_SIGNAL(currentChanged(TQListBoxItem*)),
+ this, TQ_SLOT(slotCurrentChanged(TQListBoxItem *)) );
+ connect( d->selectedListBox, TQ_SIGNAL(currentChanged(TQListBoxItem*)),
+ this, TQ_SLOT(slotCurrentChanged(TQListBoxItem *)) );
d->availableListBox->installEventFilter( this );
d->selectedListBox->installEventFilter( this );
diff --git a/parts/fileview/addfilegroupdlg.cpp b/parts/fileview/addfilegroupdlg.cpp
index c11c9c81..97947ea4 100644
--- a/parts/fileview/addfilegroupdlg.cpp
+++ b/parts/fileview/addfilegroupdlg.cpp
@@ -27,14 +27,14 @@ AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString
title_edit = new KLineEdit(old_title, this);
title_edit->setFocus();
title_label->setBuddy(title_edit);
- connect( title_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotTextChanged() ) );
+ connect( title_edit, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotTextChanged() ) );
TQLabel *pattern_label = new TQLabel(i18n("&Pattern:"), this);
pattern_edit = new KLineEdit(old_pattern, this);
pattern_label->setBuddy(pattern_edit);
TQFontMetrics fm(pattern_edit->fontMetrics());
pattern_edit->setMinimumWidth(fm.width('X')*35);
- connect( pattern_edit, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotTextChanged() ) );
+ connect( pattern_edit, TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotTextChanged() ) );
TQVBoxLayout *layout = new TQVBoxLayout(this, 10);
TQGridLayout *grid = new TQGridLayout(2, 2);
@@ -54,8 +54,8 @@ AddFileGroupDialog::AddFileGroupDialog(const TQString& old_title, const TQString
TQPushButton *cancel = buttonbox->addButton(KStdGuiItem::cancel());
m_pOk->setDefault(true);
- connect( m_pOk, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
- connect( cancel, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
+ connect( m_pOk, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept()) );
+ connect( cancel, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()) );
buttonbox->layout();
layout->addWidget(buttonbox, 0);
slotTextChanged();
diff --git a/parts/fileview/filegroupsconfigwidgetbase.ui b/parts/fileview/filegroupsconfigwidgetbase.ui
index 01574b69..5abee50c 100644
--- a/parts/fileview/filegroupsconfigwidgetbase.ui
+++ b/parts/fileview/filegroupsconfigwidgetbase.ui
@@ -217,13 +217,13 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot access="protected">addGroup()</slot>
<slot access="protected">editGroup()</slot>
<slot access="protected">removeGroup()</slot>
<slot access="protected">moveUp()</slot>
<slot access="protected">moveDown()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/parts/fileview/filegroupspart.cpp b/parts/fileview/filegroupspart.cpp
index 91b1a0bc..3b3ffa21 100644
--- a/parts/fileview/filegroupspart.cpp
+++ b/parts/fileview/filegroupspart.cpp
@@ -52,19 +52,19 @@ FileGroupsPart::FileGroupsPart(TQObject *parent, const char *name, const TQStrin
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("File Groups"), FILEGROUPS_OPTIONS, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
// File groups
- connect( project(), TQT_SIGNAL(addedFilesToProject(const TQStringList&)),
- m_filegroups, TQT_SLOT(addFiles(const TQStringList&)) );
- connect( project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList&)),
- m_filegroups, TQT_SLOT(removeFiles(const TQStringList&)) );
-/* connect( project(), TQT_SIGNAL(addedFileToProject(const TQString&)),
- m_filegroups, TQT_SLOT(addFile(const TQString&)) );
- connect( project(), TQT_SIGNAL(removedFileFromProject(const TQString&)),
- m_filegroups, TQT_SLOT(removeFile(const TQString&)) );*/
+ connect( project(), TQ_SIGNAL(addedFilesToProject(const TQStringList&)),
+ m_filegroups, TQ_SLOT(addFiles(const TQStringList&)) );
+ connect( project(), TQ_SIGNAL(removedFilesFromProject(const TQStringList&)),
+ m_filegroups, TQ_SLOT(removeFiles(const TQStringList&)) );
+/* connect( project(), TQ_SIGNAL(addedFileToProject(const TQString&)),
+ m_filegroups, TQ_SLOT(addFile(const TQString&)) );
+ connect( project(), TQ_SIGNAL(removedFileFromProject(const TQString&)),
+ m_filegroups, TQ_SLOT(removeFile(const TQString&)) );*/
m_filegroups->refresh();
}
@@ -84,7 +84,7 @@ void FileGroupsPart::refresh()
// This method may be called from m_filetree's slot,
// so we make sure not to modify the list view during
// the execution of the slot
- TQTimer::singleShot(0, m_filegroups, TQT_SLOT(refresh()));
+ TQTimer::singleShot(0, m_filegroups, TQ_SLOT(refresh()));
}
void FileGroupsPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page, unsigned int pagenumber )
@@ -92,6 +92,6 @@ void FileGroupsPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * pag
if ( pagenumber == FILEGROUPS_OPTIONS )
{
FileGroupsConfigWidget *w = new FileGroupsConfigWidget(this, page, "file groups config widget");
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}
}
diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp
index b99427ec..9a45dc66 100644
--- a/parts/fileview/filegroupswidget.cpp
+++ b/parts/fileview/filegroupswidget.cpp
@@ -171,20 +171,20 @@ FileGroupsWidget::FileGroupsWidget(FileGroupsPart *part)
// addColumn(i18n("Location"));
- connect( this, TQT_SIGNAL(executed(TQListViewItem*)),
- this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)),
- this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
+ connect( this, TQ_SIGNAL(executed(TQListViewItem*)),
+ this, TQ_SLOT(slotItemExecuted(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(returnPressed(TQListViewItem*)),
+ this, TQ_SLOT(slotItemExecuted(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
m_actionToggleShowNonProjectFiles = new TDEToggleAction( i18n("Show Non Project Files"), TDEShortcut(),
- TQT_TQOBJECT(this), TQT_SLOT(slotToggleShowNonProjectFiles()), TQT_TQOBJECT(this), "actiontoggleshowshownonprojectfiles" );
+ this, TQ_SLOT(slotToggleShowNonProjectFiles()), this, "actiontoggleshowshownonprojectfiles" );
m_actionToggleShowNonProjectFiles->setCheckedState(i18n("Hide Non Project Files"));
m_actionToggleShowNonProjectFiles->setWhatsThis(i18n("<b>Show non project files</b><p>Shows files that do not belong to a project in a file tree."));
m_actionToggleDisplayLocation = new TDEToggleAction( i18n("Display Location Column"), TDEShortcut(),
- TQT_TQOBJECT(this), TQT_SLOT(slotToggleDisplayLocation()), TQT_TQOBJECT(this), "actiontoggleshowlocation" );
+ this, TQ_SLOT(slotToggleDisplayLocation()), this, "actiontoggleshowlocation" );
m_actionToggleDisplayLocation->setWhatsThis(i18n("<b>Display the Location Column</b><p>Displays a column with the location of the files."));
m_part = part;
@@ -261,7 +261,7 @@ void FileGroupsWidget::slotContextMenu(TDEListView *, TQListViewItem *item, cons
"customization dialog");
TQVBox *vbox = dlg.addVBoxPage(i18n("File Groups"));
FileGroupsConfigWidget *w = new FileGroupsConfigWidget(m_part, vbox, "file groups config widget");
- connect(&dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(&dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
dlg.exec();
}
}
diff --git a/parts/fileview/filetreeviewwidgetimpl.cpp b/parts/fileview/filetreeviewwidgetimpl.cpp
index af6f9e1f..1af5fe51 100644
--- a/parts/fileview/filetreeviewwidgetimpl.cpp
+++ b/parts/fileview/filetreeviewwidgetimpl.cpp
@@ -38,7 +38,7 @@ FileTreeViewWidgetImpl::FileTreeViewWidgetImpl( FileTreeWidget *parent, const ch
// Actions
m_actionToggleShowNonProjectFiles = new TDEToggleAction( i18n("Show Non Project Files"), TDEShortcut(),
- this, TQT_SLOT(slotToggleShowNonProjectFiles()), this, "actiontoggleshowshownonprojectfiles" );
+ this, TQ_SLOT(slotToggleShowNonProjectFiles()), this, "actiontoggleshowshownonprojectfiles" );
m_actionToggleShowNonProjectFiles->setCheckedState(i18n("Hide Non Project Files"));
m_actionToggleShowNonProjectFiles->setWhatsThis(i18n("<b>Show non project files</b><p>Shows files that do not belong to a project in a file tree."));
@@ -63,7 +63,7 @@ FileTreeViewWidgetImpl::~FileTreeViewWidgetImpl()
FileTreeWidget *FileTreeViewWidgetImpl::fileTree() const
{
- return static_cast<FileTreeWidget *>( TQT_TQWIDGET(parent()) );
+ return static_cast<FileTreeWidget *>( parent() );
}
///////////////////////////////////////////////////////////////////////////////
@@ -96,7 +96,7 @@ void FileTreeViewWidgetImpl::fillPopupMenu( TQPopupMenu *popupMenu, TQListViewIt
// kill the call-back's from working)
if (item == fileTree()->firstChild() && canReloadTree())
{
- int id = popupMenu->insertItem( i18n( "Reload Tree"), this, TQT_SLOT( slotReloadTree() ) );
+ int id = popupMenu->insertItem( i18n( "Reload Tree"), this, TQ_SLOT( slotReloadTree() ) );
popupMenu->setWhatsThis( id, i18n("<b>Reload tree</b><p>Reloads the project files tree.") );
}
diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp
index f89bf71d..d4bfedaf 100644
--- a/parts/fileview/filetreewidget.cpp
+++ b/parts/fileview/filetreewidget.cpp
@@ -70,19 +70,19 @@ FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFil
setDragEnabled( false );
// Slot connections
- connect( this, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)), this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
+ connect( this, TQ_SIGNAL(executed(TQListViewItem*)), this, TQ_SLOT(slotItemExecuted(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(returnPressed(TQListViewItem*)), this, TQ_SLOT(slotItemExecuted(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
// Intercepts KDevelop core signals and VCS notifications (if available)
- connect( m_part->project(), TQT_SIGNAL( activeDirectoryChanged( const TQString&, const TQString& ) ),
- this, TQT_SLOT( changeActiveDirectory( const TQString&, const TQString& ) ) );
- connect( m_part->project(), TQT_SIGNAL( addedFilesToProject( const TQStringList & ) ),
- this, TQT_SLOT( addProjectFiles( const TQStringList & ) ) );
- connect( m_part->project(), TQT_SIGNAL( removedFilesFromProject( const TQStringList & ) ),
- this, TQT_SLOT( removeProjectFiles( const TQStringList & ) ) );
+ connect( m_part->project(), TQ_SIGNAL( activeDirectoryChanged( const TQString&, const TQString& ) ),
+ this, TQ_SLOT( changeActiveDirectory( const TQString&, const TQString& ) ) );
+ connect( m_part->project(), TQ_SIGNAL( addedFilesToProject( const TQStringList & ) ),
+ this, TQ_SLOT( addProjectFiles( const TQStringList & ) ) );
+ connect( m_part->project(), TQ_SIGNAL( removedFilesFromProject( const TQStringList & ) ),
+ this, TQ_SLOT( removeProjectFiles( const TQStringList & ) ) );
// Safeguard against VCS plug-in unloading at run-time
- connect( m_impl, TQT_SIGNAL(implementationInvalidated()), this, TQT_SLOT(slotImplementationInvalidated()) );
+ connect( m_impl, TQ_SIGNAL(implementationInvalidated()), this, TQ_SLOT(slotImplementationInvalidated()) );
// Hide pattern for files
TQDomDocument &dom = *m_part->projectDom();
@@ -112,7 +112,7 @@ void FileTreeWidget::openDirectory( const TQString& dirName )
// if we're reloading
if (m_rootBranch)
{
- disconnect( m_rootBranch, TQT_SIGNAL(populateFinished(KFileTreeViewItem*)), this, TQT_SLOT(finishPopulate(KFileTreeViewItem*)) );
+ disconnect( m_rootBranch, TQ_SIGNAL(populateFinished(KFileTreeViewItem*)), this, TQ_SLOT(finishPopulate(KFileTreeViewItem*)) );
removeBranch( m_rootBranch );
m_projectFiles.clear();
}
@@ -128,7 +128,7 @@ void FileTreeWidget::openDirectory( const TQString& dirName )
b->setChildRecurse( false );
m_rootBranch = addBranch( b );
m_rootBranch->setOpen( true );
- connect( m_rootBranch, TQT_SIGNAL(populateFinished(KFileTreeViewItem*)), this, TQT_SLOT(finishPopulate(KFileTreeViewItem*)) );
+ connect( m_rootBranch, TQ_SIGNAL(populateFinished(KFileTreeViewItem*)), this, TQ_SLOT(finishPopulate(KFileTreeViewItem*)) );
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/parts/fileview/fileviewpart.cpp b/parts/fileview/fileviewpart.cpp
index 25aa8f62..a9b7b3a5 100644
--- a/parts/fileview/fileviewpart.cpp
+++ b/parts/fileview/fileviewpart.cpp
@@ -66,10 +66,10 @@ FileViewPart::FileViewPart(TQObject *parent, const char *name, const TQStringLis
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("File Tree"), FILETREE_OPTIONS, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- TQTimer::singleShot( 1000, this, TQT_SLOT(init()) );
+ TQTimer::singleShot( 1000, this, TQ_SLOT(init()) );
}
///////////////////////////////////////////////////////////////////////////////
@@ -149,7 +149,7 @@ void FileViewPart::insertConfigWidget( const KDialogBase* dlg, TQWidget * page,
if ( pagenumber == FILETREE_OPTIONS )
{
VCSColorsConfigWidget *w = new VCSColorsConfigWidget( this, vcsColors, page, "vcscolorsconfigwidget" );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotAccept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(slotAccept()) );
}
}
diff --git a/parts/fileview/partwidget.cpp b/parts/fileview/partwidget.cpp
index bf68de83..4387b26c 100644
--- a/parts/fileview/partwidget.cpp
+++ b/parts/fileview/partwidget.cpp
@@ -60,10 +60,10 @@ PartWidget::PartWidget( FileViewPart *part, TQWidget *parent )
m_filter->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
filterBox->setStretchFactor(m_filter, 2);
- connect( m_btnFilter, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotBtnFilterClick() ) );
- connect( m_filter, TQT_SIGNAL( activated(const TQString&) ), this, TQT_SLOT( slotFilterChange(const TQString&) ) );
- connect( m_filter, TQT_SIGNAL( returnPressed(const TQString&) ),
- m_filter, TQT_SLOT( addToHistory(const TQString&) ) );
+ connect( m_btnFilter, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotBtnFilterClick() ) );
+ connect( m_filter, TQ_SIGNAL( activated(const TQString&) ), this, TQ_SLOT( slotFilterChange(const TQString&) ) );
+ connect( m_filter, TQ_SIGNAL( returnPressed(const TQString&) ),
+ m_filter, TQ_SLOT( addToHistory(const TQString&) ) );
TQWhatsThis::add
( m_filter,
diff --git a/parts/fileview/vcsfiletreewidgetimpl.cpp b/parts/fileview/vcsfiletreewidgetimpl.cpp
index 450a6a58..21086959 100644
--- a/parts/fileview/vcsfiletreewidgetimpl.cpp
+++ b/parts/fileview/vcsfiletreewidgetimpl.cpp
@@ -198,27 +198,27 @@ VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFil
parent->addColumn( "Work" );
parent->addColumn( "Repo" );
- connect( m_vcsInfoProvider, TQT_SIGNAL(statusReady(const VCSFileInfoMap&, void *)),
- this, TQT_SLOT(vcsDirStatusReady(const VCSFileInfoMap&, void*)) );
+ connect( m_vcsInfoProvider, TQ_SIGNAL(statusReady(const VCSFileInfoMap&, void *)),
+ this, TQ_SLOT(vcsDirStatusReady(const VCSFileInfoMap&, void*)) );
// Harakiri itself if the infoProvider object is destroyed since we cannot work anymore :-(
- connect( m_vcsInfoProvider, TQT_SIGNAL(destroyed()), TQT_SIGNAL(implementationInvalidated()) );
+ connect( m_vcsInfoProvider, TQ_SIGNAL(destroyed()), TQ_SIGNAL(implementationInvalidated()) );
m_actionToggleShowVCSFields = new TDEToggleAction( i18n("Show VCS Fields"), TDEShortcut(),
this, "actiontoggleshowvcsfieldstoggleaction" );
m_actionToggleShowVCSFields->setCheckedState(i18n("Hide VCS Fields"));
TQString aboutAction = i18n("<b>Show VCS fields</b><p>Shows <b>Revision</b> and <b>Timestamp</b> for each file contained in VCS repository.");
m_actionToggleShowVCSFields->setWhatsThis( aboutAction );
- connect( m_actionToggleShowVCSFields, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleShowVCSFields(bool)) );
+ connect( m_actionToggleShowVCSFields, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleShowVCSFields(bool)) );
m_actionSyncWithRepository = new TDEAction( i18n( "Sync with Repository"), TDEShortcut(),
- this, TQT_SLOT(slotSyncWithRepository()), this, "actionsyncwithrepository" );
+ this, TQ_SLOT(slotSyncWithRepository()), this, "actionsyncwithrepository" );
aboutAction = i18n("<b>Sync with repository</b><p>Synchronize file status with remote repository.");
m_actionSyncWithRepository->setWhatsThis( aboutAction );
TQDomDocument &dom = projectDom();
m_actionToggleShowVCSFields->setChecked( DomUtil::readBoolEntry(dom, "/kdevfileview/tree/showvcsfields") );
slotToggleShowVCSFields( showVCSFields() ); // show or hide fields depending on read settings
- connect( parent, TQT_SIGNAL(expanded(TQListViewItem*)), this, TQT_SLOT(slotDirectoryExpanded(TQListViewItem*)));
+ connect( parent, TQ_SIGNAL(expanded(TQListViewItem*)), this, TQ_SLOT(slotDirectoryExpanded(TQListViewItem*)));
}
///////////////////////////////////////////////////////////////////////////////
diff --git a/parts/filter/filterpart.cpp b/parts/filter/filterpart.cpp
index 3a1351ad..a68f1ec5 100644
--- a/parts/filter/filterpart.cpp
+++ b/parts/filter/filterpart.cpp
@@ -38,13 +38,13 @@ FilterPart::FilterPart(TQObject *parent, const char *name, const TQStringList &)
TDEAction *action;
action = new TDEAction( i18n("Execute Command..."), 0,
- this, TQT_SLOT(slotShellInsert()),
+ this, TQ_SLOT(slotShellInsert()),
actionCollection(), "tools_insertshell" );
action->setToolTip(i18n("Execute shell command"));
action->setWhatsThis(i18n("<b>Execute shell command</b><p>Executes a shell command and outputs its result into the current document."));
action = new TDEAction( i18n("Filter Selection Through Command..."), 0,
- this, TQT_SLOT(slotShellFilter()),
+ this, TQ_SLOT(slotShellFilter()),
actionCollection(), "tools_filtershell" );
action->setToolTip(i18n("Filter selection through a shell command"));
action->setWhatsThis(i18n("<b>Filter selection through shell command</b><p>Filters selection through a shell command and outputs its result into the current document."));
diff --git a/parts/filter/shellfilterdlg.cpp b/parts/filter/shellfilterdlg.cpp
index a5100d5b..007e58f6 100644
--- a/parts/filter/shellfilterdlg.cpp
+++ b/parts/filter/shellfilterdlg.cpp
@@ -19,7 +19,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <kstdguiitem.h>
#include <tdeversion.h>
@@ -44,10 +44,10 @@ ShellFilterDialog::ShellFilterDialog()
buttonbox->layout();
layout->addWidget(buttonbox);
- connect( start_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotStartClicked()) );
- connect( cancel_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(reject()) );
+ connect( start_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotStartClicked()) );
+ connect( cancel_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(reject()) );
m_proc = 0;
@@ -81,12 +81,12 @@ void ShellFilterDialog::slotStartClicked()
delete m_proc;
m_proc = new KShellProcess("/bin/sh");
(*m_proc) << combo->currentText();
- connect( m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
- connect( m_proc, TQT_SIGNAL(wroteStdin(TDEProcess*)),
- this, TQT_SLOT(slotWroteStdin(TDEProcess*)) );
- connect( m_proc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
+ connect( m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
+ connect( m_proc, TQ_SIGNAL(wroteStdin(TDEProcess*)),
+ this, TQ_SLOT(slotWroteStdin(TDEProcess*)) );
+ connect( m_proc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
m_proc->start(TDEProcess::NotifyOnExit, TDEProcess::All);
m_proc->writeStdin(m_instr, m_instr.length());
}
diff --git a/parts/filter/shellinsertdlg.cpp b/parts/filter/shellinsertdlg.cpp
index 057e8121..d75f6895 100644
--- a/parts/filter/shellinsertdlg.cpp
+++ b/parts/filter/shellinsertdlg.cpp
@@ -19,7 +19,7 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <klineedit.h>
#include <kstdguiitem.h>
#include <tdeversion.h>
@@ -45,11 +45,11 @@ ShellInsertDialog::ShellInsertDialog()
buttonbox->layout();
layout->addWidget(buttonbox);
- connect( start_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotStartClicked()) );
- connect( cancel_button, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(reject()) );
- connect( combo->lineEdit(), TQT_SIGNAL(textChanged( const TQString &)), this, TQT_SLOT(executeTextChanged( const TQString &)));
+ connect( start_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotStartClicked()) );
+ connect( cancel_button, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(reject()) );
+ connect( combo->lineEdit(), TQ_SIGNAL(textChanged( const TQString &)), this, TQ_SLOT(executeTextChanged( const TQString &)));
m_proc = 0;
TDEConfig *config = FilterFactory::instance()->config();
@@ -97,10 +97,10 @@ void ShellInsertDialog::slotStartClicked()
delete m_proc;
m_proc = new KShellProcess("/bin/sh");
(*m_proc) << combo->currentText();
- connect( m_proc, TQT_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
- this, TQT_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
- connect( m_proc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*)) );
+ connect( m_proc, TQ_SIGNAL(receivedStdout(TDEProcess*, char *, int)),
+ this, TQ_SLOT(slotReceivedStdout(TDEProcess*, char *, int)) );
+ connect( m_proc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*)) );
m_proc->start(TDEProcess::NotifyOnExit, TDEProcess::AllOutput);
}
diff --git a/parts/fullscreen/fullscreen_part.cpp b/parts/fullscreen/fullscreen_part.cpp
index 98581a9c..1d31f618 100644
--- a/parts/fullscreen/fullscreen_part.cpp
+++ b/parts/fullscreen/fullscreen_part.cpp
@@ -40,7 +40,7 @@ FullScreenPart::FullScreenPart(TQObject *parent, const char *name, const TQStrin
m_bFullScreen = false;
- m_pFullScreen = KStdAction::fullScreen(this, TQT_SLOT(slotToggleFullScreen()), actionCollection(), mainWindow()->main());
+ m_pFullScreen = KStdAction::fullScreen(this, TQ_SLOT(slotToggleFullScreen()), actionCollection(), mainWindow()->main());
}
FullScreenPart::~FullScreenPart()
diff --git a/parts/grepview/grepdlg.cpp b/parts/grepview/grepdlg.cpp
index 6333805f..70f301a0 100644
--- a/parts/grepview/grepdlg.cpp
+++ b/parts/grepview/grepdlg.cpp
@@ -173,7 +173,7 @@ GrepDialog::GrepDialog( GrepViewPart * part, TQWidget *parent, const char *name
layout->addWidget(files_label, 5, 0, AlignRight | AlignVCenter);
files_combo = new KComboBox(true, this);
- files_label->setBuddy(TQT_TQWIDGET(files_combo->focusProxy()));
+ files_label->setBuddy(files_combo->focusProxy());
files_combo->insertStrList(filepatterns);
layout->addWidget(files_combo, 5, 1);
@@ -182,7 +182,7 @@ GrepDialog::GrepDialog( GrepViewPart * part, TQWidget *parent, const char *name
TQStringList exclude_list = config->readListEntry("exclude_patterns");
exclude_combo = new KComboBox(true, this);
- exclude_label->setBuddy(TQT_TQWIDGET(files_combo->focusProxy()));
+ exclude_label->setBuddy(files_combo->focusProxy());
if (exclude_list.count()) {
exclude_combo->insertStringList(exclude_list);
}
@@ -249,15 +249,15 @@ GrepDialog::GrepDialog( GrepViewPart * part, TQWidget *parent, const char *name
"by the pattern input field, resulting in the regular expression "
"to search for."));
- connect( template_combo, TQT_SIGNAL(activated(int)),
- TQT_SLOT(templateActivated(int)) );
- connect( search_button, TQT_SIGNAL(clicked()),
- TQT_SLOT(slotSearchClicked()) );
- connect( done_button, TQT_SIGNAL(clicked()),
- TQT_SLOT(hide()) );
- connect( pattern_combo->lineEdit(), TQT_SIGNAL( textChanged ( const TQString & ) ),
- TQT_SLOT( slotPatternChanged( const TQString & ) ) );
- connect( synch_button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSynchDirectory()) );
+ connect( template_combo, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(templateActivated(int)) );
+ connect( search_button, TQ_SIGNAL(clicked()),
+ TQ_SLOT(slotSearchClicked()) );
+ connect( done_button, TQ_SIGNAL(clicked()),
+ TQ_SLOT(hide()) );
+ connect( pattern_combo->lineEdit(), TQ_SIGNAL( textChanged ( const TQString & ) ),
+ TQ_SLOT( slotPatternChanged( const TQString & ) ) );
+ connect( synch_button, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSynchDirectory()) );
slotPatternChanged( pattern_combo->currentText() );
}
diff --git a/parts/grepview/grepviewpart.cpp b/parts/grepview/grepviewpart.cpp
index 92f4ebb6..a2a60aff 100644
--- a/parts/grepview/grepviewpart.cpp
+++ b/parts/grepview/grepviewpart.cpp
@@ -19,7 +19,7 @@
#include <tdeaction.h>
#include <kdialogbase.h>
#include <kiconloader.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <kstringhandler.h>
#include <tdetexteditor/document.h>
@@ -41,12 +41,12 @@ GrepViewPart::GrepViewPart( TQObject *parent, const char *name, const TQStringLi
setXMLFile("kdevgrepview.rc");
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(stopButtonClicked(KDevPlugin*)) );
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) );
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(stopButtonClicked(KDevPlugin*)),
+ this, TQ_SLOT(stopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(projectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(projectClosed()) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
m_widget = new GrepViewWidget(this);
m_widget->setIcon(SmallIcon("grep"));
@@ -63,7 +63,7 @@ GrepViewPart::GrepViewPart( TQObject *parent, const char *name, const TQStringLi
TDEAction *action;
action = new TDEAction(i18n("Find in Fi&les..."), "grep", CTRL+ALT+Key_F,
- this, TQT_SLOT(slotGrep()),
+ this, TQ_SLOT(slotGrep()),
actionCollection(), "edit_grep");
action->setToolTip( i18n("Search for expressions over several files") );
action->setWhatsThis( i18n("<b>Find in files</b><p>"
@@ -117,7 +117,7 @@ void GrepViewPart::contextMenu(TQPopupMenu *popup, const Context *context)
m_popupstr = ident;
TQString squeezed = KStringHandler::csqueeze(ident, 30);
int id = popup->insertItem( i18n("Grep: %1").arg(squeezed),
- this, TQT_SLOT(slotContextGrep()) );
+ this, TQ_SLOT(slotContextGrep()) );
popup->setWhatsThis(id, i18n("<b>Grep</b><p>Opens the find in files dialog "
"and sets the pattern to the text under the cursor."));
popup->insertSeparator();
diff --git a/parts/grepview/grepviewwidget.cpp b/parts/grepview/grepviewwidget.cpp
index 1d709dff..be4c8dc9 100644
--- a/parts/grepview/grepviewwidget.cpp
+++ b/parts/grepview/grepviewwidget.cpp
@@ -16,7 +16,7 @@
#include <tqtoolbutton.h>
#include <kdialogbase.h>
#include <tdelocale.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdeparts/part.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdeaction.h>
@@ -137,25 +137,25 @@ GrepViewWidget::GrepViewWidget(GrepViewPart *part) : TQWidget(0, "grepview widg
m_tabWidget->addTab(m_curOutput, i18n("Search Results"));
grepdlg = new GrepDialog( part, this, "grep widget");
- connect( grepdlg, TQT_SIGNAL(searchClicked()), this, TQT_SLOT(searchActivated()) );
- connect( m_curOutput, TQT_SIGNAL(processExited(TDEProcess* )), this, TQT_SLOT(slotSearchProcessExited()) );
+ connect( grepdlg, TQ_SIGNAL(searchClicked()), this, TQ_SLOT(searchActivated()) );
+ connect( m_curOutput, TQ_SIGNAL(processExited(TDEProcess* )), this, TQ_SLOT(slotSearchProcessExited()) );
- connect( m_tabWidget, TQT_SIGNAL(currentChanged(TQWidget*)), this, TQT_SLOT(slotOutputTabChanged()) );
+ connect( m_tabWidget, TQ_SIGNAL(currentChanged(TQWidget*)), this, TQ_SLOT(slotOutputTabChanged()) );
- connect( m_curOutput, TQT_SIGNAL(clicked(TQListBoxItem*)),
- this, TQT_SLOT(slotExecuted(TQListBoxItem*)) );
- connect( m_curOutput, TQT_SIGNAL(returnPressed(TQListBoxItem*)),
- this, TQT_SLOT(slotExecuted(TQListBoxItem*)) );
+ connect( m_curOutput, TQ_SIGNAL(clicked(TQListBoxItem*)),
+ this, TQ_SLOT(slotExecuted(TQListBoxItem*)) );
+ connect( m_curOutput, TQ_SIGNAL(returnPressed(TQListBoxItem*)),
+ this, TQ_SLOT(slotExecuted(TQListBoxItem*)) );
- connect( m_curOutput, TQT_SIGNAL(contextMenuRequested( TQListBoxItem*, const TQPoint&)), this, TQT_SLOT(popupMenu(TQListBoxItem*, const TQPoint&)));
+ connect( m_curOutput, TQ_SIGNAL(contextMenuRequested( TQListBoxItem*, const TQPoint&)), this, TQ_SLOT(popupMenu(TQListBoxItem*, const TQPoint&)));
m_part = part;
m_closeButton = new TQToolButton(m_tabWidget);//@todo change text/icon
m_closeButton->setIconSet(SmallIconSet("tab_remove"));
m_closeButton->setEnabled(false);
- connect (m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCloseCurrentOutput()));
+ connect (m_closeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCloseCurrentOutput()));
m_tabWidget->setCornerWidget(m_closeButton);
}
@@ -459,10 +459,10 @@ void GrepViewWidget::slotKeepOutput( )
m_curOutput = new GrepViewProcessWidget(m_tabWidget);
m_tabWidget->insertTab(m_curOutput, i18n("Search Results"), 0);
- connect( m_curOutput, TQT_SIGNAL(clicked(TQListBoxItem*)), this, TQT_SLOT(slotExecuted(TQListBoxItem*)) );
- connect( m_curOutput, TQT_SIGNAL(returnPressed(TQListBoxItem*)), this, TQT_SLOT(slotExecuted(TQListBoxItem*)) );
- connect( m_curOutput, TQT_SIGNAL(processExited(TDEProcess* )), this, TQT_SLOT(slotSearchProcessExited()) );
- connect( m_curOutput, TQT_SIGNAL(contextMenuRequested( TQListBoxItem*, const TQPoint&)), this, TQT_SLOT(popupMenu(TQListBoxItem*, const TQPoint&)));
+ connect( m_curOutput, TQ_SIGNAL(clicked(TQListBoxItem*)), this, TQ_SLOT(slotExecuted(TQListBoxItem*)) );
+ connect( m_curOutput, TQ_SIGNAL(returnPressed(TQListBoxItem*)), this, TQ_SLOT(slotExecuted(TQListBoxItem*)) );
+ connect( m_curOutput, TQ_SIGNAL(processExited(TDEProcess* )), this, TQ_SLOT(slotSearchProcessExited()) );
+ connect( m_curOutput, TQ_SIGNAL(contextMenuRequested( TQListBoxItem*, const TQPoint&)), this, TQ_SLOT(popupMenu(TQListBoxItem*, const TQPoint&)));
}
void GrepViewWidget::slotCloseCurrentOutput( )
diff --git a/parts/konsole/konsoleviewpart.cpp b/parts/konsole/konsoleviewpart.cpp
index 873ab790..118cb756 100644
--- a/parts/konsole/konsoleviewpart.cpp
+++ b/parts/konsole/konsoleviewpart.cpp
@@ -48,7 +48,7 @@ KonsoleViewPart::KonsoleViewPart(TQObject *parent, const char *name, const TQStr
mainWindow()->embedOutputView(m_widget, i18n("Konsole"), i18n("Embedded console window"));
- connect(core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()));
+ connect(core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(projectOpened()));
}
diff --git a/parts/konsole/konsoleviewwidget.cpp b/parts/konsole/konsoleviewwidget.cpp
index e58dde5b..76dfb6c3 100644
--- a/parts/konsole/konsoleviewwidget.cpp
+++ b/parts/konsole/konsoleviewwidget.cpp
@@ -30,7 +30,7 @@
KonsoleViewWidget::KonsoleViewWidget(KonsoleViewPart *part)
: TQWidget(0, "konsole widget"), part(0), owner( part )
{
- connect(part->partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), this, TQT_SLOT(activePartChanged(KParts::Part*)));
+ connect(part->partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)), this, TQ_SLOT(activePartChanged(KParts::Part*)));
vbox = new TQVBoxLayout(this);
}
@@ -70,7 +70,7 @@ void KonsoleViewWidget::activate()
// this->activePartChanged( owner->partController()->activePart() );
part->widget()->show();
- connect(part, TQT_SIGNAL(destroyed()), this, TQT_SLOT(partDestroyed()));
+ connect(part, TQ_SIGNAL(destroyed()), this, TQ_SLOT(partDestroyed()));
}
@@ -104,7 +104,7 @@ void KonsoleViewWidget::setDirectory(const KURL &dirUrl)
{
kdDebug(9035) << k_funcinfo << "Changing dirUrl.path() == " << dirUrl.path() << endl;
kdDebug(9035) << k_funcinfo << "Changing part->url.path() == " << part->url().path() << endl;
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
kdDebug(9035) << k_funcinfo << "SyncTerminalEmulator: " << config->readBoolEntry("SyncTerminalEmulator") << endl;
diff --git a/parts/openwith/openwithpart.cpp b/parts/openwith/openwithpart.cpp
index 665f725c..feca079c 100644
--- a/parts/openwith/openwithpart.cpp
+++ b/parts/openwith/openwithpart.cpp
@@ -26,8 +26,8 @@ OpenWithPart::OpenWithPart(TQObject *parent, const char *name, const TQStringLis
{
setInstance( OpenWithFactory::instance() );
- connect(core(), TQT_SIGNAL(contextMenu(TQPopupMenu*,const Context *)),
- this, TQT_SLOT(fillContextMenu(TQPopupMenu*,const Context *)));
+ connect(core(), TQ_SIGNAL(contextMenu(TQPopupMenu*,const Context *)),
+ this, TQ_SLOT(fillContextMenu(TQPopupMenu*,const Context *)));
}
@@ -45,7 +45,7 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context)
popup->insertSeparator();
- popup->insertItem( i18n("Open as UTF-8"), this, TQT_SLOT(openAsUtf8()) );
+ popup->insertItem( i18n("Open as UTF-8"), this, TQ_SLOT(openAsUtf8()) );
TDEPopupMenu * openAsPopup = new TDEPopupMenu( popup );
@@ -58,7 +58,7 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context)
TQStringList::const_iterator it = encodings.constBegin();
while ( it != encodings.constEnd() )
{
- openAsPopup->insertItem( *it, this, TQT_SLOT(openAsEncoding(int)), 0, i );
+ openAsPopup->insertItem( *it, this, TQ_SLOT(openAsEncoding(int)), 0, i );
++it;
i++;
}
@@ -74,7 +74,7 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context)
for (it = offers.begin(); it != offers.end(); ++it)
{
TDEAction *action = new TDEAction((*it)->name(), (*it)->icon(), 0, 0, TQFile::encodeName( (*it)->desktopEntryPath() ).data());
- connect(action, TQT_SIGNAL(activated()), this, TQT_SLOT(openWithService()));
+ connect(action, TQ_SIGNAL(activated()), this, TQ_SLOT(openWithService()));
action->plug( openWithPopup );
}
}
@@ -85,7 +85,7 @@ void OpenWithPart::fillContextMenu(TQPopupMenu *popup, const Context *context)
openWithPopup->insertSeparator();
// make sure the generic "Open with ..." entry gets appended to the submenu
- id = openWithPopup->insertItem(i18n("Open With..."), this, TQT_SLOT(openWithDialog()));
+ id = openWithPopup->insertItem(i18n("Open With..."), this, TQ_SLOT(openWithDialog()));
openWithPopup->setWhatsThis(id, i18n("<b>Open With...</b><p>Provides a dialog to choose the application to open the selected file."));
}
diff --git a/parts/outputviews/appoutputviewpart.cpp b/parts/outputviews/appoutputviewpart.cpp
index 3d8b47bf..b2771a8a 100644
--- a/parts/outputviews/appoutputviewpart.cpp
+++ b/parts/outputviews/appoutputviewpart.cpp
@@ -51,10 +51,10 @@ AppOutputViewPart::AppOutputViewPart(TQObject *parent, const char *name, const T
mainWindow()->embedOutputView(m_widget, i18n("Application"), i18n("Output of the executed user program"));
hideView();
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
- connect(m_widget, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotProcessExited()));
- connect(m_widget, TQT_SIGNAL(processExited(TDEProcess*)), TQT_SIGNAL(processExited()));
+ connect( core(), TQ_SIGNAL(stopButtonClicked(KDevPlugin*)),
+ this, TQ_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect(m_widget, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotProcessExited()));
+ connect(m_widget, TQ_SIGNAL(processExited(TDEProcess*)), TQ_SIGNAL(processExited()));
}
@@ -97,7 +97,7 @@ void AppOutputViewPart::startAppCommand(const TQString &directory, const TQStrin
TQString cmd;
if (inTerminal) {
- cmd = Settings::terminalEmulatorName( *kapp->config() );
+ cmd = Settings::terminalEmulatorName( *tdeApp->config() );
if ( cmd == "konsole" && !directory.isNull() ) { // isn't setting the working directory below enough?
// If a directory was specified, use it
cmd += TQString(" --workdir '%1'").arg(directory);
diff --git a/parts/outputviews/appoutputwidget.cpp b/parts/outputviews/appoutputwidget.cpp
index 50060339..fbc4bb4c 100644
--- a/parts/outputviews/appoutputwidget.cpp
+++ b/parts/outputviews/appoutputwidget.cpp
@@ -40,10 +40,10 @@
AppOutputWidget::AppOutputWidget(AppOutputViewPart* part)
: ProcessWidget(0, "app output widget"), m_part(part)
{
- connect(this, TQT_SIGNAL(executed(TQListBoxItem*)), TQT_SLOT(slotRowSelected(TQListBoxItem*)));
- connect(this, TQT_SIGNAL(rightButtonClicked( TQListBoxItem *, const TQPoint & )),
- TQT_SLOT(slotContextMenu( TQListBoxItem *, const TQPoint & )));
- TDEConfig *config = kapp->config();
+ connect(this, TQ_SIGNAL(executed(TQListBoxItem*)), TQ_SLOT(slotRowSelected(TQListBoxItem*)));
+ connect(this, TQ_SIGNAL(rightButtonClicked( TQListBoxItem *, const TQPoint & )),
+ TQ_SLOT(slotContextMenu( TQListBoxItem *, const TQPoint & )));
+ TDEConfig *config = tdeApp->config();
config->setGroup("General Options");
setFont(config->readFontEntry("OutputViewFont"));
setSelectionMode(TQListBox::Extended);
@@ -251,24 +251,24 @@ void AppOutputWidget::slotContextMenu( TQListBoxItem *, const TQPoint &p )
{
TDEPopupMenu popup(this, "filter output");
- int id = popup.insertItem( i18n("Clear output"), this, TQT_SLOT(clearViewAndContents()) );
+ int id = popup.insertItem( i18n("Clear output"), this, TQ_SLOT(clearViewAndContents()) );
popup.setItemEnabled( id, m_contentList.size() > 0 );
- popup.insertItem( i18n("Copy selected lines"), this, TQT_SLOT(copySelected()) );
+ popup.insertItem( i18n("Copy selected lines"), this, TQ_SLOT(copySelected()) );
popup.insertSeparator();
- popup.insertItem( i18n("Save unfiltered"), this, TQT_SLOT(saveAll()) );
- id = popup.insertItem( i18n("Save filtered output"), this, TQT_SLOT(saveFiltered()) );
+ popup.insertItem( i18n("Save unfiltered"), this, TQ_SLOT(saveAll()) );
+ id = popup.insertItem( i18n("Save filtered output"), this, TQ_SLOT(saveFiltered()) );
popup.setItemEnabled( id, m_filter.m_isActive );
popup.insertSeparator();
- id = popup.insertItem( i18n("Clear filter"), this, TQT_SLOT(clearFilter()) );
+ id = popup.insertItem( i18n("Clear filter"), this, TQ_SLOT(clearFilter()) );
popup.setItemEnabled( id, m_filter.m_isActive );
- popup.insertItem( i18n("Edit filter"), this, TQT_SLOT(editFilter() ) );
+ popup.insertItem( i18n("Edit filter"), this, TQ_SLOT(editFilter() ) );
popup.insertSeparator();
- popup.insertItem( i18n("Hide view"), this, TQT_SLOT(hideView()) );
+ popup.insertItem( i18n("Hide view"), this, TQ_SLOT(hideView()) );
popup.exec(p);
}
@@ -339,7 +339,7 @@ void AppOutputWidget::copySelected()
if (isSelected(i))
buffer += item(i)->text() + "\n";
}
- kapp->clipboard()->setText(buffer, TQClipboard::Clipboard);
+ tdeApp->clipboard()->setText(buffer, TQClipboard::Clipboard);
}
void AppOutputWidget::addPartialStderrLine(const TQCString & line)
diff --git a/parts/outputviews/makeviewpart.cpp b/parts/outputviews/makeviewpart.cpp
index 2df7d384..d1b1df76 100644
--- a/parts/outputviews/makeviewpart.cpp
+++ b/parts/outputviews/makeviewpart.cpp
@@ -52,17 +52,17 @@ MakeViewPart::MakeViewPart(TQObject *parent, const char *name, const TQStringLis
mainWindow()->embedOutputView(m_widget, i18n("Messages"), i18n("Compiler output messages"));
TDEAction *action;
- action = new TDEAction( i18n("&Next Error"), Key_F4, TQT_TQOBJECT(m_widget), TQT_SLOT(nextError()),
+ action = new TDEAction( i18n("&Next Error"), Key_F4, m_widget, TQ_SLOT(nextError()),
actionCollection(), "view_next_error");
action->setToolTip( i18n("Go to the next error") );
action->setWhatsThis(i18n("<b>Next error</b><p>Switches to the file and line where the next error was reported from."));
- action = new TDEAction( i18n("&Previous Error"), SHIFT+Key_F4, TQT_TQOBJECT(m_widget), TQT_SLOT(prevError()),
+ action = new TDEAction( i18n("&Previous Error"), SHIFT+Key_F4, m_widget, TQ_SLOT(prevError()),
actionCollection(), "view_previous_error");
action->setToolTip( i18n("Go to the previous error") );
action->setWhatsThis(i18n("<b>Previous error</b><p>Switches to the file and line where the previous error was reported from."));
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQ_SIGNAL(stopButtonClicked(KDevPlugin*)),
+ this, TQ_SLOT(slotStopButtonClicked(KDevPlugin*)) );
}
diff --git a/parts/outputviews/makewidget.cpp b/parts/outputviews/makewidget.cpp
index 78b3a386..f4287262 100644
--- a/parts/outputviews/makewidget.cpp
+++ b/parts/outputviews/makewidget.cpp
@@ -25,10 +25,10 @@
#include <kdebug.h>
#include <tdelocale.h>
#include <knotifyclient.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdeglobal.h>
-#include <kstandarddirs.h>
-#include <kinstance.h>
+#include <tdestandarddirs.h>
+#include <tdeinstance.h>
#include <kstatusbar.h>
#include <tdeapplication.h>
#include <tdeconfig.h>
@@ -42,7 +42,7 @@
#include <tqfileinfo.h>
#include <tqclipboard.h>
#include <tqpopupmenu.h>
-#include <tqrichtext_p.h>
+#include <private/tqrichtext_p.h>
#include <stdlib.h>
#include <limits.h>
@@ -178,44 +178,44 @@ MakeWidget::MakeWidget(MakeViewPart *part)
dirstack.setAutoDelete(true);
- childproc = new TDEProcess(TQT_TQOBJECT(this));
+ childproc = new TDEProcess(this);
procLineMaker = new ProcessLineMaker( childproc );
- connect( procLineMaker, TQT_SIGNAL(receivedStdoutLine(const TQCString&)),
- this, TQT_SLOT(insertStdoutLine(const TQCString&) ));
- connect( procLineMaker, TQT_SIGNAL(receivedStderrLine(const TQCString&)),
- this, TQT_SLOT(insertStderrLine(const TQCString&) ));
- connect( procLineMaker, TQT_SIGNAL(receivedPartialStdoutLine(const TQCString&)),
- this, TQT_SLOT(storePartialStdoutLine(const TQCString&) ));
- connect( procLineMaker, TQT_SIGNAL(receivedPartialStderrLine(const TQCString&)),
- this, TQT_SLOT(storePartialStderrLine(const TQCString&) ));
-
- connect( childproc, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotProcessExited(TDEProcess*) )) ;
-
- connect( &m_directoryStatusFilter, TQT_SIGNAL(item(EnteringDirectoryItem*)),
- this, TQT_SLOT(slotEnteredDirectory(EnteringDirectoryItem*)) );
- connect( &m_directoryStatusFilter, TQT_SIGNAL(item(ExitingDirectoryItem*)),
- this, TQT_SLOT(slotExitedDirectory(ExitingDirectoryItem*)) );
- connect( &m_errorFilter, TQT_SIGNAL(item(MakeItem*)),
- this, TQT_SLOT(insertItem(MakeItem*)) );
- connect( &m_actionFilter, TQT_SIGNAL(item(MakeItem*)),
- this, TQT_SLOT(insertItem(MakeItem*)) );
- connect( &m_otherFilter, TQT_SIGNAL(item(MakeItem*)),
- this, TQT_SLOT(insertItem(MakeItem*)) );
-
- connect( verticalScrollBar(), TQT_SIGNAL(sliderPressed()),
- this, TQT_SLOT(verticScrollingOn()) );
- connect( verticalScrollBar(), TQT_SIGNAL(sliderReleased()),
- this, TQT_SLOT(verticScrollingOff()) );
- connect( horizontalScrollBar(), TQT_SIGNAL(sliderPressed()),
- this, TQT_SLOT(horizScrollingOn()) );
- connect( horizontalScrollBar(), TQT_SIGNAL(sliderReleased()),
- this, TQT_SLOT(horizScrollingOff()) );
+ connect( procLineMaker, TQ_SIGNAL(receivedStdoutLine(const TQCString&)),
+ this, TQ_SLOT(insertStdoutLine(const TQCString&) ));
+ connect( procLineMaker, TQ_SIGNAL(receivedStderrLine(const TQCString&)),
+ this, TQ_SLOT(insertStderrLine(const TQCString&) ));
+ connect( procLineMaker, TQ_SIGNAL(receivedPartialStdoutLine(const TQCString&)),
+ this, TQ_SLOT(storePartialStdoutLine(const TQCString&) ));
+ connect( procLineMaker, TQ_SIGNAL(receivedPartialStderrLine(const TQCString&)),
+ this, TQ_SLOT(storePartialStderrLine(const TQCString&) ));
+
+ connect( childproc, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotProcessExited(TDEProcess*) )) ;
+
+ connect( &m_directoryStatusFilter, TQ_SIGNAL(item(EnteringDirectoryItem*)),
+ this, TQ_SLOT(slotEnteredDirectory(EnteringDirectoryItem*)) );
+ connect( &m_directoryStatusFilter, TQ_SIGNAL(item(ExitingDirectoryItem*)),
+ this, TQ_SLOT(slotExitedDirectory(ExitingDirectoryItem*)) );
+ connect( &m_errorFilter, TQ_SIGNAL(item(MakeItem*)),
+ this, TQ_SLOT(insertItem(MakeItem*)) );
+ connect( &m_actionFilter, TQ_SIGNAL(item(MakeItem*)),
+ this, TQ_SLOT(insertItem(MakeItem*)) );
+ connect( &m_otherFilter, TQ_SIGNAL(item(MakeItem*)),
+ this, TQ_SLOT(insertItem(MakeItem*)) );
+
+ connect( verticalScrollBar(), TQ_SIGNAL(sliderPressed()),
+ this, TQ_SLOT(verticScrollingOn()) );
+ connect( verticalScrollBar(), TQ_SIGNAL(sliderReleased()),
+ this, TQ_SLOT(verticScrollingOff()) );
+ connect( horizontalScrollBar(), TQ_SIGNAL(sliderPressed()),
+ this, TQ_SLOT(horizScrollingOn()) );
+ connect( horizontalScrollBar(), TQ_SIGNAL(sliderReleased()),
+ this, TQ_SLOT(horizScrollingOff()) );
// this slot doesn't exist anymore
-// connect( m_part->partController(), TQT_SIGNAL(loadedFile(const KURL&)),
-// this, TQT_SLOT(slotDocumentOpened(const KURL&)) );
+// connect( m_part->partController(), TQ_SIGNAL(loadedFile(const KURL&)),
+// this, TQ_SLOT(slotDocumentOpened(const KURL&)) );
}
MakeWidget::~MakeWidget()
@@ -342,7 +342,7 @@ void MakeWidget::copy()
selection.replace("&quot;","\"");
selection.replace("&amp;","&");
- kapp->clipboard()->setText(selection, TQClipboard::Clipboard);
+ tdeApp->clipboard()->setText(selection, TQClipboard::Clipboard);
}
void MakeWidget::nextError()
@@ -527,7 +527,7 @@ void MakeWidget::searchItem(int parag)
void MakeWidget::insertStdoutLine( const TQCString& line )
{
TQString sline;
- bool forceCLocale = TDEConfigGroup( kapp->config(), "MakeOutputWidget" ).readBoolEntry( "ForceCLocale", true );
+ bool forceCLocale = TDEConfigGroup( tdeApp->config(), "MakeOutputWidget" ).readBoolEntry( "ForceCLocale", true );
if( forceCLocale )
sline = TQString::fromAscii( stdoutbuf+line );
@@ -542,7 +542,7 @@ void MakeWidget::insertStdoutLine( const TQCString& line )
void MakeWidget::insertStderrLine( const TQCString& line )
{
TQString sline;
- bool forceCLocale = TDEConfigGroup( kapp->config(), "MakeOutputWidget" ).readBoolEntry( "ForceCLocale", true );
+ bool forceCLocale = TDEConfigGroup( tdeApp->config(), "MakeOutputWidget" ).readBoolEntry( "ForceCLocale", true );
if( forceCLocale ) {
sline = TQString( stderrbuf+line );
@@ -588,7 +588,7 @@ void MakeWidget::slotProcessExited(TDEProcess *)
// and its TDEProcess object can be reused.
if (childproc->normalExit() && !childproc->exitStatus())
{
- TQTimer::singleShot(0, this, TQT_SLOT(startNextJob()));
+ TQTimer::singleShot(0, this, TQ_SLOT(startNextJob()));
// if (commandList.isEmpty())
// The last command on the list was successful so restore the
// output view to what it had before the compilation process started
@@ -698,23 +698,23 @@ TQPopupMenu* MakeWidget::createPopupMenu( const TQPoint& pos )
pMenu->setCheckable(true);
pMenu->insertSeparator();
- int id = pMenu->insertItem(i18n("Line Wrapping"), this, TQT_SLOT(toggleLineWrapping()) );
+ int id = pMenu->insertItem(i18n("Line Wrapping"), this, TQ_SLOT(toggleLineWrapping()) );
pMenu->setItemChecked(id, m_bLineWrapping);
pMenu->setWhatsThis(id, i18n("<b>Line wrapping</b><p>Enables or disables wrapping of command lines displayed."));
pMenu->insertSeparator();
- id = pMenu->insertItem(i18n("Very Short Compiler Output"), this, TQT_SLOT(slotVeryShortCompilerOutput()) );
+ id = pMenu->insertItem(i18n("Very Short Compiler Output"), this, TQ_SLOT(slotVeryShortCompilerOutput()) );
pMenu->setWhatsThis(id, i18n("<b>Very short compiler output</b><p>Displays only warnings, errors and the file names which are compiled."));
pMenu->setItemChecked(id, m_compilerOutputLevel == eVeryShort);
- id = pMenu->insertItem(i18n("Short Compiler Output"), this, TQT_SLOT(slotShortCompilerOutput()) );
+ id = pMenu->insertItem(i18n("Short Compiler Output"), this, TQ_SLOT(slotShortCompilerOutput()) );
pMenu->setWhatsThis(id, i18n("<b>Short compiler output</b><p>Suppresses all the compiler flags and formats to something readable."));
pMenu->setItemChecked(id, m_compilerOutputLevel == eShort);
- id = pMenu->insertItem(i18n("Full Compiler Output"), this, TQT_SLOT(slotFullCompilerOutput()) );
+ id = pMenu->insertItem(i18n("Full Compiler Output"), this, TQ_SLOT(slotFullCompilerOutput()) );
pMenu->setWhatsThis(id, i18n("<b>Full compiler output</b><p>Displays unmodified compiler output."));
pMenu->setItemChecked(id, m_compilerOutputLevel == eFull);
pMenu->insertSeparator();
- id = pMenu->insertItem(i18n("Show Directory Navigation Messages"), this, TQT_SLOT(toggleShowDirNavigMessages()));
+ id = pMenu->insertItem(i18n("Show Directory Navigation Messages"), this, TQ_SLOT(toggleShowDirNavigMessages()));
pMenu->setWhatsThis(id, i18n("<b>Show directory navigation messages</b><p>Shows <b>cd</b> commands that are executed while building."));
pMenu->setItemChecked(id, DirectoryItem::getShowDirectoryMessages());
@@ -724,7 +724,7 @@ TQPopupMenu* MakeWidget::createPopupMenu( const TQPoint& pos )
void MakeWidget::toggleLineWrapping()
{
m_bLineWrapping = !m_bLineWrapping;
- TDEConfig *pConfig = kapp->config();
+ TDEConfig *pConfig = tdeApp->config();
pConfig->setGroup("MakeOutputView");
pConfig->writeEntry("LineWrapping", m_bLineWrapping);
pConfig->sync();
@@ -759,7 +759,7 @@ void MakeWidget::slotFullCompilerOutput() { setTextFormat( TQt::RichText ); setC
void MakeWidget::setCompilerOutputLevel(EOutputLevel level)
{
m_compilerOutputLevel = level;
- TDEConfig *pConfig = kapp->config();
+ TDEConfig *pConfig = tdeApp->config();
pConfig->setGroup("MakeOutputView");
pConfig->writeEntry("CompilerOutputLevel", (int) level);
pConfig->sync();
@@ -769,7 +769,7 @@ void MakeWidget::setCompilerOutputLevel(EOutputLevel level)
void MakeWidget::toggleShowDirNavigMessages()
{
DirectoryItem::setShowDirectoryMessages( !DirectoryItem::getShowDirectoryMessages() );
- TDEConfig *pConfig = kapp->config();
+ TDEConfig *pConfig = tdeApp->config();
pConfig->setGroup("MakeOutputView");
pConfig->writeEntry("ShowDirNavigMsg", DirectoryItem::getShowDirectoryMessages());
pConfig->sync();
@@ -778,7 +778,7 @@ void MakeWidget::toggleShowDirNavigMessages()
void MakeWidget::updateSettingsFromConfig()
{
- TDEConfig *pConfig = kapp->config();
+ TDEConfig *pConfig = tdeApp->config();
pConfig->setGroup("General Options");
TQFont outputFont = pConfig->readFontEntry("OutputViewFont");
setFont(outputFont);
diff --git a/parts/partexplorer/partexplorer_plugin.cpp b/parts/partexplorer/partexplorer_plugin.cpp
index 57b1cd58..86ed8306 100644
--- a/parts/partexplorer/partexplorer_plugin.cpp
+++ b/parts/partexplorer/partexplorer_plugin.cpp
@@ -11,7 +11,7 @@
#include "partexplorer_plugin.h"
-#include <kinstance.h>
+#include <tdeinstance.h>
#include <tdelocale.h>
#include <kdevgenericfactory.h>
#include <kdebug.h>
@@ -40,7 +40,7 @@ PartExplorerPlugin::PartExplorerPlugin( TQObject *parent, const char *name, con
m_widget = new PartExplorerForm( mainWindow()->main() );
// mainWindow()->embedSelectView( m_widget, i18n("PartExplorer"), i18n("Query system services"));
- TDEAction *action = new TDEAction( i18n("&Part Explorer"), 0, this, TQT_SLOT(slotShowForm()),
+ TDEAction *action = new TDEAction( i18n("&Part Explorer"), 0, this, TQ_SLOT(slotShowForm()),
actionCollection(), "show_partexplorerform" );
action->setToolTip(i18n("TDETrader query execution"));
action->setWhatsThis(i18n("<b>Part explorer</b><p>Shows a dialog for TDETrader query execution. Search your TDE documentation for more information about TDE services and TDETrader."));
diff --git a/parts/partexplorer/partexplorerform.cpp b/parts/partexplorer/partexplorerform.cpp
index baf05bb2..14a926f5 100644
--- a/parts/partexplorer/partexplorerform.cpp
+++ b/parts/partexplorer/partexplorerform.cpp
@@ -131,11 +131,11 @@ PartExplorerForm::PartExplorerForm( TQWidget *parent )
// Resize dialog
resize( 480, 512 );
-// connect( m_base->typeCombo->lineEdit(), TQT_SIGNAL(returnPressed()), this, TQT_SLOT(slotSearchRequested()) );
-// connect( m_base->constraintsText, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(slotSearchRequested()) );
+// connect( m_base->typeCombo->lineEdit(), TQ_SIGNAL(returnPressed()), this, TQ_SLOT(slotSearchRequested()) );
+// connect( m_base->constraintsText, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(slotSearchRequested()) );
- connect( actionButton(User1), TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSearchRequested()) );
-// connect( m_base->typeCombo->lineEdit(), TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotServicetypeChanged( const TQString& ) ) );
+ connect( actionButton(User1), TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSearchRequested()) );
+// connect( m_base->typeCombo->lineEdit(), TQ_SIGNAL( textChanged ( const TQString & ) ), this, TQ_SLOT( slotServicetypeChanged( const TQString& ) ) );
// slotServicetypeChanged( m_base->typeCombo->lineEdit()->text() );
// populating with all known servicetypes
diff --git a/parts/quickopen/quickopen_part.cpp b/parts/quickopen/quickopen_part.cpp
index 78c97eb6..0d127a9c 100644
--- a/parts/quickopen/quickopen_part.cpp
+++ b/parts/quickopen/quickopen_part.cpp
@@ -56,26 +56,26 @@ QuickOpenPart::QuickOpenPart(TQObject *parent, const char *name, const TQStringL
setXMLFile("kdevpart_quickopen.rc");
m_actionQuickOpen = new TDEAction( i18n("Quick Open File..."), CTRL + ALT + Key_O,
- this, TQT_SLOT(slotQuickFileOpen()),
+ this, TQ_SLOT(slotQuickFileOpen()),
actionCollection(), "quick_open" );
m_actionQuickOpen->setToolTip(i18n("Quick open file in project"));
m_actionQuickOpen->setWhatsThis(i18n("<b>Quick open</b><p>Provides a file name input form with completion listbox to quickly open file in a project."));
m_actionQuickOpenClass = new TDEAction( i18n("Quick Open Class..."), CTRL + ALT + Key_C,
- this, TQT_SLOT(slotQuickOpenClass()),
+ this, TQ_SLOT(slotQuickOpenClass()),
actionCollection(), "quick_open_class" );
m_actionQuickOpenClass->setToolTip(i18n("Find class in project"));
m_actionQuickOpenClass->setWhatsThis(i18n("<b>Find class</b><p>Provides a class name input form with completion listbox to quickly open a file where the class is defined."));
- m_actionFunctionOpen = new TDEAction( i18n("Quick Open Method..."), CTRL + ALT + Key_M, this, TQT_SLOT(slotQuickOpenFunction()), actionCollection(), "quick_open_function" );
+ m_actionFunctionOpen = new TDEAction( i18n("Quick Open Method..."), CTRL + ALT + Key_M, this, TQ_SLOT(slotQuickOpenFunction()), actionCollection(), "quick_open_function" );
m_actionFunctionOpen->setToolTip(i18n("Quick open function in project"));
- m_switchToAction = new TDEAction(i18n("Switch To..."), TDEShortcut("CTRL+/"), this, TQT_SLOT(slotSwitchTo()), actionCollection(), "file_switchto");
+ m_switchToAction = new TDEAction(i18n("Switch To..."), TDEShortcut("CTRL+/"), this, TQ_SLOT(slotSwitchTo()), actionCollection(), "file_switchto");
m_switchToAction->setToolTip(i18n("Switch to"));
m_switchToAction->setWhatsThis(i18n("<b>Switch to</b><p>Prompts to enter the name of previously opened file to switch to."));
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(slotProjectClosed()) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(slotProjectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(slotProjectClosed()) );
}
diff --git a/parts/quickopen/quickopenbase.ui b/parts/quickopen/quickopenbase.ui
index 64a2ff0f..23c028c7 100644
--- a/parts/quickopen/quickopenbase.ui
+++ b/parts/quickopen/quickopenbase.ui
@@ -161,12 +161,12 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotTextChanged( const TQString &amp; )</slot>
<slot>executed( TQListBoxItem * )</slot>
<slot>slotExecuted( TQListBoxItem * )</slot>
<slot>slotReturnPressed()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">klineedit.h</include>
diff --git a/parts/quickopen/quickopenclassdialog.h b/parts/quickopen/quickopenclassdialog.h
index 3e2df273..bcd21e2e 100644
--- a/parts/quickopen/quickopenclassdialog.h
+++ b/parts/quickopen/quickopenclassdialog.h
@@ -32,7 +32,7 @@ class QuickOpenClassDialog : public QuickOpenDialog
TQ_OBJECT
public:
- QuickOpenClassDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
+ QuickOpenClassDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0 );
virtual ~QuickOpenClassDialog();
public slots:
diff --git a/parts/quickopen/quickopendialog.cpp b/parts/quickopen/quickopendialog.cpp
index 5929dfa1..dd07f2eb 100644
--- a/parts/quickopen/quickopendialog.cpp
+++ b/parts/quickopen/quickopendialog.cpp
@@ -32,7 +32,7 @@ QuickOpenDialog::QuickOpenDialog(QuickOpenPart* part, TQWidget* parent, const ch
: QuickOpenDialogBase( parent, name, modal, fl ), m_part( part )
{
nameEdit->installEventFilter(this);
- connect( &m_typeTimeout, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTextChangedDelayed()) );
+ connect( &m_typeTimeout, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTextChangedDelayed()) );
}
QuickOpenDialog::~QuickOpenDialog()
diff --git a/parts/quickopen/quickopendialog.h b/parts/quickopen/quickopendialog.h
index f768b4aa..f3dc34a7 100644
--- a/parts/quickopen/quickopendialog.h
+++ b/parts/quickopen/quickopendialog.h
@@ -37,7 +37,7 @@ class QuickOpenDialog : public QuickOpenDialogBase
public:
- QuickOpenDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
+ QuickOpenDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0 );
virtual ~QuickOpenDialog();
virtual bool eventFilter(TQObject *watched, TQEvent *e);
diff --git a/parts/quickopen/quickopenfiledialog.h b/parts/quickopen/quickopenfiledialog.h
index 2f94e0db..9e3eb22b 100644
--- a/parts/quickopen/quickopenfiledialog.h
+++ b/parts/quickopen/quickopenfiledialog.h
@@ -34,8 +34,8 @@ class QuickOpenFileDialog : public QuickOpenDialog
TQ_OBJECT
public:
- QuickOpenFileDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
- QuickOpenFileDialog(QuickOpenPart* part, const KURL::List &, TQWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
+ QuickOpenFileDialog(QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0 );
+ QuickOpenFileDialog(QuickOpenPart* part, const KURL::List &, TQWidget* parent = 0, const char* name = 0, bool modal = true, WFlags fl = 0 );
virtual ~QuickOpenFileDialog();
public slots:
diff --git a/parts/quickopen/quickopenfunctionchooseform.h b/parts/quickopen/quickopenfunctionchooseform.h
index a5dd5085..d9b8919d 100644
--- a/parts/quickopen/quickopenfunctionchooseform.h
+++ b/parts/quickopen/quickopenfunctionchooseform.h
@@ -31,7 +31,7 @@ class QuickOpenFunctionChooseForm : public QuickOpenFunctionChooseFormBase
public:
- QuickOpenFunctionChooseForm(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ QuickOpenFunctionChooseForm(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~QuickOpenFunctionChooseForm();
void setRelativePath(int id, const TQString &path) { m_relPaths[id] = path; }
diff --git a/parts/quickopen/quickopenfunctionchooseformbase.ui b/parts/quickopen/quickopenfunctionchooseformbase.ui
index 48916460..290440c1 100644
--- a/parts/quickopen/quickopenfunctionchooseformbase.ui
+++ b/parts/quickopen/quickopenfunctionchooseformbase.ui
@@ -218,10 +218,10 @@
<tabstop>okBtn</tabstop>
<tabstop>cancelBtn</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot specifier="pure virtual">slotFileChange( int id )</slot>
<slot specifier="pure virtual">slotArgsChange( int id )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">ksqueezedtextlabel.h</include>
diff --git a/parts/quickopen/quickopenfunctiondialog.h b/parts/quickopen/quickopenfunctiondialog.h
index 1927f673..53391e54 100644
--- a/parts/quickopen/quickopenfunctiondialog.h
+++ b/parts/quickopen/quickopenfunctiondialog.h
@@ -35,7 +35,7 @@ class QuickOpenFunctionDialog : public QuickOpenDialog
public:
- QuickOpenFunctionDialog( QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ QuickOpenFunctionDialog( QuickOpenPart* part, TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~QuickOpenFunctionDialog();
void gotoFile( TQString name );
diff --git a/parts/regexptest/regexptestdlgbase.ui b/parts/regexptest/regexptestdlgbase.ui
index 8d6bf504..e21bba69 100644
--- a/parts/regexptest/regexptestdlgbase.ui
+++ b/parts/regexptest/regexptestdlgbase.ui
@@ -336,11 +336,11 @@
<tabstop>cancelbutton</tabstop>
<tabstop>extendedposix_button</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="protected">insertQuoted()</slot>
<slot>somethingChanged()</slot>
<slot access="protected">showRegExpEditor()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/parts/regexptest/regexptestpart.cpp b/parts/regexptest/regexptestpart.cpp
index 1e16d144..2fec05f6 100644
--- a/parts/regexptest/regexptestpart.cpp
+++ b/parts/regexptest/regexptestpart.cpp
@@ -33,7 +33,7 @@ RegexpTestPart::RegexpTestPart(TQObject *parent, const char *name, const TQStrin
TDEAction *action;
action = new TDEAction( i18n("Debug Regular Expression..."), 0,
- this, TQT_SLOT(slotRegexpTest()),
+ this, TQ_SLOT(slotRegexpTest()),
actionCollection(), "tools_regexptest" );
action->setToolTip(i18n("Debug regular expression"));
action->setWhatsThis(i18n("<b>Debug regular expression</b><p>Allows to enter a regular expression "
diff --git a/parts/replace/replace_part.cpp b/parts/replace/replace_part.cpp
index 447548ef..d5329308 100644
--- a/parts/replace/replace_part.cpp
+++ b/parts/replace/replace_part.cpp
@@ -53,7 +53,7 @@ ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList&
mainWindow()->setViewAvailable( m_widget, false );
action = new TDEAction(i18n("Find-Select-Replace..."), 0,
- CTRL+SHIFT+Key_R, this, TQT_SLOT(slotReplace()), actionCollection(), "edit_replace_across");
+ CTRL+SHIFT+Key_R, this, TQ_SLOT(slotReplace()), actionCollection(), "edit_replace_across");
action->setToolTip( i18n("Project wide string replacement") );
action->setWhatsThis( i18n("<b>Find-Select-Replace</b><p>"
"Opens the project wide string replacement dialog. There you "
@@ -62,9 +62,9 @@ ReplacePart::ReplacePart(TQObject *parent, const char *name, const TQStringList&
"you specify. Matches will be displayed in the <b>Replace</b> window, you "
"can replace them with the specified string, exclude them from replace operation or cancel the whole replace.") );
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(enableAction()));
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(disableAction()));
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)), this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(enableAction()));
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(disableAction()));
}
void ReplacePart::enableAction()
@@ -100,7 +100,7 @@ void ReplacePart::contextMenu(TQPopupMenu *popup, const Context *context)
m_popupstr = ident;
TQString squeezed = KStringHandler::csqueeze(ident, 30);
int id = popup->insertItem( i18n("Replace Project Wide: %1").arg(squeezed),
- this, TQT_SLOT(slotReplace()) );
+ this, TQ_SLOT(slotReplace()) );
popup->setWhatsThis(id, i18n("<b>Replace Project Wide</b><p>Opens the find in files dialog "
"and sets the pattern to the text under the cursor."));
popup->insertSeparator();
diff --git a/parts/replace/replace_widget.cpp b/parts/replace/replace_widget.cpp
index 6b1bcbda..210a1c19 100644
--- a/parts/replace/replace_widget.cpp
+++ b/parts/replace/replace_widget.cpp
@@ -81,13 +81,13 @@ ReplaceWidget::ReplaceWidget(ReplacePart *part)
layout->addWidget( _listview );
// setup signals
- connect( m_dialog->find_button, TQT_SIGNAL( clicked() ), TQT_SLOT( find() ) );
+ connect( m_dialog->find_button, TQ_SIGNAL( clicked() ), TQ_SLOT( find() ) );
- connect( _replace, TQT_SIGNAL( clicked() ), TQT_SLOT( replace() ) );
- connect( _cancel, TQT_SIGNAL( clicked() ), TQT_SLOT( clear() ) );
- connect( _listview, TQT_SIGNAL( editDocument( const TQString &, int ) ), TQT_SLOT( editDocument( const TQString &, int ) ) );
+ connect( _replace, TQ_SIGNAL( clicked() ), TQ_SLOT( replace() ) );
+ connect( _cancel, TQ_SIGNAL( clicked() ), TQ_SLOT( clear() ) );
+ connect( _listview, TQ_SIGNAL( editDocument( const TQString &, int ) ), TQ_SLOT( editDocument( const TQString &, int ) ) );
- connect( m_part->core(), TQT_SIGNAL( stopButtonClicked( KDevPlugin * ) ), TQT_SLOT( stopButtonClicked( KDevPlugin * ) ) );
+ connect( m_part->core(), TQ_SIGNAL( stopButtonClicked( KDevPlugin * ) ), TQ_SLOT( stopButtonClicked( KDevPlugin * ) ) );
}
//BEGIN Slots
@@ -235,7 +235,7 @@ bool ReplaceWidget::showReplacements()
}
++it;
- kapp->processEvents( 100 );
+ tdeApp->processEvents( 100 );
}
m_part->core()->running( m_part, false );
@@ -330,7 +330,7 @@ bool ReplaceWidget::makeReplacements()
}
fileitem = fileitem->nextSibling();
- kapp->processEvents( 100 );
+ tdeApp->processEvents( 100 );
}
// Telling the project about the edited files
diff --git a/parts/replace/replacedlgimpl.cpp b/parts/replace/replacedlgimpl.cpp
index 3fcdd761..412f0545 100644
--- a/parts/replace/replacedlgimpl.cpp
+++ b/parts/replace/replacedlgimpl.cpp
@@ -41,13 +41,13 @@ ReplaceDlgImpl::ReplaceDlgImpl(TQWidget* parent, const char* name, bool modal, W
: ReplaceDlg(parent,name, modal,fl), _regexp_dialog( 0 )
{
- connect( find_button, TQT_SIGNAL( clicked() ), TQT_SLOT( saveComboHistories() ) );
- connect( regexp_button, TQT_SIGNAL( clicked() ), TQT_SLOT( showRegExpEditor() ) );
- connect( find_combo, TQT_SIGNAL( textChanged( const TQString & ) ),
- TQT_SLOT( validateFind( const TQString & ) ) );
- connect( regexp_combo, TQT_SIGNAL( textChanged ( const TQString & ) ),
- TQT_SLOT( validateExpression( const TQString & ) ) );
- connect( strings_regexp_radio, TQT_SIGNAL( toggled( bool ) ), TQT_SLOT( toggleExpression( bool ) ) );
+ connect( find_button, TQ_SIGNAL( clicked() ), TQ_SLOT( saveComboHistories() ) );
+ connect( regexp_button, TQ_SIGNAL( clicked() ), TQ_SLOT( showRegExpEditor() ) );
+ connect( find_combo, TQ_SIGNAL( textChanged( const TQString & ) ),
+ TQ_SLOT( validateFind( const TQString & ) ) );
+ connect( regexp_combo, TQ_SIGNAL( textChanged ( const TQString & ) ),
+ TQ_SLOT( validateExpression( const TQString & ) ) );
+ connect( strings_regexp_radio, TQ_SIGNAL( toggled( bool ) ), TQ_SLOT( toggleExpression( bool ) ) );
// disable the editor button if the regexp editor isn't installed
if ( TDETrader::self()->query("KRegExpEditor/KRegExpEditor").isEmpty() )
diff --git a/parts/replace/replacedlgimpl.h b/parts/replace/replacedlgimpl.h
index f71adaa6..86241999 100644
--- a/parts/replace/replacedlgimpl.h
+++ b/parts/replace/replacedlgimpl.h
@@ -12,7 +12,7 @@ class ReplaceDlgImpl : public ReplaceDlg
public:
- ReplaceDlgImpl(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ ReplaceDlgImpl(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
~ReplaceDlgImpl();
TQRegExp expressionPattern();
diff --git a/parts/replace/replaceview.cpp b/parts/replace/replaceview.cpp
index 7a797414..2304a31b 100644
--- a/parts/replace/replaceview.cpp
+++ b/parts/replace/replaceview.cpp
@@ -40,9 +40,9 @@ ReplaceView::ReplaceView( TQWidget * parent ) : TDEListView( parent ), _latestfi
pal.setActive( cg );
setPalette( pal );
- connect( this, TQT_SIGNAL( clicked( TQListViewItem * ) ), TQT_SLOT( slotClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( mouseButtonPressed( int, TQListViewItem *, const TQPoint &, int) ),
- TQT_SLOT( slotMousePressed(int, TQListViewItem *, const TQPoint &, int) ) );
+ connect( this, TQ_SIGNAL( clicked( TQListViewItem * ) ), TQ_SLOT( slotClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( mouseButtonPressed( int, TQListViewItem *, const TQPoint &, int) ),
+ TQ_SLOT( slotMousePressed(int, TQListViewItem *, const TQPoint &, int) ) );
}
void ReplaceView::makeReplacementsForFile( TQTextStream & istream, TQTextStream & ostream, ReplaceItem const * fileitem )
diff --git a/parts/scripting/scriptingglobalconfig.cpp b/parts/scripting/scriptingglobalconfig.cpp
index 6a3376f2..ca008029 100644
--- a/parts/scripting/scriptingglobalconfig.cpp
+++ b/parts/scripting/scriptingglobalconfig.cpp
@@ -28,7 +28,7 @@ scriptingGlobalConfig::scriptingGlobalConfig(scriptingPart *part, TQWidget *pare
: scriptingGlobalConfigBase(parent, name), m_part(part)
{
// read tdeconfig and post list to the m_dirs
- TDEConfig *cfg = kapp->config();
+ TDEConfig *cfg = tdeApp->config();
TQStringList searchDirs = cfg->readListEntry("SearchDirs");
m_dirs->clear();
m_dirs->insertStringList(searchDirs);
@@ -37,7 +37,7 @@ scriptingGlobalConfig::scriptingGlobalConfig(scriptingPart *part, TQWidget *pare
void scriptingGlobalConfig::accept()
{
// read mdirs and save to tdeconfig
- TDEConfig *cfg = kapp->config();
+ TDEConfig *cfg = tdeApp->config();
if( !m_dirs->isEnabled() )
cfg->writeEntry("SearchDirs", TQStringList() );
else
diff --git a/parts/scripting/scriptingpart.cpp b/parts/scripting/scriptingpart.cpp
index d0558b79..17aa5b51 100644
--- a/parts/scripting/scriptingpart.cpp
+++ b/parts/scripting/scriptingpart.cpp
@@ -55,12 +55,12 @@ scriptingPart::scriptingPart(TQObject *parent, const char *name, const TQStringL
m_configProxy = new ConfigWidgetProxy(core());
m_configProxy->createGlobalConfigPage(i18n("Scripting"), GLOBALDOC_OPTIONS, info()->icon());
- connect(m_configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)));
+ connect(m_configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)));
- TQTimer::singleShot(0, this, TQT_SLOT(init()));
+ TQTimer::singleShot(0, this, TQ_SLOT(init()));
}
scriptingPart::~scriptingPart()
@@ -83,7 +83,7 @@ void scriptingPart::setupActions()
TQStringList searchDirs;
searchDirs += "kate/scripts";
- TDEConfig *cfg = kapp->config();
+ TDEConfig *cfg = tdeApp->config();
searchDirs += cfg->readListEntry("SearchDirs");
unplugActionList(TQString::fromLatin1( "script_actions" ));
@@ -98,7 +98,7 @@ void scriptingPart::insertConfigWidget(const KDialogBase *dlg, TQWidget *page, u
case GLOBALDOC_OPTIONS:
{
scriptingGlobalConfig *w = new scriptingGlobalConfig(this, page, "global config");
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
break;
}
}
diff --git a/parts/snippet/snippet_part.cpp b/parts/snippet/snippet_part.cpp
index 1c650ce2..75815de5 100644
--- a/parts/snippet/snippet_part.cpp
+++ b/parts/snippet/snippet_part.cpp
@@ -51,12 +51,12 @@ SnippetPart::SnippetPart(TQObject *parent, const char *name, const TQStringList&
mainWindow()->embedSelectViewRight( m_widget, i18n("Code Snippets"), i18n("Insert a code snippet") );
- connect( core(), TQT_SIGNAL( configWidget( KDialogBase * ) ), this, TQT_SLOT( slotConfigWidget( KDialogBase * ) ) );
+ connect( core(), TQ_SIGNAL( configWidget( KDialogBase * ) ), this, TQ_SLOT( slotConfigWidget( KDialogBase * ) ) );
/*The next two connects are used to check if certain SnippetGroups need to be opened
according to the languages supported by this project*/
- connect( core(), TQT_SIGNAL( projectOpened() ), m_widget, TQT_SLOT( languageChanged() ) );
- connect( core(), TQT_SIGNAL( languageChanged() ), m_widget, TQT_SLOT( languageChanged() ) );
+ connect( core(), TQ_SIGNAL( projectOpened() ), m_widget, TQ_SLOT( languageChanged() ) );
+ connect( core(), TQ_SIGNAL( languageChanged() ), m_widget, TQ_SLOT( languageChanged() ) );
setupActions();
}
@@ -73,7 +73,7 @@ SnippetPart::~SnippetPart()
void SnippetPart::setupActions()
{
- new TDEAction( i18n("Show Snippet Tree"), CTRL+ALT+SHIFT+Key_S, this, TQT_SLOT(slotShowView()), actionCollection(), "snippet_showview");
+ new TDEAction( i18n("Show Snippet Tree"), CTRL+ALT+SHIFT+Key_S, this, TQ_SLOT(slotShowView()), actionCollection(), "snippet_showview");
}
/*!
@@ -105,7 +105,7 @@ void SnippetPart::slotConfigWidget( KDialogBase *dlg )
w->leDelimiter->setText(m_widget->getSnippetConfig()->getDelimiter());
w->cbToolTip->setChecked(m_widget->getSnippetConfig()->useToolTips());
w->btnGroupAutoOpen->setButton(m_widget->getSnippetConfig()->getAutoOpenGroups());
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotOKClicked()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(slotOKClicked()) );
}
diff --git a/parts/snippet/snippet_widget.cpp b/parts/snippet/snippet_widget.cpp
index 9cd4ae4b..a8f47da7 100644
--- a/parts/snippet/snippet_widget.cpp
+++ b/parts/snippet/snippet_widget.cpp
@@ -51,7 +51,7 @@ SnippetWidget::SnippetWidget(SnippetPart *part)
m_part( part )
{
// init the TQPtrList
- _list.setAutoDelete(TRUE);
+ _list.setAutoDelete(true);
// init the TDEListView
setSorting( -1 );
@@ -64,20 +64,20 @@ SnippetWidget::SnippetWidget(SnippetPart *part)
setRootIsDecorated(true);
//connect the signals
- connect( this, TQT_SIGNAL( contextMenuRequested ( TQListViewItem *, const TQPoint & , int ) ),
- this, TQT_SLOT( showPopupMenu(TQListViewItem *, const TQPoint & , int ) ) );
+ connect( this, TQ_SIGNAL( contextMenuRequested ( TQListViewItem *, const TQPoint & , int ) ),
+ this, TQ_SLOT( showPopupMenu(TQListViewItem *, const TQPoint & , int ) ) );
- connect( this, TQT_SIGNAL( executed (TQListViewItem *) ),
- this, TQT_SLOT( slotExecuted( TQListViewItem *) ) );
- connect( this, TQT_SIGNAL( returnPressed (TQListViewItem *) ),
- this, TQT_SLOT( slotExecuted( TQListViewItem *) ) );
+ connect( this, TQ_SIGNAL( executed (TQListViewItem *) ),
+ this, TQ_SLOT( slotExecuted( TQListViewItem *) ) );
+ connect( this, TQ_SIGNAL( returnPressed (TQListViewItem *) ),
+ this, TQ_SLOT( slotExecuted( TQListViewItem *) ) );
- connect( this, TQT_SIGNAL( dropped(TQDropEvent *, TQListViewItem *) ),
- this, TQT_SLOT( slotDropped(TQDropEvent *, TQListViewItem *) ) );
+ connect( this, TQ_SIGNAL( dropped(TQDropEvent *, TQListViewItem *) ),
+ this, TQ_SLOT( slotDropped(TQDropEvent *, TQListViewItem *) ) );
_cfg = 0;
- TQTimer::singleShot(0, this, TQT_SLOT(initConfig()));
+ TQTimer::singleShot(0, this, TQ_SLOT(initConfig()));
}
SnippetWidget::~SnippetWidget()
@@ -226,7 +226,7 @@ void SnippetWidget::slotEdit()
pSnippet->resetParent();
}
- setSelected(item, TRUE);
+ setSelected(item, true);
}
}
@@ -248,7 +248,7 @@ void SnippetWidget::slotEditGroup()
dlg.snippetName->setText(pGroup->getName());
dlg.snippetText->setText(pGroup->getText());
dlg.btnAdd->setText(i18n("&Apply"));
- dlg.snippetText->setEnabled(FALSE);
+ dlg.snippetText->setEnabled(false);
dlg.setCaption(i18n("Edit Group"));
dlg.cbGroup->insertItem(i18n("All"));
dlg.cbGroup->insertStringList(m_part->getAllLanguages());
@@ -261,7 +261,7 @@ void SnippetWidget::slotEditGroup()
pGroup->setName( dlg.snippetName->text() );
pGroup->setLanguage(dlg.cbGroup->currentText());
- setSelected(item, TRUE);
+ setSelected(item, true);
}
}
@@ -452,9 +452,9 @@ void SnippetWidget::initConfig()
kdDebug(9035) << "Created group " << group->getName() << " " << group->getId() << endl;
_list.append(group);
if (group->getLanguage() == i18n("All"))
- group->setOpen(TRUE);
+ group->setOpen(true);
else
- group->setOpen(FALSE); //groups assigned to certain languages get handled later
+ group->setOpen(false); //groups assigned to certain languages get handled later
}
}
@@ -551,19 +551,19 @@ void SnippetWidget::showPopupMenu( TQListViewItem * item, const TQPoint & p, int
if ( item ) {
popup.insertTitle( selectedItem->getName() );
- popup.insertItem( i18n("Add Item..."), this, TQT_SLOT( slotAdd() ) );
- popup.insertItem( i18n("Add Group..."), this, TQT_SLOT( slotAddGroup() ) );
+ popup.insertItem( i18n("Add Item..."), this, TQ_SLOT( slotAdd() ) );
+ popup.insertItem( i18n("Add Group..."), this, TQ_SLOT( slotAddGroup() ) );
if (dynamic_cast<SnippetGroup*>(item)) {
- popup.insertItem( i18n("Edit..."), this, TQT_SLOT( slotEditGroup() ) );
+ popup.insertItem( i18n("Edit..."), this, TQ_SLOT( slotEditGroup() ) );
} else {
- popup.insertItem( i18n("Edit..."), this, TQT_SLOT( slotEdit() ) );
+ popup.insertItem( i18n("Edit..."), this, TQ_SLOT( slotEdit() ) );
}
- popup.insertItem( i18n("Remove"), this, TQT_SLOT( slotRemove() ) );
+ popup.insertItem( i18n("Remove"), this, TQ_SLOT( slotRemove() ) );
} else {
popup.insertTitle(i18n("Code Snippets"));
- popup.insertItem( i18n("Add Group..."), this, TQT_SLOT( slotAddGroup() ) );
+ popup.insertItem( i18n("Add Group..."), this, TQ_SLOT( slotAddGroup() ) );
}
popup.exec(p);
@@ -694,7 +694,7 @@ bool SnippetWidget::showMultiVarDialog(TQMap<TQString, TQString> * map, TQMap<TQ
continue;
cb = new TQCheckBox( &dlg, "cbVar" );
- cb->setChecked( FALSE );
+ cb->setChecked( false );
cb->setText(it.key());
layoutVar->addWidget( cb, i ,0, TQt::AlignTop );
@@ -702,7 +702,7 @@ bool SnippetWidget::showMultiVarDialog(TQMap<TQString, TQString> * map, TQMap<TQ
layoutVar->addWidget( te, i, 1, TQt::AlignTop );
if ((*mapSave)[it.key()].length() > 0) {
- cb->setChecked( TRUE );
+ cb->setChecked( true );
te->setText((*mapSave)[it.key()]);
}
@@ -726,7 +726,7 @@ bool SnippetWidget::showMultiVarDialog(TQMap<TQString, TQString> * map, TQMap<TQ
KPushButton * btn2 = new KPushButton( &dlg, "pushButton2" );
btn2->setText(i18n("&Apply"));
- btn2->setDefault( TRUE );
+ btn2->setDefault( true );
btn2->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0,
btn2->sizePolicy().hasHeightForWidth() ) );
layoutBtn->addWidget( btn2, 0, 1 );
@@ -735,8 +735,8 @@ bool SnippetWidget::showMultiVarDialog(TQMap<TQString, TQString> * map, TQMap<TQ
// --END-- building a dynamic dialog
//connect the buttons to the TQDialog default slots
- connect(btn1, TQT_SIGNAL(clicked()), &dlg, TQT_SLOT(reject()) );
- connect(btn2, TQT_SIGNAL(clicked()), &dlg, TQT_SLOT(accept()) );
+ connect(btn1, TQ_SIGNAL(clicked()), &dlg, TQ_SLOT(reject()) );
+ connect(btn2, TQ_SIGNAL(clicked()), &dlg, TQ_SLOT(accept()) );
//prepare to execute the dialog
bool bReturn = false;
@@ -816,14 +816,14 @@ TQString SnippetWidget::showSingleVarDialog(TQString var, TQMap<TQString, TQStri
cb = new TQCheckBox( &dlg, "cbVar" );
- cb->setChecked( FALSE );
+ cb->setChecked( false );
cb->setText(i18n( "Make value &default" ));
te = new KTextEdit( &dlg, "teVar" );
layoutVar->addWidget( te, 0, 1, TQt::AlignTop);
layoutVar->addWidget( cb, 1, 1, TQt::AlignTop);
if ((*mapSave)[var].length() > 0) {
- cb->setChecked( TRUE );
+ cb->setChecked( true );
te->setText((*mapSave)[var]);
}
@@ -840,7 +840,7 @@ TQString SnippetWidget::showSingleVarDialog(TQString var, TQMap<TQString, TQStri
KPushButton * btn2 = new KPushButton( &dlg, "pushButton2" );
btn2->setText(i18n("&Apply"));
- btn2->setDefault( TRUE );
+ btn2->setDefault( true );
layoutBtn->addWidget( btn2, 0, 1 );
layout->addMultiCellLayout( layoutBtn, 2, 2, 0, 1 );
@@ -848,8 +848,8 @@ TQString SnippetWidget::showSingleVarDialog(TQString var, TQMap<TQString, TQStri
// --END-- building a dynamic dialog
//connect the buttons to the TQDialog default slots
- connect(btn1, TQT_SIGNAL(clicked()), &dlg, TQT_SLOT(reject()) );
- connect(btn2, TQT_SIGNAL(clicked()), &dlg, TQT_SLOT(accept()) );
+ connect(btn1, TQ_SIGNAL(clicked()), &dlg, TQ_SLOT(reject()) );
+ connect(btn2, TQ_SIGNAL(clicked()), &dlg, TQ_SLOT(accept()) );
//execute the dialog
TQString strReturn = "";
@@ -896,12 +896,12 @@ bool SnippetWidget::acceptDrag (TQDropEvent *event) const
if (item &&
TQString(event->format()).startsWith("text/plain") &&
static_cast<SnippetWidget *>(event->source()) != this) {
- kdDebug(9035) << "returning TRUE " << endl;
- return TRUE;
+ kdDebug(9035) << "returning true " << endl;
+ return true;
} else {
- kdDebug(9035) << "returning FALSE" << endl;
- event->acceptAction(FALSE);
- return FALSE;
+ kdDebug(9035) << "returning false" << endl;
+ event->acceptAction(false);
+ return false;
}
}
@@ -959,9 +959,9 @@ void SnippetWidget::languageChanged()
SnippetGroup * group = dynamic_cast<SnippetGroup*>(it);
if (group) {
if (group->getLanguage() == i18n("All") || langs.contains(group->getLanguage())) {
- group->setOpen(TRUE);
+ group->setOpen(true);
} else {
- group->setOpen(FALSE);
+ group->setOpen(false);
}
}
}
diff --git a/parts/snippet/snippetdlg.ui b/parts/snippet/snippetdlg.ui
index f7bafb74..7b924164 100644
--- a/parts/snippet/snippetdlg.ui
+++ b/parts/snippet/snippetdlg.ui
@@ -197,9 +197,9 @@
<tabstop>btnAdd</tabstop>
<tabstop>btnCancel</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot>slotHelp()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kcombobox.h</include>
diff --git a/parts/texttools/texttoolspart.cpp b/parts/texttools/texttoolspart.cpp
index 7e38f061..26cb14de 100644
--- a/parts/texttools/texttoolspart.cpp
+++ b/parts/texttools/texttoolspart.cpp
@@ -36,8 +36,8 @@ TextToolsPart::TextToolsPart(TQObject *parent, const char *name, const TQStringL
m_widget = 0;
- connect( partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)),
- this, TQT_SLOT(activePartChanged(KParts::Part*)) );
+ connect( partController(), TQ_SIGNAL(activePartChanged(KParts::Part*)),
+ this, TQ_SLOT(activePartChanged(KParts::Part*)) );
}
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index c6df3310..f1e31ca1 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -68,14 +68,14 @@ TextToolsWidget::TextToolsWidget(TextToolsPart *part, TQWidget *parent, const ch
m_part = part;
m_timer = new TQTimer(this);
- connect( this, TQT_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
- this, TQT_SLOT(slotItemPressed(int,TQListViewItem*)) );
- // connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
- // this, TQT_SLOT(slotItemPressed(int,TQListViewItem*)) );
- connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)),
- this, TQT_SLOT(slotReturnPressed(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
+ connect( this, TQ_SIGNAL(mouseButtonPressed(int, TQListViewItem*, const TQPoint&, int)),
+ this, TQ_SLOT(slotItemPressed(int,TQListViewItem*)) );
+ // connect( this, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ // this, TQ_SLOT(slotItemPressed(int,TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(returnPressed(TQListViewItem*)),
+ this, TQ_SLOT(slotReturnPressed(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
}
@@ -171,8 +171,8 @@ void TextToolsWidget::stop()
void TextToolsWidget::setMode(Mode mode, KParts::Part *part)
{
- connect( part, TQT_SIGNAL(textChanged()),
- this, TQT_SLOT(startTimer()) );
+ connect( part, TQ_SIGNAL(textChanged()),
+ this, TQ_SLOT(startTimer()) );
m_editIface = dynamic_cast<KTextEditor::EditInterface*>(part);
switch (mode) {
@@ -181,18 +181,18 @@ void TextToolsWidget::setMode(Mode mode, KParts::Part *part)
<< "table" << "tr";
m_emptyTags << "br" << "hr" << "img" << "input" << "p" << "meta";
- connect( m_timer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(parseXML()) );
+ connect( m_timer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(parseXML()) );
break;
case Docbook:
m_relevantTags << "chapter" << "sect1" << "sect2"
<< "para" << "formalpara";
- connect( m_timer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(parseXML()) );
+ connect( m_timer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(parseXML()) );
break;
case LaTeX:
- connect( m_timer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(parseLaTeX()) );
+ connect( m_timer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(parseLaTeX()) );
break;
default: ;
}
diff --git a/parts/tipofday/tipofday_part.cpp b/parts/tipofday/tipofday_part.cpp
index 9172d44b..3668783d 100644
--- a/parts/tipofday/tipofday_part.cpp
+++ b/parts/tipofday/tipofday_part.cpp
@@ -12,7 +12,7 @@
#include <kdevplugininfo.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <ktextbrowser.h>
#include <ktip.h>
@@ -34,19 +34,19 @@ TipOfDayPart::TipOfDayPart(TQObject *parent, const char *name, const TQStringLis
TDEAction *action;
action = new TDEAction(i18n("&Tip of the Day"), "idea", 0,
- this, TQT_SLOT(showTip()), actionCollection(), "help_tipofday");
+ this, TQ_SLOT(showTip()), actionCollection(), "help_tipofday");
action->setToolTip(i18n("A tip how to use TDevelop"));
action->setWhatsThis(i18n("<b>Tip of the day</b><p>"
"Will display another good tip \n"
"contributed by KDevelop users."));
- connect(core(), TQT_SIGNAL(coreInitialized()), this, TQT_SLOT(showOnStart()));
+ connect(core(), TQ_SIGNAL(coreInitialized()), this, TQ_SLOT(showOnStart()));
}
TQString TipOfDayPart::getFilename()
{
- TDEConfig * config = TDEApplication::kApplication()->config();
+ TDEConfig * config = tdeApp->config();
config->setGroup("Tip of day plugin");
return config->readEntry("TipsFile", "kdevtipofday/tips");
}
diff --git a/parts/tools/addtooldlg.ui b/parts/tools/addtooldlg.ui
index ece7a089..79dd24ae 100644
--- a/parts/tools/addtooldlg.ui
+++ b/parts/tools/addtooldlg.ui
@@ -226,11 +226,11 @@ executed.&lt;/p&gt;</string>
<forwards>
<forward>class TQListViewItem;</forward>
</forwards>
-<Q_SLOTS>
+<slots>
<slot>init()</slot>
<slot returnType="TQString">getApp()</slot>
<slot access="private">treeSelectionChanged( TQListViewItem * lvi )</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/parts/tools/addtooldlg.ui.h b/parts/tools/addtooldlg.ui.h
index fea69766..61b52809 100644
--- a/parts/tools/addtooldlg.ui.h
+++ b/parts/tools/addtooldlg.ui.h
@@ -12,7 +12,7 @@
void AddToolDialog::init()
{
- connect( tree, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(treeSelectionChanged(TQListViewItem*)) );
+ connect( tree, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(treeSelectionChanged(TQListViewItem*)) );
tree->header()->hide();
}
diff --git a/parts/tools/kapplicationtree.cpp b/parts/tools/kapplicationtree.cpp
index 8c13a4ea..cd587e96 100644
--- a/parts/tools/kapplicationtree.cpp
+++ b/parts/tools/kapplicationtree.cpp
@@ -36,7 +36,7 @@
#include <tdeapplication.h>
#include <kbuttonbox.h>
#include <kcombobox.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdialog.h>
#include <tdeglobal.h>
#include <klineedit.h>
@@ -44,7 +44,7 @@
#include <kiconloader.h>
#include <kmimemagic.h>
#include <krun.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <kstringhandler.h>
#include <kuserprofile.h>
#include <kurlcompletion.h>
@@ -139,8 +139,8 @@ KDevApplicationTree::KDevApplicationTree( TQWidget *parent, const char* name )
addDesktopGroup( TQString() );
- connect( this, TQT_SIGNAL( currentChanged(TQListViewItem*) ), TQT_SLOT( slotItemHighlighted(TQListViewItem*) ) );
- connect( this, TQT_SIGNAL( selectionChanged(TQListViewItem*) ), TQT_SLOT( slotSelectionChanged(TQListViewItem*) ) );
+ connect( this, TQ_SIGNAL( currentChanged(TQListViewItem*) ), TQ_SLOT( slotItemHighlighted(TQListViewItem*) ) );
+ connect( this, TQ_SIGNAL( selectionChanged(TQListViewItem*) ), TQ_SLOT( slotSelectionChanged(TQListViewItem*) ) );
}
// ----------------------------------------------------------------------
diff --git a/parts/tools/tools_part.cpp b/parts/tools/tools_part.cpp
index 5487bc77..66fd442b 100644
--- a/parts/tools/tools_part.cpp
+++ b/parts/tools/tools_part.cpp
@@ -11,12 +11,12 @@
#include <tdeapplication.h>
#include <tdeconfig.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdialogbase.h>
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdeparts/part.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdetexteditor/document.h>
#include "kdevcore.h"
@@ -49,17 +49,17 @@ ToolsPart::ToolsPart(TQObject *parent, const char *name, const TQStringList &)
m_configProxy = new ConfigWidgetProxy( core() );
m_configProxy->createGlobalConfigPage( i18n("Tools Menu"), TOOLSSETTINGS, info()->icon() );
m_configProxy->createGlobalConfigPage( i18n("External Tools"), EXTRATOOLSSETTINGS, info()->icon() );
- connect( m_configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( m_configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- connect(core(), TQT_SIGNAL(coreInitialized()), this, TQT_SLOT(updateMenu()));
+ connect(core(), TQ_SIGNAL(coreInitialized()), this, TQ_SLOT(updateMenu()));
- connect( core(), TQT_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
- this, TQT_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
+ connect( core(), TQ_SIGNAL(contextMenu(TQPopupMenu *, const Context *)),
+ this, TQ_SLOT(contextMenu(TQPopupMenu *, const Context *)) );
// Apparently action lists can only be plugged after the
// xmlgui client has been registered
- TQTimer::singleShot(0, this, TQT_SLOT(updateToolsMenu()));
+ TQTimer::singleShot(0, this, TQ_SLOT(updateToolsMenu()));
}
@@ -73,14 +73,14 @@ void ToolsPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page, un
if ( pagenumber == TOOLSSETTINGS )
{
ToolsConfig *w = new ToolsConfig( page, "tools config widget" );
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
- connect(dlg, TQT_SIGNAL(destroyed()), this, TQT_SLOT(updateMenu()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(destroyed()), this, TQ_SLOT(updateMenu()));
}
else if ( pagenumber == EXTRATOOLSSETTINGS )
{
ToolsConfigWidget *w2 = new ToolsConfigWidget( page, "tools config widget" );
- connect(dlg, TQT_SIGNAL(okClicked()), w2, TQT_SLOT(accept()));
- connect(dlg, TQT_SIGNAL(destroyed()), this, TQT_SLOT(updateToolsMenu()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w2, TQ_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(destroyed()), this, TQ_SLOT(updateToolsMenu()));
}
}
@@ -98,12 +98,12 @@ void ToolsPart::updateMenu()
{
TQString name = *it;
- KDesktopFile df(name, true);
+ TDEDesktopFile df(name, true);
if (df.readName().isNull())
continue;
TDEAction *action = new TDEAction(df.readName(), df.readIcon(), 0,
- this, TQT_SLOT(slotToolActivated()), (TQObject*)0, name.latin1());
+ this, TQ_SLOT(slotToolActivated()), (TQObject*)0, name.latin1());
actions.append(action);
}
@@ -114,7 +114,7 @@ void ToolsPart::updateMenu()
void ToolsPart::slotToolActivated()
{
TQString df = sender()->name();
- kapp->startServiceByDesktopPath(df);
+ tdeApp->startServiceByDesktopPath(df);
}
void ToolsPart::startCommand(TQString cmdline, bool captured, TQString fileName)
@@ -180,10 +180,10 @@ void ToolsPart::updateToolsMenu()
config->setGroup("Tool Menu " + menutext);
bool isdesktopfile = config->readBoolEntry("DesktopFile");
TDEAction *action = new TDEAction(*it, 0,
- this, TQT_SLOT(toolsMenuActivated()),
+ this, TQ_SLOT(toolsMenuActivated()),
(TQObject*) 0, menutext.utf8());
if (isdesktopfile) {
- KDesktopFile df(config->readPathEntry("CommandLine"));
+ TDEDesktopFile df(config->readPathEntry("CommandLine"));
action->setIcon(df.readIcon());
}
actions.append(action);
@@ -212,12 +212,12 @@ void ToolsPart::contextMenu(TQPopupMenu *popup, const Context *context)
TQStringList l = config->readListEntry("Dir Context");
TQStringList::ConstIterator it;
for (it = l.begin(); it != l.end(); ++it)
- externalToolMenuEntries.insert( popup->insertItem( (*it), this, TQT_SLOT(dirContextActivated(int)) ), (*it) );
+ externalToolMenuEntries.insert( popup->insertItem( (*it), this, TQ_SLOT(dirContextActivated(int)) ), (*it) );
} else {
TQStringList l = config->readListEntry("File Context");
TQStringList::ConstIterator it;
for (it = l.begin(); it != l.end(); ++it)
- externalToolMenuEntries.insert( popup->insertItem( (*it), this, TQT_SLOT(fileContextActivated(int)) ), (*it) );
+ externalToolMenuEntries.insert( popup->insertItem( (*it), this, TQ_SLOT(fileContextActivated(int)) ), (*it) );
}
}
@@ -234,7 +234,7 @@ void ToolsPart::toolsMenuActivated()
<< "with cmdline " << cmdline
<< "and desktopfile " << isdesktopfile << endl;
if (isdesktopfile)
- kapp->startServiceByDesktopPath(cmdline);
+ tdeApp->startServiceByDesktopPath(cmdline);
else
startCommand(cmdline, captured, TQString());
}
diff --git a/parts/tools/toolsconfig.cpp b/parts/tools/toolsconfig.cpp
index f21713e9..bedbd59f 100644
--- a/parts/tools/toolsconfig.cpp
+++ b/parts/tools/toolsconfig.cpp
@@ -8,7 +8,7 @@
#include <tqheader.h>
#include <tdeapplication.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdialog.h>
#include <kiconloader.h>
#include <tdelocale.h>
@@ -50,13 +50,13 @@ void ToolsConfig::showEvent(TQShowEvent *e)
_toList->show();
vbox->addWidget(_toList);
- connect(_toList, TQT_SIGNAL(clicked()), this, TQT_SLOT(toList()));
+ connect(_toList, TQ_SIGNAL(clicked()), this, TQ_SLOT(toList()));
_toTree = new TQPushButton(TQApplication::reverseLayout() ? ">>" : "<<", this);
_toTree->show();
vbox->addWidget(_toTree);
- connect(_toTree, TQT_SIGNAL(clicked()), this, TQT_SLOT(toTree()));
+ connect(_toTree, TQ_SIGNAL(clicked()), this, TQ_SLOT(toTree()));
vbox = new TQVBoxLayout(hbox);
_list = new TQListBox(this);
@@ -72,8 +72,8 @@ void ToolsConfig::showEvent(TQShowEvent *e)
fill();
checkButtons();
- connect(_tree, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(checkButtons()));
- connect(_list, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(checkButtons()));
+ connect(_tree, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(checkButtons()));
+ connect(_list, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(checkButtons()));
}
@@ -100,7 +100,7 @@ void ToolsConfig::fill()
void ToolsConfig::add(const TQString &desktopFile)
{
- KDesktopFile df(desktopFile, true);
+ TDEDesktopFile df(desktopFile, true);
if (df.readName().isEmpty())
return;
diff --git a/parts/tools/toolsconfigwidget.cpp b/parts/tools/toolsconfigwidget.cpp
index 22d705c2..bfc9efbe 100644
--- a/parts/tools/toolsconfigwidget.cpp
+++ b/parts/tools/toolsconfigwidget.cpp
@@ -19,7 +19,7 @@
#include <tdeconfig.h>
#include <tdeversion.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kiconloader.h>
#include <tdemessagebox.h>
#include <kurl.h>
@@ -113,7 +113,7 @@ void ToolsConfigWidget::fillListBox(TQListBox *lb, const TQDict<ToolsConfigEntry
for (; it.current(); ++it) {
ToolsConfigEntry *entry = it.current();
if (entry->isdesktopfile) {
- KDesktopFile df(entry->cmdline);
+ TDEDesktopFile df(entry->cmdline);
lb->insertItem(SmallIcon(df.readIcon()), entry->menutext);
} else {
lb->insertItem(entry->menutext);
@@ -259,8 +259,8 @@ bool ToolsConfigWidget::eventFilter(TQObject *o, TQEvent *e)
if (KURLDrag::decode(de, fileList)) {
KURL::List::ConstIterator it;
for (it = fileList.begin(); it != fileList.end(); ++it) {
- if ((*it).isLocalFile() && KDesktopFile::isDesktopFile((*it).path())) {
- KDesktopFile df((*it).path());
+ if ((*it).isLocalFile() && TDEDesktopFile::isDesktopFile((*it).path())) {
+ TDEDesktopFile df((*it).path());
ToolsConfigEntry *entry = new ToolsConfigEntry;
entry->menutext = df.readName();
entry->cmdline = (*it).path();
diff --git a/parts/tools/toolsconfigwidgetbase.ui b/parts/tools/toolsconfigwidgetbase.ui
index 67f9b7b5..4f9dfc4c 100644
--- a/parts/tools/toolsconfigwidgetbase.ui
+++ b/parts/tools/toolsconfigwidgetbase.ui
@@ -397,14 +397,14 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot access="protected">dircontextaddClicked()</slot>
<slot access="protected">filecontextaddClicked()</slot>
<slot access="protected">filecontextremoveClicked()</slot>
<slot access="protected">dircontextremoveClicked()</slot>
<slot access="protected">toolsmenuaddClicked()</slot>
<slot access="protected">toolsmenuremoveClicked()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/parts/uimode/uichooser.ui b/parts/uimode/uichooser.ui
index 98fe652f..bf9f71d3 100644
--- a/parts/uimode/uichooser.ui
+++ b/parts/uimode/uichooser.ui
@@ -242,9 +242,9 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
-<Q_SLOTS>
+<slots>
<slot access="protected">maybeEnableCloseOnHover(bool)</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>
diff --git a/parts/uimode/uichooser_part.cpp b/parts/uimode/uichooser_part.cpp
index a547bdef..a8b40350 100644
--- a/parts/uimode/uichooser_part.cpp
+++ b/parts/uimode/uichooser_part.cpp
@@ -25,8 +25,8 @@ UIChooserPart::UIChooserPart(TQObject *parent, const char *name, const TQStringL
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createGlobalConfigPage( i18n("User Interface"), UICHOOSERSETTINGSPAGE, info()->icon() );
- connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
+ connect( _configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
}
@@ -42,7 +42,7 @@ void UIChooserPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page
if ( pagenumber == UICHOOSERSETTINGSPAGE )
{
UIChooserWidget * w = new UIChooserWidget( this, page, "UIChooser widget" );
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
}
}
diff --git a/parts/uimode/uichooser_widget.cpp b/parts/uimode/uichooser_widget.cpp
index cb75ec02..481670c1 100644
--- a/parts/uimode/uichooser_widget.cpp
+++ b/parts/uimode/uichooser_widget.cpp
@@ -36,7 +36,7 @@ UIChooserWidget::UIChooserWidget( UIChooserPart * part, TQWidget *parent, const
void UIChooserWidget::load()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("UI");
int mdistyle = config->readNumEntry( "MDIStyle", 1 );
@@ -86,7 +86,7 @@ void UIChooserWidget::load()
void UIChooserWidget::save()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("UI");
if ( AlwaysShowTabs->isChecked() )
diff --git a/parts/valgrind/dialog_widget.ui b/parts/valgrind/dialog_widget.ui
index 74b4a941..f09997c1 100644
--- a/parts/valgrind/dialog_widget.ui
+++ b/parts/valgrind/dialog_widget.ui
@@ -331,10 +331,10 @@
<tabstop>ctParamEdit</tabstop>
<tabstop>kcExecutableEdit</tabstop>
</tabstops>
-<Q_SLOTS>
+<slots>
<slot access="private" specifier="non virtual">checkBoxToggled()</slot>
<slot>init()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includes>
diff --git a/parts/valgrind/valgrind_dialog.cpp b/parts/valgrind/valgrind_dialog.cpp
index 23d45735..ccf2fb8e 100644
--- a/parts/valgrind/valgrind_dialog.cpp
+++ b/parts/valgrind/valgrind_dialog.cpp
@@ -3,11 +3,11 @@
#include <tqregexp.h>
#include <tqwidgetstack.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdelocale.h>
#include <kurlrequester.h>
#include <klineedit.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include <tdemessagebox.h>
#include "dialog_widget.h"
@@ -25,10 +25,10 @@ ValgrindDialog::ValgrindDialog( Type type, TQWidget* parent )
w->executableEdit->setFocus();
w->stack->raiseWidget(m_type);
setMainWidget( w );
- connect( w->executableEdit->lineEdit(), TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( valgrindTextChanged()));
- connect( w->valExecutableEdit->lineEdit(), TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( valgrindTextChanged()));
- connect( w->ctExecutableEdit->lineEdit(), TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( valgrindTextChanged()));
- connect( w->kcExecutableEdit->lineEdit(), TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( valgrindTextChanged()));
+ connect( w->executableEdit->lineEdit(), TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( valgrindTextChanged()));
+ connect( w->valExecutableEdit->lineEdit(), TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( valgrindTextChanged()));
+ connect( w->ctExecutableEdit->lineEdit(), TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( valgrindTextChanged()));
+ connect( w->kcExecutableEdit->lineEdit(), TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( valgrindTextChanged()));
enableButtonOK( false );
}
diff --git a/parts/valgrind/valgrind_part.cpp b/parts/valgrind/valgrind_part.cpp
index 5c78d952..b857ee53 100644
--- a/parts/valgrind/valgrind_part.cpp
+++ b/parts/valgrind/valgrind_part.cpp
@@ -8,7 +8,7 @@
#include <tdelocale.h>
#include <kdevgenericfactory.h>
#include <tdeaction.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdemessagebox.h>
#include <tdefiledialog.h>
#include <kdebug.h>
@@ -33,16 +33,16 @@ ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringLi
setXMLFile( "kdevpart_valgrind.rc" );
proc = new KShellProcess();
- connect( proc, TQT_SIGNAL(receivedStdout( TDEProcess*, char*, int )),
- this, TQT_SLOT(receivedStdout( TDEProcess*, char*, int )) );
- connect( proc, TQT_SIGNAL(receivedStderr( TDEProcess*, char*, int )),
- this, TQT_SLOT(receivedStderr( TDEProcess*, char*, int )) );
- connect( proc, TQT_SIGNAL(processExited( TDEProcess* )),
- this, TQT_SLOT(processExited( TDEProcess* )) );
- connect( core(), TQT_SIGNAL(stopButtonClicked(KDevPlugin*)),
- this, TQT_SLOT(slotStopButtonClicked(KDevPlugin*)) );
- connect( core(), TQT_SIGNAL(projectOpened()),
- this, TQT_SLOT(projectOpened()) );
+ connect( proc, TQ_SIGNAL(receivedStdout( TDEProcess*, char*, int )),
+ this, TQ_SLOT(receivedStdout( TDEProcess*, char*, int )) );
+ connect( proc, TQ_SIGNAL(receivedStderr( TDEProcess*, char*, int )),
+ this, TQ_SLOT(receivedStderr( TDEProcess*, char*, int )) );
+ connect( proc, TQ_SIGNAL(processExited( TDEProcess* )),
+ this, TQ_SLOT(processExited( TDEProcess* )) );
+ connect( core(), TQ_SIGNAL(stopButtonClicked(KDevPlugin*)),
+ this, TQ_SLOT(slotStopButtonClicked(KDevPlugin*)) );
+ connect( core(), TQ_SIGNAL(projectOpened()),
+ this, TQ_SLOT(projectOpened()) );
m_widget = new ValgrindWidget( this );
m_widget->setIcon( SmallIcon("fork") );
@@ -59,12 +59,12 @@ ValgrindPart::ValgrindPart( TQObject *parent, const char *name, const TQStringLi
"some abuses of the POSIX pthread API." ) );
TDEAction* action = new TDEAction( i18n("&Valgrind Memory Leak Check"), 0, this,
- TQT_SLOT(slotExecValgrind()), actionCollection(), "tools_valgrind" );
+ TQ_SLOT(slotExecValgrind()), actionCollection(), "tools_valgrind" );
action->setToolTip(i18n("Valgrind memory leak check"));
action->setWhatsThis(i18n("<b>Valgrind memory leak check</b><p>Runs Valgrind - a tool to help you find memory-management problems in your programs."));
action = new TDEAction( i18n("P&rofile with KCachegrind"), 0, this,
- TQT_SLOT(slotExecCalltree()), actionCollection(), "tools_calltree" );
+ TQ_SLOT(slotExecCalltree()), actionCollection(), "tools_calltree" );
action->setToolTip(i18n("Profile with KCachegrind"));
action->setWhatsThis(i18n("<b>Profile with KCachegrind</b><p>Runs your program in calltree and then displays profiler information in KCachegrind."));
diff --git a/parts/valgrind/valgrind_widget.cpp b/parts/valgrind/valgrind_widget.cpp
index 70484704..75f0c506 100644
--- a/parts/valgrind/valgrind_widget.cpp
+++ b/parts/valgrind/valgrind_widget.cpp
@@ -101,17 +101,17 @@ ValgrindWidget::ValgrindWidget( ValgrindPart *part )
vbl->addWidget( lv );
popup = new TQPopupMenu( lv, "valPopup" );
- popup->insertItem( i18n( "&Open Valgrind Output..." ), _part, TQT_SLOT(loadOutput()), 0, 0 );
+ popup->insertItem( i18n( "&Open Valgrind Output..." ), _part, TQ_SLOT(loadOutput()), 0, 0 );
popup->insertSeparator();
- popup->insertItem( i18n( "Expand All Items" ), this, TQT_SLOT(expandAll()), 0, 2 );
- popup->insertItem( i18n( "Collapse All Items" ), this, TQT_SLOT(collapseAll()), 0, 3 );
-
- connect( popup, TQT_SIGNAL(aboutToShow()),
- this, TQT_SLOT(aboutToShowPopup()) );
- connect( lv, TQT_SIGNAL(executed(TQListViewItem*)),
- this, TQT_SLOT(executed(TQListViewItem*)) );
- connect( lv, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
+ popup->insertItem( i18n( "Expand All Items" ), this, TQ_SLOT(expandAll()), 0, 2 );
+ popup->insertItem( i18n( "Collapse All Items" ), this, TQ_SLOT(collapseAll()), 0, 3 );
+
+ connect( popup, TQ_SIGNAL(aboutToShow()),
+ this, TQ_SLOT(aboutToShowPopup()) );
+ connect( lv, TQ_SIGNAL(executed(TQListViewItem*)),
+ this, TQ_SLOT(executed(TQListViewItem*)) );
+ connect( lv, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQ_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) );
}
diff --git a/parts/vcsmanager/vcsmanagerpart.cpp b/parts/vcsmanager/vcsmanagerpart.cpp
index e8606636..e1719371 100644
--- a/parts/vcsmanager/vcsmanagerpart.cpp
+++ b/parts/vcsmanager/vcsmanagerpart.cpp
@@ -58,10 +58,10 @@ VCSManagerPart::VCSManagerPart(TQObject *parent, const char *name, const TQStrin
m_configProxy = new ConfigWidgetProxy(core());
m_configProxy->createProjectConfigPage(i18n("Version Control"), PROJECTDOC_OPTIONS, info()->icon());
- connect(m_configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
- this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)));
+ connect(m_configProxy, TQ_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQ_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int)));
- connect(core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()));
+ connect(core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(projectOpened()));
}
VCSManagerPart::~VCSManagerPart()
@@ -76,7 +76,7 @@ void VCSManagerPart::insertConfigWidget(const KDialogBase *dlg, TQWidget *page,
case PROJECTDOC_OPTIONS:
{
VCSManagerProjectConfig *w = new VCSManagerProjectConfig(this, page, "project config");
- connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()));
+ connect(dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()));
break;
}
}