diff options
Diffstat (limited to 'parts/documentation')
66 files changed, 230 insertions, 688 deletions
diff --git a/parts/documentation/CMakeLists.txt b/parts/documentation/CMakeLists.txt index accc3401..4d827ace 100644 --- a/parts/documentation/CMakeLists.txt +++ b/parts/documentation/CMakeLists.txt @@ -33,7 +33,12 @@ link_directories( ##### other data ################################ -install( FILES kdevdocumentation.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kdevdocumentation.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) + install( FILES kdevpart_documentation.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdocumentation ) diff --git a/parts/documentation/KDevDocumentationIface.h b/parts/documentation/KDevDocumentationIface.h index c55143e7..733bc7bf 100644 --- a/parts/documentation/KDevDocumentationIface.h +++ b/parts/documentation/KDevDocumentationIface.h @@ -26,7 +26,7 @@ class DocumentationPart; class KDevDocumentationIface : public TQObject, public DCOPObject { - Q_OBJECT + TQ_OBJECT // K_DCOP public: diff --git a/parts/documentation/addcatalogdlg.h b/parts/documentation/addcatalogdlg.h index b074ecb6..461bf56d 100644 --- a/parts/documentation/addcatalogdlg.h +++ b/parts/documentation/addcatalogdlg.h @@ -28,7 +28,7 @@ class DocumentationPlugin; class AddCatalogDlg: public AddCatalogDlgBase { - Q_OBJECT + TQ_OBJECT public: AddCatalogDlg( TQValueList<DocumentationPlugin*> const & plugins, TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0); diff --git a/parts/documentation/addcatalogdlgbase.ui b/parts/documentation/addcatalogdlgbase.ui index b524720f..2734918d 100644 --- a/parts/documentation/addcatalogdlgbase.ui +++ b/parts/documentation/addcatalogdlgbase.ui @@ -135,9 +135,6 @@ <property name="text"> <string>&OK</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -152,9 +149,6 @@ <property name="text"> <string>&Cancel</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -195,10 +189,10 @@ <slot>locationURLChanged(const TQString&)</slot> </connection> </connections> -<Q_SLOTS> +<slots> <slot>locationURLChanged( const TQString & )</slot> <slot>docTypeChanged( const TQString & )</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 f626e246..6312006b 100644 --- a/parts/documentation/bookmarkview.cpp +++ b/parts/documentation/bookmarkview.cpp @@ -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_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_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(), 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() @@ -268,7 +268,7 @@ void BookmarkView::addBookmark(const TQString &title, const KURL &url) void BookmarkView::itemMouseButtonPressed(int button, TQListViewItem *item, const TQPoint &pos, int // c ) { - if ((button != Qt::RightButton) || (!item)) + if ((button != TQt::RightButton) || (!item)) return; DocumentationItem *docItem = dynamic_cast<DocumentationItem*>(item); if (!docItem) diff --git a/parts/documentation/bookmarkview.h b/parts/documentation/bookmarkview.h index 36283e0c..cdd102a0 100644 --- a/parts/documentation/bookmarkview.h +++ b/parts/documentation/bookmarkview.h @@ -49,7 +49,7 @@ private: class BookmarkView : public TQWidget { - Q_OBJECT + TQ_OBJECT public: BookmarkView(DocumentationWidget *parent = 0, const char *name = 0); diff --git a/parts/documentation/contentsview.cpp b/parts/documentation/contentsview.cpp index 3707f318..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() @@ -73,7 +73,7 @@ void ContentsView::itemExecuted(TQListViewItem *item, const TQPoint &/*p*/, int void ContentsView::itemMouseButtonPressed(int button, TQListViewItem *item, const TQPoint &pos, int // c ) { - if ((button != Qt::RightButton) || (!item)) + if ((button != TQt::RightButton) || (!item)) return; DocumentationItem *docItem = dynamic_cast<DocumentationItem*>(item); if (!docItem) diff --git a/parts/documentation/contentsview.h b/parts/documentation/contentsview.h index e170b7dc..a638a5c9 100644 --- a/parts/documentation/contentsview.h +++ b/parts/documentation/contentsview.h @@ -29,7 +29,7 @@ class TDEListView; class ContentsView : public TQWidget { - Q_OBJECT + TQ_OBJECT public: ContentsView(DocumentationWidget *parent, const char *name = 0); 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/docconfiglistview.h b/parts/documentation/docconfiglistview.h index 811c49b1..13db2301 100644 --- a/parts/documentation/docconfiglistview.h +++ b/parts/documentation/docconfiglistview.h @@ -24,7 +24,7 @@ class DocConfigListView : public TDEListView { - Q_OBJECT + TQ_OBJECT public: DocConfigListView(TQWidget *parent = 0, const char *name = 0); diff --git a/parts/documentation/docglobalconfigwidget.cpp b/parts/documentation/docglobalconfigwidget.cpp index 8dd6c0b8..8cfacada 100644 --- a/parts/documentation/docglobalconfigwidget.cpp +++ b/parts/documentation/docglobalconfigwidget.cpp @@ -64,7 +64,7 @@ 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(); diff --git a/parts/documentation/docglobalconfigwidget.h b/parts/documentation/docglobalconfigwidget.h index 8fee856c..48d33817 100644 --- a/parts/documentation/docglobalconfigwidget.h +++ b/parts/documentation/docglobalconfigwidget.h @@ -31,7 +31,7 @@ class TDEListView; class DocGlobalConfigWidget : public DocGlobalConfigWidgetBase { - Q_OBJECT + TQ_OBJECT public: DocGlobalConfigWidget(DocumentationPart *part, DocumentationWidget *widget, 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/docprojectconfigwidget.h b/parts/documentation/docprojectconfigwidget.h index 0b7b4452..a35a0795 100644 --- a/parts/documentation/docprojectconfigwidget.h +++ b/parts/documentation/docprojectconfigwidget.h @@ -26,7 +26,7 @@ class DocumentationPart; class DocumentationPlugin; class DocProjectConfigWidget: public DocProjectConfigWidgetBase { - Q_OBJECT + TQ_OBJECT public: DocProjectConfigWidget(DocumentationPart *part, TQWidget *parent = 0, const char *name = 0); 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 &)</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 3b9e9b78..09aaa042 100644 --- a/parts/documentation/documentation_part.cpp +++ b/parts/documentation/documentation_part.cpp @@ -72,13 +72,13 @@ #define GLOBALDOC_OPTIONS 1 #define PROJECTDOC_OPTIONS 2 -static const KDevPluginInfo data("kdevdocumentation"); +static const KDevPluginInfo pluginData("kdevdocumentation"); typedef KDevGenericFactory<DocumentationPart> DocumentationFactory; -K_EXPORT_COMPONENT_FACTORY( libkdevdocumentation, DocumentationFactory( data ) ) +K_EXPORT_COMPONENT_FACTORY( libkdevdocumentation, DocumentationFactory( pluginData ) ) DocumentationPart::DocumentationPart(TQObject *parent, const char *name, const TQStringList& ) - :KDevPlugin(&data, parent, name ? name : "DocumentationPart" ), + :KDevPlugin(&pluginData, parent, name ? name : "DocumentationPart" ), m_projectDocumentationPlugin(0), m_userManualPlugin(0), m_hasIndex(false) { setInstance(DocumentationFactory::instance()); @@ -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) diff --git a/parts/documentation/documentation_part.h b/parts/documentation/documentation_part.h index 02564a3f..8385f25e 100644 --- a/parts/documentation/documentation_part.h +++ b/parts/documentation/documentation_part.h @@ -41,7 +41,7 @@ class TQPopupMenu; */ class DocumentationPart : public KDevPlugin { - Q_OBJECT + TQ_OBJECT public: enum ContextFeature { Finder, IndexLookup, FullTextSearch, GotoMan, GotoInfo }; diff --git a/parts/documentation/documentation_widget.cpp b/parts/documentation/documentation_widget.cpp index b1ab69ca..7d533753 100644 --- a/parts/documentation/documentation_widget.cpp +++ b/parts/documentation/documentation_widget.cpp @@ -64,7 +64,7 @@ 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() diff --git a/parts/documentation/documentation_widget.h b/parts/documentation/documentation_widget.h index a813b393..0086163f 100644 --- a/parts/documentation/documentation_widget.h +++ b/parts/documentation/documentation_widget.h @@ -36,7 +36,7 @@ class TDEListView; class DocumentationWidget : public TQWidget { - Q_OBJECT + TQ_OBJECT public: DocumentationWidget(DocumentationPart *part); diff --git a/parts/documentation/editbookmarkdlg.ui b/parts/documentation/editbookmarkdlg.ui index 875f4546..013c0080 100644 --- a/parts/documentation/editbookmarkdlg.ui +++ b/parts/documentation/editbookmarkdlg.ui @@ -89,9 +89,6 @@ <property name="text"> <string>&OK</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -106,9 +103,6 @@ <property name="text"> <string>&Cancel</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> diff --git a/parts/documentation/editcatalogdlg.h b/parts/documentation/editcatalogdlg.h index 4cd248ee..5aaa6eed 100644 --- a/parts/documentation/editcatalogdlg.h +++ b/parts/documentation/editcatalogdlg.h @@ -26,7 +26,7 @@ class DocumentationPlugin; class EditCatalogDlg : public EditCatalogBase { - Q_OBJECT + TQ_OBJECT public: EditCatalogDlg(DocumentationPlugin *plugin, diff --git a/parts/documentation/editcatalogdlgbase.ui b/parts/documentation/editcatalogdlgbase.ui index 4355d579..34769563 100644 --- a/parts/documentation/editcatalogdlgbase.ui +++ b/parts/documentation/editcatalogdlgbase.ui @@ -63,9 +63,6 @@ <property name="text"> <string>&OK</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -80,9 +77,6 @@ <property name="text"> <string>&Cancel</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -184,9 +178,9 @@ <tabstop>buttonOk</tabstop> <tabstop>buttonCancel</tabstop> </tabstops> -<Q_SLOTS> +<slots> <slot>locationURLChanged( const TQString & )</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 ebddcd4c..46027878 100644 --- a/parts/documentation/find_documentation.cpp +++ b/parts/documentation/find_documentation.cpp @@ -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) ); + proc_man = new TDEProcess( this ); + proc_info = new TDEProcess( 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_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, 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)) ); + 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); @@ -75,7 +75,7 @@ FindDocumentation::~FindDocumentation() void FindDocumentation::buttonPressedOnItem( int button, TQListViewItem * item, const TQPoint & pos, int // c ) { - if ((button != Qt::RightButton) || (!item)) + if ((button != TQt::RightButton) || (!item)) return; DocumentationItem *docItem = dynamic_cast<DocumentationItem*>(item); if (!docItem) diff --git a/parts/documentation/find_documentation.h b/parts/documentation/find_documentation.h index b1fb6f05..b93f964f 100644 --- a/parts/documentation/find_documentation.h +++ b/parts/documentation/find_documentation.h @@ -32,7 +32,7 @@ class TDEProcess; class FindDocumentation : public FindDocumentationBase { -Q_OBJECT +TQ_OBJECT public: FindDocumentation(DocumentationWidget* parent, const char* name = 0); diff --git a/parts/documentation/find_documentation_options.h b/parts/documentation/find_documentation_options.h index ab1a3cc9..d12e748b 100644 --- a/parts/documentation/find_documentation_options.h +++ b/parts/documentation/find_documentation_options.h @@ -28,7 +28,7 @@ class TDEConfig; class FindDocumentationOptions : public FindDocumentationOptionsBase { -Q_OBJECT +TQ_OBJECT public: FindDocumentationOptions(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE); diff --git a/parts/documentation/find_documentation_optionsbase.ui b/parts/documentation/find_documentation_optionsbase.ui index 5d85bdf1..2a31e034 100644 --- a/parts/documentation/find_documentation_optionsbase.ui +++ b/parts/documentation/find_documentation_optionsbase.ui @@ -147,9 +147,6 @@ <property name="text"> <string>&OK</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -164,9 +161,6 @@ <property name="text"> <string>&Cancel</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -210,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 & 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 & 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 3e0a3921..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); } @@ -123,7 +123,7 @@ bool IndexView::eventFilter(TQObject *watched, TQEvent *e) if (!watched || !e) return true; - if ((TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(m_edit)) && (e->type() == TQEvent::KeyPress)) + if ((watched == m_edit) && (e->type() == TQEvent::KeyPress)) { TQKeyEvent *ke = (TQKeyEvent*)e; if (ke->key() == Key_Up) @@ -162,7 +162,7 @@ bool IndexView::eventFilter(TQObject *watched, TQEvent *e) void IndexView::itemMouseButtonPressed(int button, TQListBoxItem *item, const TQPoint &pos) { - if ((button != Qt::RightButton) || (!item)) + if ((button != TQt::RightButton) || (!item)) return; IndexItem *docItem = dynamic_cast<IndexItem*>(item); if (!docItem) diff --git a/parts/documentation/indexview.h b/parts/documentation/indexview.h index 5538f870..d76ee504 100644 --- a/parts/documentation/indexview.h +++ b/parts/documentation/indexview.h @@ -30,7 +30,7 @@ class FindDocumentation; class IndexView : public TQWidget { - Q_OBJECT + TQ_OBJECT public: IndexView(DocumentationWidget *parent = 0, const char *name = 0); diff --git a/parts/documentation/interfaces/CMakeLists.txt b/parts/documentation/interfaces/CMakeLists.txt index f4a2ff08..a3c1dd63 100644 --- a/parts/documentation/interfaces/CMakeLists.txt +++ b/parts/documentation/interfaces/CMakeLists.txt @@ -29,9 +29,11 @@ install( FILES ##### other data ################################ -install( FILES - tdevelopdocumentationplugins.desktop - DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE tdevelopdocumentationplugins.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### documentation_interfaces (shared) ######### diff --git a/parts/documentation/interfaces/kdevdocumentationplugin.cpp b/parts/documentation/interfaces/kdevdocumentationplugin.cpp index 0282d82a..43822380 100644 --- a/parts/documentation/interfaces/kdevdocumentationplugin.cpp +++ b/parts/documentation/interfaces/kdevdocumentationplugin.cpp @@ -168,7 +168,7 @@ IndexItem::List IndexItem::urls() const TQValueList<IndexItemProto*> itemProtos = m_listbox->items[text()]; for (TQValueList<IndexItemProto*>::const_iterator it = itemProtos.begin(); it != itemProtos.end(); ++it) - urlList.append(tqMakePair((*it)->description(), (*it)->url())); + urlList.append(qMakePair((*it)->description(), (*it)->url())); return urlList; } @@ -224,7 +224,7 @@ void ConfigurationItem::paintCell(TQPainter *p, const TQColorGroup &cg, int colu y = (fm.height() + 2 + marg - boxsize) / 2; TQStyleOption opt(this); - lv->style().tqdrawPrimitive(TQStyle::PE_CheckListIndicator, p, + lv->style().drawPrimitive(TQStyle::PE_CheckListIndicator, p, TQRect(x, y, boxsize, fm.height() + 2 + marg), cg, styleflags, opt); return; @@ -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/interfaces/kdevdocumentationplugin.h b/parts/documentation/interfaces/kdevdocumentationplugin.h index ba9d1948..0d8256f4 100644 --- a/parts/documentation/interfaces/kdevdocumentationplugin.h +++ b/parts/documentation/interfaces/kdevdocumentationplugin.h @@ -216,7 +216,7 @@ a list of URL's for the full text search tool. */ class DocumentationPlugin: public TQObject { - Q_OBJECT + TQ_OBJECT public: /**Capability of documentation plugin.*/ @@ -390,7 +390,7 @@ friend class DocumentationCatalogItem; Represents functionality to display project documentation catalog and index in documentation browser. */ class ProjectDocumentationPlugin: public TQObject { - Q_OBJECT + TQ_OBJECT public: ProjectDocumentationPlugin(DocumentationPlugin *docPlugin, DocumentationPlugin::ProjectDocType type); diff --git a/parts/documentation/interfaces/tdevelopdocumentationplugins.desktop b/parts/documentation/interfaces/tdevelopdocumentationplugins.desktop index c56166bd..e159bc0f 100644 --- a/parts/documentation/interfaces/tdevelopdocumentationplugins.desktop +++ b/parts/documentation/interfaces/tdevelopdocumentationplugins.desktop @@ -1,36 +1,6 @@ [Desktop Entry] +Name=TDevelop Documentation Plugin Interface + Type=ServiceType X-TDE-ServiceType=TDevelop/DocumentationPlugins X-TDE-Derived=TDevelop/Plugin -Name=TDevelop Documentation Plugin Interface -Name[ca]=Interfície de connectors de documentació de TDevelop -Name[da]=TDevelop grænseflade for dokumentations-plugin -Name[de]=Schnittstelle für Dokumentationsmodul (TDevelop) -Name[el]=Διασύνδεση πρόσθετου τεκμηρίωσης TDevelop -Name[es]=Interfaz de complemento de documentación de TDevelop -Name[et]=TDevelopi dokumentatsiooniplugina liides -Name[eu]=TDevelop-en dokumentazio plugin interfazea -Name[fa]=واسط وصلۀ مستندات TDevelop -Name[fr]=Interface du module externe de documentation de TDevelop -Name[gl]=Interface da extensión de documentación de TDevelop -Name[hu]=TDevelop dokumentációmodul-felület -Name[it]=Interfaccia a plugin della documentazione di TDevelop -Name[ja]=TDevelop ドキュメンテーションプラグイン インターフェース -Name[ms]=Antaramuka Plugin Dokumentasi TDevelop -Name[nds]=TDevelop-Koppelsteed för't Dokmentatschoon-Moduul -Name[ne]=केडीई विकास मिसिलीकरण प्लगइन इन्टरफेस -Name[nl]=TDevelop Documentatie Plugin Interface -Name[pl]=Interfejs do wtyczki dokumentacji dla TDevelop -Name[pt]=Interface de 'Plugin' de Documentação do TDevelop -Name[pt_BR]=Interface de Plug-in de Documentação do TDevelop -Name[ru]=Интерфейс для модулей документации TDevelop -Name[sk]=TDevelop rozhranie pre dokumentačný modul -Name[sl]=Vmesnik vstavka dokumentacije v TDevelopu -Name[sr]=Интерфејс TDevelop-овог прикључка за документацију -Name[sr@Latn]=Interfejs TDevelop-ovog priključka za dokumentaciju -Name[sv]=TDevelop insticksgränssnitt för dokumentation -Name[ta]=Kமுன்னேற்று தொகுப்பான் தேர்வுகள் உரை இடைமுகம் உள்ளீடு -Name[tg]=Интерфейс барои модулҳои ҳуҷҷатноки TDevelop -Name[tr]=TDevelop Belgelendirme Eklentisi Arayüzü -Name[zh_CN]=TDevelop 文档插件接口 -Name[zh_TW]=TDevelop 文件外掛程式介面 diff --git a/parts/documentation/kdevdocumentation.desktop b/parts/documentation/kdevdocumentation.desktop index 5449d8a1..30c0781f 100644 --- a/parts/documentation/kdevdocumentation.desktop +++ b/parts/documentation/kdevdocumentation.desktop @@ -1,78 +1,12 @@ [Desktop Entry] -Type=Service -Exec=blubb -Comment=The Documentation plugin offers browsing and searching in local and online documentation with support for multiple documentation systems. -Comment[ca]=El connector de documentació ofereix navegació i recerca en documentació local i en línia amb suport per a múltiples sistemes de documentació. -Comment[da]=Dokumentations-plugin tilbyder visning og søgning i lokal og online dokumentation med understøttelse af flere dokumentations-systemer. -Comment[de]=Die Dokumentations-Komponente bietet eine Browsefunktion und Unterstützung für die Suche in mehreren Hilfedokumenten und Dokumentationssystemen. -Comment[el]=Το πρόσθετο τεκμηρίωσης προσφέρει περιήγηση και αναζήτηση σε τοπική και απομακρυσμένη τεκμηρίωση για πολλαπλά συστήματα τεκμηρίωσης. -Comment[es]=El complemento de documentación proporciona navegación y búsqueda en la documentación, tanto local como en línea, y permite múltiples sistemas de documentación. -Comment[et]=Dokumentatsiooniplugin võimaldab lehitseda ja otsida nii kohalikus kui võrgudokumentatsioonis paljusid dokumentatsioonisüsteeme kasutades. -Comment[eu]=Dokumentazio-pluginak lokaleko eta urruneko dokumentazio arakatzeko eta bilatzeko aukera ematen dizu, eta dokumentazio-sistema anitz onartzen ditu. -Comment[fa]=وصلۀ مستندسازی، مرور و جستجو در مستندات محلی و برخط را با پشتیبانی از سیستمهای مستندسازی چندگانه، ارائه میکند. -Comment[fr]=Le module externe de documentation offre une navigation et une recherche dans la documentation locale et en ligne ainsi que la prise en charge de systèmes de documentation mutiples. -Comment[gl]=A extensión de documentación ofrece navegación e búsqueda en documentación local e en liña con soporte para múltiples sistemas de documentación. -Comment[hu]=Dokumentációmegjelenítő elem helyi és távoli dokumentáció böngészéséhez, keresési lehetőséggel. Többféle formátumot támogat. -Comment[it]=Il plugin di documentazione offre navigazione e ricerca in locale e documentazione in linea con supporto per sistemi di documentazione multipla. -Comment[ms]=Plugin dokumentasi menawarkan pelungsuran dan pencarian dalam dokumentasi tempatan dan dalam talian dengan sokongan untuk pelbagai sistem dokumentasi. -Comment[nds]=Mit dat Dokmentatschoon-Moduul kannst Du lokale un Tokoppel-Dokmentatschoon dörkieken un -söken, mehr Dokmentatschoonsystemen warrt ünnerstütt. -Comment[ne]=मिसिलीकरण प्लगइनले बहुविध मिसिलीकरण प्रणालीको समर्थनसँग अनलाइन मिसिलीकरण र स्थानीय रूपमा ब्राउज र खोजी गर्न दिन्छ । -Comment[nl]=De documentatieplugin welke het mogelijk maakt om door lokale documentatie en documentatie op afstand te bladeren en te zoeken. Met ondersteuning voor verschillende documentatiesystemen. -Comment[pl]=Kontrola dokumentacji z obsługą przeglądania i wyszukiwania w różnych plikach pomocy i systemach dokumentacji. -Comment[pt]=O 'plugin' de documentação oferece navegação e procura em documentação local e em rede com suporte para vários sistemas de documentação. -Comment[pt_BR]=A documentação do plug-in oferece navegação e busca na documentação local e online com suporte para diversos sistemas de documentação. -Comment[ru]=Модуль документации позволяет упростить работу с документацией. -Comment[sk]=Dokumentačný modul proskytuje prehliadanie a vyhľadávanie v lokálnej a online dokumentácie s podporou viacerých dokumentačných systémov. -Comment[sr]=Прикључак за документацију са подршком за прегледање и тражење у локалној и документацији на вези, за више документационих система. -Comment[sr@Latn]=Priključak za dokumentaciju sa podrškom za pregledanje i traženje u lokalnoj i dokumentaciji na vezi, za više dokumentacionih sistema. -Comment[sv]=Dokumentationsinsticksprogrammet erbjuder bläddring och sökning i lokal dokumentation och dokumentation på nätet, med stöd för flera dokumentationssystem. -Comment[tr]=Belgelendirme eklentisi, çoklu belgelendirme sistemlerine destek ile, yerel ve çevrimiçi belgelere gözatma ve bu belgelerde arama yapılmasına izin verir. -Comment[zh_CN]=文档插件提供了本地和在线文档中提供浏览和搜索功能,支持多种文档系统 -Comment[zh_TW]=文件外掛程式提供對本地與線上文件的瀏覽與搜尋功能,並支援多重文件系統。 Name=KDevDocumentation -Name[da]=TDevelop dokumentation -Name[nds]=TDevelop-Dokmentatschoon -Name[pt_BR]=KDevDocumentação -Name[sk]=KDev dokumentácia -Name[sv]=TDevelop dokumentation -Name[ta]=KDev ஆவணமாக்கல் -Name[tg]=Ҳуҷҷатҳои KDev -Name[zh_TW]=TDevelop 文件 + GenericName=Documentation -GenericName[br]=Teuliadur -GenericName[ca]=Documentació -GenericName[cy]=Dogfenniaeth -GenericName[da]=Dokumentation -GenericName[de]=Dokumentationsbaum -GenericName[el]=Τεκμηρίωση -GenericName[es]=Documentación -GenericName[et]=Dokumentatsioon -GenericName[eu]=Dokumentazioa -GenericName[fa]=مستندات -GenericName[ga]=Doiciméadú -GenericName[gl]=Documentación -GenericName[hi]=दस्तावेज़ीकरण -GenericName[hu]=Dokumentáció -GenericName[it]=Documentazione -GenericName[ja]=ドキュメンテーション -GenericName[ms]=Dokumentasi -GenericName[nds]=Dokmentatschoon -GenericName[ne]=मिसिलीकरण -GenericName[nl]=Documentatie -GenericName[pl]=Dokumentacja -GenericName[pt]=Documentação -GenericName[pt_BR]=Documentação -GenericName[ru]=Просмотр документации -GenericName[sk]=Dokumentácia -GenericName[sl]=Dokumentacija -GenericName[sr]=Документација -GenericName[sr@Latn]=Dokumentacija -GenericName[sv]=Dokumentation -GenericName[ta]=ஆவணமாக்கல் -GenericName[tg]=Намоиши ҳуҷҷатҳо -GenericName[tr]=Belgelendirme -GenericName[zh_CN]=文档 -GenericName[zh_TW]=文件 + +Comment=The Documentation plugin offers browsing and searching in local and online documentation with support for multiple documentation systems. + +Type=Service +Exec=blubb Icon=khelpcenter X-TDE-ServiceTypes=TDevelop/Plugin X-TDevelop-Scope=Global diff --git a/parts/documentation/plugins/chm/CMakeLists.txt b/parts/documentation/plugins/chm/CMakeLists.txt index ebf52b0e..bfc0ff3f 100644 --- a/parts/documentation/plugins/chm/CMakeLists.txt +++ b/parts/documentation/plugins/chm/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES docchmplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE docchmplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdocchmplugin (module) ################## diff --git a/parts/documentation/plugins/chm/docchmplugin.desktop b/parts/documentation/plugins/chm/docchmplugin.desktop index 90323232..b80431ce 100644 --- a/parts/documentation/plugins/chm/docchmplugin.desktop +++ b/parts/documentation/plugins/chm/docchmplugin.desktop @@ -1,44 +1,10 @@ [Desktop Entry] -Type=Service Name=DocCHMPlugin -Name[da]=DocCHM-plugin -Name[hu]=DocCHMPPlugin -Name[sk]=Doc CHM modul -Name[sv]=CHM-dokumentationsinsticksmodul -Name[ta]=DocCHM சொருகு -Name[zh_TW]=Doc CHM 外掛程式 -Exec=blubb + Comment=Documentation plugin for CHM documentation -Comment[ca]=Connector de documentació per a documentació CHM -Comment[da]=Dokumentations-plugin for CHM-dokumentation -Comment[de]=Dokumentations-Modul für CHM-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση CHM -Comment[es]=Complemento de documentación para CHM -Comment[et]=CHM dokumentatsiooni plugin -Comment[eu]=CHM dokumentazioarako dokumentazioa plugin-aDocumentation plugin for CHM documentation -Comment[fa]=وصلۀ مستندسازی برای مستندات CHM -Comment[fr]=Module externe de documentation pour la documentation CHM -Comment[gl]=Extensión de documentación para documentación CHM -Comment[hu]=Dokumentációmodul CHM formátumú dokumentációhoz -Comment[it]=Plugin di documentazione per file CHM -Comment[ja]=CHM ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi CHM -Comment[nds]=Dokmentatschoon-Moduul för CHM-Dokmentatschonen -Comment[ne]=CHM मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor CHM documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie CHM -Comment[pt]='Plugin' para documentação CHM -Comment[pt_BR]=Plug-in de documentação para documento CHM -Comment[ru]=Модуль для просмотра документации в файлах CHM -Comment[sk]=Dokumentačný modul pre CHM dokumentáciu -Comment[sr]=Документациони прикључак за CHM документацију -Comment[sr@Latn]=Dokumentacioni priključak za CHM dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för CHM-dokumentation -Comment[ta]= CHM ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои намоиши файлҳои CHM-е, ки ҳуҷҷатҳо мавҷуд аст -Comment[tr]=CHM belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=CHM 文档的文档插件 -Comment[zh_TW]=CHM 文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdocchmplugin diff --git a/parts/documentation/plugins/chm/docchmplugin.h b/parts/documentation/plugins/chm/docchmplugin.h index 5ac7d120..683a586f 100644 --- a/parts/documentation/plugins/chm/docchmplugin.h +++ b/parts/documentation/plugins/chm/docchmplugin.h @@ -24,7 +24,7 @@ class DocCHMPlugin :public DocumentationPlugin { - Q_OBJECT + TQ_OBJECT public: DocCHMPlugin(TQObject* parent, const char* name, TQStringList args = TQStringList()); diff --git a/parts/documentation/plugins/custom/CMakeLists.txt b/parts/documentation/plugins/custom/CMakeLists.txt index 80007503..5a4ae6d5 100644 --- a/parts/documentation/plugins/custom/CMakeLists.txt +++ b/parts/documentation/plugins/custom/CMakeLists.txt @@ -25,7 +25,11 @@ link_directories( ##### other data ################################ -install( FILES doccustomplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE doccustomplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdoccustomplugin (module) ############### diff --git a/parts/documentation/plugins/custom/doccustomplugin.desktop b/parts/documentation/plugins/custom/doccustomplugin.desktop index 0f4bec5c..ee941e70 100644 --- a/parts/documentation/plugins/custom/doccustomplugin.desktop +++ b/parts/documentation/plugins/custom/doccustomplugin.desktop @@ -1,44 +1,10 @@ [Desktop Entry] -Type=Service Name=DocCustomPlugin -Name[da]=Brugerdefineret doc-plugin -Name[sk]=Doc vlastný modul -Name[sv]=Egen dokumentationsinsticksmodul -Name[ta]=ஆவண தனிப்பயன் சொருகுப்பொருள் -Name[zh_TW]=Doc 自訂外掛程式 -Exec=blubb + Comment=Documentation plugin for all types of documentation -Comment[ca]=Connector de documentació per a tot tipus de documentació -Comment[da]=Dokumentations-plugin for alle typer dokumentation -Comment[de]=Komponente für alle Arten von Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για όλους τους τύπους τεκμηρίωσης -Comment[es]=Complemento de documentación para todos los tipos de documentación -Comment[et]=Igat tüüpi dokumentatsiooni plugin -Comment[eu]=Dokumentu mota guztientzako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای همۀ انواع مستندات -Comment[fr]=Module externe de documentation pour tous les types de documentation -Comment[gl]=Extensión de documentación para tódolos tipos de documentación -Comment[hu]=Dokumentációmodul mindenféle dokumentációhoz -Comment[it]=Plugin di documentazione per tutti i tipi di documentazione -Comment[ja]=全種類のドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk semua jenis dokumentasi -Comment[nds]=Dokmentatschoon-Moduul för all Oorden vun Dokmentatschoon -Comment[ne]=सबै प्रकारको मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor alle typen documentatie -Comment[pl]=Wtyczka dokumentacji dla wszystkich typów dokumentacji -Comment[pt]='Plugin' para documentação de todos os tipos -Comment[pt_BR]=Plug-in de documentação para todos os tipos de documentação -Comment[ru]=Модуль для работы с документацией -Comment[sk]=Dokumentačný modul pre všetky typy dokumentácie -Comment[sl]=Dokumentacijski vstavek za vse vrste dokumentacije -Comment[sr]=Документациони прикључак за све типове документације -Comment[sr@Latn]=Dokumentacioni priključak za sve tipove dokumentacije -Comment[sv]=Dokumentationsinsticksmodul för alla typer av dokumentation -Comment[ta]=எல்லா வகை ஆவணமயமாக்கலுக்கான ஆவணமயமாக்கல் சொருகுப்பொருள் -Comment[tg]=Модул барои кор кардан бо ҳуҷҷатҳо -Comment[tr]=Her tür belgelendirme için belgelendirme eklentisi -Comment[zh_CN]=全部类型文档的文档插件 -Comment[zh_TW]=所有型態的文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdoccustomplugin diff --git a/parts/documentation/plugins/devhelp/CMakeLists.txt b/parts/documentation/plugins/devhelp/CMakeLists.txt index c551f418..bd4e37ff 100644 --- a/parts/documentation/plugins/devhelp/CMakeLists.txt +++ b/parts/documentation/plugins/devhelp/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES docdevhelpplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE docdevhelpplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdocdevhelpplugin (module) ############## diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.desktop b/parts/documentation/plugins/devhelp/docdevhelpplugin.desktop index 68159dda..4704151f 100644 --- a/parts/documentation/plugins/devhelp/docdevhelpplugin.desktop +++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.desktop @@ -1,43 +1,9 @@ [Desktop Entry] -Type=Service Name=DevHelpPlugin -Name[da]=DevHelp-plugin -Name[sk]=DevHelp modul -Name[sv]=DevHelp-insticksmodul -Name[ta]=Devஉதவி சொருகு -Name[zh_TW]=DevHelp 外掛程式 + Comment=Documentation plugin for DevHelp documentation -Comment[ca]=Connector de documentació per a documentació DevHelp -Comment[da]=Dokumentations-plugin for DevHelp-dokumentation -Comment[de]=Komponente für DevHelp-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση DevHelp -Comment[es]=Complemento de documentación para documentación DevHelp -Comment[et]=DevHelp dokumentatsiooni plugin -Comment[eu]=DevHelp dokumentaziorako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای مستندات DevHelp -Comment[fr]=Module externe de documentation pour la documentation DevHelp -Comment[gl]=Extensión de documentación para documentación DevHelp -Comment[hu]=Dokumentációmodul DevHelp-dokumentációhoz -Comment[it]=Plugin di documentazione per file DevHelp -Comment[ja]=DevHelp ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi DevHelp -Comment[nds]=Dokmentatschoon-Moduul för DevHelp-Dokmentatschoon -Comment[ne]=DevHelp मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin fvoor DevHelp documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie DevHelp -Comment[pt]='Plugin' para documentação DevHelp -Comment[pt_BR]=Plug-in de documentação para documento DevHelp -Comment[ru]=Модуль для просмотра документации DevHelp -Comment[sk]=Dokumentačný modul pre DevHelp dokumentáciu -Comment[sl]=Dokumentacijski vstavek za dokumentacijo DevHelp -Comment[sr]=Документациони прикључак за DevHelp документацију -Comment[sr@Latn]=Dokumentacioni priključak za DevHelp dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för DevHelp-dokumentation -Comment[ta]= DevHelp ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиш намудани DevHelp-и асоснок карда шуда -Comment[tr]=DevHelp belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=DevHelp 文档的文档插件 -Comment[zh_TW]=DevHelp 文件外掛程式 + +Type=Service Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 diff --git a/parts/documentation/plugins/devhelp/docdevhelpplugin.h b/parts/documentation/plugins/devhelp/docdevhelpplugin.h index 19ff8a75..ad7c9a41 100644 --- a/parts/documentation/plugins/devhelp/docdevhelpplugin.h +++ b/parts/documentation/plugins/devhelp/docdevhelpplugin.h @@ -27,7 +27,7 @@ class DocDevHelpPlugin: public DocumentationPlugin { - Q_OBJECT + TQ_OBJECT public: DocDevHelpPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); diff --git a/parts/documentation/plugins/djvu/docdjvuplugin.desktop b/parts/documentation/plugins/djvu/docdjvuplugin.desktop index 23d0305f..c9d67b0b 100644 --- a/parts/documentation/plugins/djvu/docdjvuplugin.desktop +++ b/parts/documentation/plugins/djvu/docdjvuplugin.desktop @@ -1,44 +1,10 @@ [Desktop Entry] -Type=Service Name=DocDjvuPlugin -Name[da]=DocDjvu-plugin -Name[ms]=PluginDocDjvu -Name[sk]=Doc Djvu modul -Name[sv]=DocDjvu-insticksmodul -Name[ta]=DocQt சொருகு -Name[zh_TW]=Djvu 文件外掛程式 -Exec=blubb + Comment=Documentation plugin for djvu format -Comment[ca]=Connector de documentació per al format djvu -Comment[da]=Dokumentations-plugin for djvu-dokumentation -Comment[de]=Komponente für das DjVu-Dokumentationsformat -Comment[el]=Πρόσθετο τεκμηρίωσης για τη μορφή djvu -Comment[es]=Complemento de documentación para el formato djvu -Comment[et]=Djvu vormingus dokumentatsiooni plugin -Comment[eu]=Djvu dokumentaziorako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای قالب djvu -Comment[fr]=Module externe de documentation pour le format djvu -Comment[gl]=Extensión de documentación para o formato djvu -Comment[hu]=Dokumentációmodul djvu formátumú dokumentációhoz -Comment[it]=Plugin documentazione per il formato djvu -Comment[ja]=djvu フォーマットのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk format djvu -Comment[nds]=Dokmentatschoon-Moduul för dat djvu-Dokmentatschoonformaat -Comment[ne]=djvu ढाँचाका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor het djvu-formaat -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie djvu -Comment[pt]='Plugin' para documentação no formato djvu -Comment[pt_BR]=Plug-in de documentação para o formato djvu -Comment[ru]=Модуль для просмотра документации в формате DJVU -Comment[sk]=Dokumentačný modul pre Djvu dokumentáciu -Comment[sr]=Документациони прикључак за djvu формат -Comment[sr@Latn]=Dokumentacioni priključak za djvu format -Comment[sv]=Dokumentationsinsticksmodul för djvu-format -Comment[ta]= CHM ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиш намудани ҳуҷҷатҳо дар формати DJVU -Comment[tr]=djvu biçimi için belgelendirme eklentisi -Comment[zh_CN]=djvu 格式文档插件 -Comment[zh_TW]=Djvu 格式文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=1 X-TDE-Library=libdocdjvuplugin diff --git a/parts/documentation/plugins/doxygen/CMakeLists.txt b/parts/documentation/plugins/doxygen/CMakeLists.txt index 84c54488..185e3432 100644 --- a/parts/documentation/plugins/doxygen/CMakeLists.txt +++ b/parts/documentation/plugins/doxygen/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES docdoxygenplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE docdoxygenplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdocdoxygenplugin (module) ############## diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.desktop b/parts/documentation/plugins/doxygen/docdoxygenplugin.desktop index b41a0d88..a6c93fa7 100644 --- a/parts/documentation/plugins/doxygen/docdoxygenplugin.desktop +++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.desktop @@ -1,45 +1,10 @@ [Desktop Entry] -Type=Service Name=DocDoxygenPlugin -Name[da]=DocDoxygen-plugin -Name[ms]=PluginDocDoxygen -Name[sk]=Doc Doxygen modul -Name[sv]=Doxygen-dokumentationsinsticksmodul -Name[ta]=DocDoxygen சொருகு -Name[zh_TW]=Doxygen 文件外掛程式 -Exec=blubb + Comment=Documentation plugin for Doxygen documentation -Comment[ca]=Connector de documentació per a documentació Doxygen -Comment[da]=Dokumentations-plugin for Doxygen-dokumentation -Comment[de]=Komponente für Doxygen-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση τύπου Doxygen -Comment[es]=Complemento de documentación para Doxygen -Comment[et]=Doxygeni dokumentatsiooni plugin -Comment[eu]=Doxygen dokumentaziorako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای مستندات Doxygen -Comment[fr]=Module externe de documentation pour la documentation Doxygen -Comment[gl]=Extensión de documentación para documentación Doxygen -Comment[hu]=Dokumentációmodul Doxygen-dokumentációhoz -Comment[it]=Plugin di documentazione per file di Doxygen -Comment[ja]=Doxygen ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi Doxygen -Comment[nds]=Dokmentatschoon-Moduul för Doxygen-Dokmentatschoon -Comment[ne]=Doxygen मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor Doxygen documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie Doxygen -Comment[pt]='Plugin' para documentação Doxygen -Comment[pt_BR]=Plug-in de documentação para documento Doxygen -Comment[ru]=Модуль для просмотра документации Doxygen -Comment[sk]=Dokumentačný modul pre Doxygen dokumentáciu -Comment[sl]=Dokumentacijski vstavek za dokumentacijo Doxygen -Comment[sr]=Документациони прикључак за Doxygen документацију -Comment[sr@Latn]=Dokumentacioni priključak za Doxygen dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för Doxygen-dokumentation -Comment[ta]= Doxygen ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиш намудани ҳуҷҷатҳо дар Doxygen -Comment[tr]=Doxygen belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=Doxygen 文档的文档插件 -Comment[zh_TW]=Doxygen 文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdocdoxygenplugin diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.h b/parts/documentation/plugins/doxygen/docdoxygenplugin.h index afa57cf6..36d6a61b 100644 --- a/parts/documentation/plugins/doxygen/docdoxygenplugin.h +++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.h @@ -27,7 +27,7 @@ class TQDomElement; class DocDoxygenPlugin: public DocumentationPlugin { - Q_OBJECT + TQ_OBJECT public: DocDoxygenPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); diff --git a/parts/documentation/plugins/kdevtoc/CMakeLists.txt b/parts/documentation/plugins/kdevtoc/CMakeLists.txt index c12c26e3..460104b0 100644 --- a/parts/documentation/plugins/kdevtoc/CMakeLists.txt +++ b/parts/documentation/plugins/kdevtoc/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES dockdevtocplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE dockdevtocplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdockdevtocplugin (module) ############## diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop index ed2643aa..ece2fa4d 100644 --- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop +++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.desktop @@ -1,43 +1,10 @@ [Desktop Entry] -Type=Service Name=DocKDevTOCPlugin -Name[da]=DocKDevTOC-plugin -Name[sk]=Doc KDevTOC modul -Name[sv]=TDevelop innehållsförteckning-dokumentationsinsticksmodul -Name[ta]=DocKDevTOC சொருகு -Name[zh_TW]=TDevelop 目錄文件外掛程式 -Exec=blubb + Comment=Documentation plugin for TDevelopTOC documentation -Comment[ca]=Connector de documentació per a documentació TDevelopTOC -Comment[da]=Dokumentations-plugin for TDevelopTOC-dokumentation -Comment[de]=Komponente für TDevelopTOC-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση τύπου TDevelopTOC -Comment[es]=Complemento de documentación para TDevelopTOC -Comment[et]=TDevelopTOC dokumentatsiooni plugin -Comment[eu]=TDevelopTOC dokumentaziorako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای مستندات TDevelopTOC -Comment[fr]=Module externe de documentation pour la documentation TDevelopTOC -Comment[gl]=Extensión de documentación para documentación TDevelopTOC -Comment[hu]=Dokumentációmodul TDevelopTOC-dokumentációhoz -Comment[it]=Plugin di documentazione per file di TDevelopTOC -Comment[ja]=TDevelopTOC ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi TDevelopTOC -Comment[nds]=Dokmentatschoon-Moduul för TDevelopTOC-Dokmentatschoon -Comment[ne]=TDevelopTOC मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin for TDevelopTOC documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie TDevelopTOC -Comment[pt]='Plugin' para documentação TDevelopTOC -Comment[pt_BR]=Plug-in de documentação para document TOC do TDevelop -Comment[ru]=Модуль для просмотра TDevelopTOC -Comment[sk]=Dokumentačný modul pre TDevelopTOC dokumentáciu -Comment[sr]=Документациони прикључак за TDevelopTOC документацију -Comment[sr@Latn]=Dokumentacioni priključak za TDevelopTOC dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för TDevelop innehållsförteckningsdokumentation -Comment[ta]= TDevelopTOC ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиши TDevelopTOC -Comment[tr]=TDevelopTOC belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=TDevelopTOC 文档的文档插件 -Comment[zh_TW]=TDevelop 目錄文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdockdevtocplugin diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h index b6b5c037..5d090cec 100644 --- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h +++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h @@ -26,7 +26,7 @@ class DocKDevTOCPlugin : public DocumentationPlugin { - Q_OBJECT + TQ_OBJECT public: DocKDevTOCPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); diff --git a/parts/documentation/plugins/pdb/docpdbplugin.desktop b/parts/documentation/plugins/pdb/docpdbplugin.desktop index c83aaf7f..1e108f2b 100644 --- a/parts/documentation/plugins/pdb/docpdbplugin.desktop +++ b/parts/documentation/plugins/pdb/docpdbplugin.desktop @@ -1,43 +1,10 @@ [Desktop Entry] -Type=Service Name=DocPDBPlugin -Name[da]=DocPDB-plugin -Name[sk]=Doc PDB modul -Name[sv]=DocPDB-insticksmodul -Name[ta]=DocQt சொருகு -Name[zh_TW]=PDB 文件外掛程式 -Exec=blubb + Comment=Documentation plugin for Palmdoc format -Comment[ca]=Connector de documentació per al format Palmdoc -Comment[da]=Dokumentations-plugin for Palmdoc-format -Comment[de]=Komponente für das Palmdoc-Dokumentationsformat -Comment[el]=Πρόσθετο τεκμηρίωσης για τη μορφή Palmdoc -Comment[es]=Complemento de documentación para el formato Palmdoc -Comment[et]=PalmDOC-vormingus dokumentatsiooni plugin -Comment[eu]=Palmdoc formaturako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای قالب Palmdoc -Comment[fr]=Module externe de documentation pour le format Palmdoc -Comment[gl]=Extensión de documentación para o formato Palmdoc -Comment[hu]=Dokumentációmodul Palmdoc formátumú dokumentációhoz -Comment[it]=Plugin di documentazione per il formato Palmdoc -Comment[ja]=Palmdoc フォーマットのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk format Palmdoc -Comment[nds]=Komponente för dat Palmdoc-Dokmentatschoonformaat -Comment[ne]=Palmdoc ढाँचाका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor Palmdoc documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie Palmdoc -Comment[pt]='Plugin' para documentação no formato Palmdoc -Comment[pt_BR]=Plug-in de documentação para o formato Palmdoc -Comment[ru]=Модуль для просмотра документации в формате Palmdoc -Comment[sk]=Dokumentačný modul pre Palmdoc formát -Comment[sr]=Документациони прикључак за Palmdoc формат -Comment[sr@Latn]=Dokumentacioni priključak za Palmdoc format -Comment[sv]=Dokumentationsinsticksmodul för Palmdoc-format -Comment[ta]= CHM ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиш намудани ҳуҷҷатҳо дар формати Palmdoc -Comment[tr]=Palmdoc biçimi için belgelendirme eklentisi -Comment[zh_CN]=Palmdoc 格式的文档插件 -Comment[zh_TW]=Palmdoc 格式文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=1 X-TDE-Library=libdocpdbplugin diff --git a/parts/documentation/plugins/pdf/docpdfplugin.desktop b/parts/documentation/plugins/pdf/docpdfplugin.desktop index af330cdc..3014d38d 100644 --- a/parts/documentation/plugins/pdf/docpdfplugin.desktop +++ b/parts/documentation/plugins/pdf/docpdfplugin.desktop @@ -1,43 +1,10 @@ [Desktop Entry] -Type=Service Name=DocPDFPlugin -Name[da]=DocPDF-plugin -Name[sk]=Doc PDF modul -Name[sv]=DocPDF-insticksmodul -Name[ta]=DocQt சொருகுபொருள் -Name[zh_TW]=PDF 文件外掛程式 -Exec=blubb + Comment=Documentation plugin for PDF format -Comment[ca]=Connector de documentació per al format PDF -Comment[da]=Dokumentations-plugin for PDF-format -Comment[de]=Komponente für das PDF-Dokumentationsformat -Comment[el]=Πρόσθετο τεκμηρίωσης για τη μορφή PDF -Comment[es]=Complemento de documentación para el formato PDF -Comment[et]=PDF-vormingus dokumentatsiooni plugin -Comment[eu]=PDF formaturako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای قالب PDF -Comment[fr]=Module externe de documentation pour le format PDF -Comment[gl]=Extensión de documentación para o formato PDF -Comment[hu]=Dokumentációmodul PDF formátumú dokumentációhoz -Comment[it]=Plugin di documentazione per formato PDF -Comment[ja]=PDF フォーマットのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk format PDF -Comment[nds]=Komponente för dat PDF-Dokmentatschoonformaat -Comment[ne]=PDF ढाँचाका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor PDF documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie PDF -Comment[pt]='Plugin' para documentação no formato PDF -Comment[pt_BR]=Plug-in de documentação para o formato PDF -Comment[ru]=Модуль для просмотра PDF -Comment[sk]=Dokumentačný modul pre PDF formát -Comment[sr]=Документациони прикључак за PDF формат -Comment[sr@Latn]=Dokumentacioni priključak za PDF format -Comment[sv]=Dokumentationsinsticksmodul för PDF-format -Comment[ta]= Qt DCF ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиши PDF -Comment[tr]=PDF biçimi için belgelendirme eklentisi -Comment[zh_CN]=PDF 格式的文档插件 -Comment[zh_TW]=PDF 格式文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=1 X-TDE-Library=libdocpdfplugin diff --git a/parts/documentation/plugins/qt/CMakeLists.txt b/parts/documentation/plugins/qt/CMakeLists.txt index b197f93b..df651adc 100644 --- a/parts/documentation/plugins/qt/CMakeLists.txt +++ b/parts/documentation/plugins/qt/CMakeLists.txt @@ -27,7 +27,11 @@ link_directories( ##### other data ################################ -install( FILES docqtplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE docqtplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### libdocqtplugin (module) ################### diff --git a/parts/documentation/plugins/qt/docqtplugin.desktop b/parts/documentation/plugins/qt/docqtplugin.desktop index f3125f9c..ffe310b9 100644 --- a/parts/documentation/plugins/qt/docqtplugin.desktop +++ b/parts/documentation/plugins/qt/docqtplugin.desktop @@ -1,44 +1,10 @@ [Desktop Entry] -Type=Service Name=DocQtPlugin -Name[da]=DocQt-plugin -Name[sk]=Doc Qt modul -Name[sv]=Qt-dokumentationsinsticksmodul -Name[ta]=DocQt சொருகு -Name[zh_TW]=Qt 文件外掛程式 -Exec=blubb + Comment=Documentation plugin for Qt DCF documentation -Comment[ca]=Connector de documentació per a documentació Qt DCF -Comment[da]=Dokumentations-plugin for Qt DCF dokumentation -Comment[de]=Komponente für Qt-DCF-Dokumentation -Comment[el]=Πρόσθετο τεκμηρίωσης για τεκμηρίωση τύπου Qt DCF -Comment[es]=Complemento de documentación para Qt DCF -Comment[et]=Qt DCF dokumentatsiooni plugin -Comment[eu]=Qt DCF dokumentaziorako dokumentazio plugin-a -Comment[fa]=وصلۀ مستندسازی برای مستندات Qt DCF -Comment[fr]=Module externe de documentation pour la documentation Qt DCF -Comment[gl]=Extensión de documentación para documentación Qt DCF -Comment[hu]=Dokumentációmodul Qt DCF-dokumentációhoz -Comment[it]=Plugin di documentazione per file di Qt DCF -Comment[ja]=Qt DCF ドキュメンテーションのためのドキュメンテーションプラグイン -Comment[ms]=Plugin dokumentasi untuk dokumentasi Qt DCF -Comment[nds]=Dokmentatschoon-Moduul för Qt-DCF-Dokmentatschoon -Comment[ne]=Qt DCF मिसिलीकरणका लागि मिसिलीकरण प्लगइन -Comment[nl]=Documentatie plugin voor Qt DCF documentatie -Comment[pl]=Wtyczka dokumentacji dla dokumentacji w formacie Qt DCF -Comment[pt]='Plugin' para documentação Qt DCF -Comment[pt_BR]=Plug-in de documentação para documento DCF do Qt -Comment[ru]=Модуль для просмотра Qt DCF -Comment[sk]=Dokumentačný modul pre Qt DCF dokumentáciu -Comment[sl]=Vstavek dokumentacije za Qt DCF -Comment[sr]=Документациони прикључак за Qt DCF документацију -Comment[sr@Latn]=Dokumentacioni priključak za Qt DCF dokumentaciju -Comment[sv]=Dokumentationsinsticksmodul för Qt DCF-dokumentation -Comment[ta]= Qt DCF ஆவணத்திற்கான ஆவணச் சொருகு -Comment[tg]=Модул барои наоиши QT DCF -Comment[tr]=Qt DCF Belgelendirmesi için belgelendirme eklentisi -Comment[zh_CN]=Qt DCF 文档的文档插件 -Comment[zh_TW]=Qt DCF 文件外掛程式 + +Type=Service +Exec=blubb X-TDE-ServiceTypes=TDevelop/DocumentationPlugins X-TDevelop-Version=5 X-TDE-Library=libdocqtplugin diff --git a/parts/documentation/plugins/qt/docqtplugin.h b/parts/documentation/plugins/qt/docqtplugin.h index 31b14b9b..10b60274 100644 --- a/parts/documentation/plugins/qt/docqtplugin.h +++ b/parts/documentation/plugins/qt/docqtplugin.h @@ -27,7 +27,7 @@ class TDEConfig; class DocQtPlugin : public DocumentationPlugin { - Q_OBJECT + TQ_OBJECT public: DocQtPlugin(TQObject* parent, const char* name, const TQStringList args = TQStringList()); diff --git a/parts/documentation/protocols/chm/CMakeLists.txt b/parts/documentation/protocols/chm/CMakeLists.txt index c444c226..114f72cb 100644 --- a/parts/documentation/protocols/chm/CMakeLists.txt +++ b/parts/documentation/protocols/chm/CMakeLists.txt @@ -25,9 +25,11 @@ link_directories( ##### other data ################################ -install( FILES - chm.protocol kchmpart.desktop - DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE chm.protocol kchmpart.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR tdevelop-desktops +) ##### tdeio_chm (module) ########################## diff --git a/parts/documentation/protocols/chm/chm.protocol b/parts/documentation/protocols/chm/chm.protocol index c932fe19..c72dce2d 100644 --- a/parts/documentation/protocols/chm/chm.protocol +++ b/parts/documentation/protocols/chm/chm.protocol @@ -5,32 +5,6 @@ input=none output=filesystem reading=true defaultMimetype=text/html -Description=A tdeioslave for displaying WinHelp files -Description[ca]=Un tdeioslave per a mostrar fitxers WinHelp -Description[da]=En tdeioslave til visning af Windows hjælpefiler -Description[de]=Ein Ein-/Ausgabemodul zur Anzeige von WinHelp-Dateien -Description[el]=Ένας υπηρέτης tdeio για εμφάνιση αρχείων WinHelp -Description[es]=Un tdeioslave para mostrar archivos WinHelp -Description[et]=WinHelp-failide kuvamise IO-moodul -Description[eu]=WinHelp fitxategiak bistaratzeko tdeioslave bat -Description[fa]=یک tdeioslave برای نمایش پروندههای WinHelp -Description[fr]=Un esclave d'E/S (tdeioslave) pour l'affichage des fichiers WinHelp -Description[gl]=Un tdeioslave para mostrar ficheiros WinHelp -Description[hu]=KDE-protokoll WinHelp-fájlok megjelenítéséhez -Description[it]=Un tdeioslave per mostrare i file WinHelp -Description[ja]=WinHelp を表示するための tdeioslave -Description[nds]=En In-/Utgaavmoduul för't Wiesen vun "WinHelp"-Dateien -Description[ne]=WinHelp फाइलहरूका लागि किवस्लेभ -Description[nl]=Een tdeioslave voor het weergeven van WinHelp-bestanden -Description[pl]=tdeioslave do pokazywania plików WinHelp -Description[pt]=A 'tdeioslave' para mostrar ficheiros WinHelp -Description[pt_BR]=Um tdeioslave para exibir arquivos WinHelp -Description[ru]=Обработчик ввода-вывода для файлов WinHelp -Description[sk]=tdeioslave pre zobrazenie WinHelp súborov -Description[sr]=KIOSlave за приказ WinHelp фајлова -Description[sr@Latn]=KIOSlave za prikaz WinHelp fajlova -Description[sv]=En I/O-slav för att visa WinHelp-filer -Description[tr]=WinHelp dosyalarını görüntülemek için bir tdeioslave -Description[zh_CN]=显示 WinHelp 文件的 tdeioslave -Description[zh_TW]=顯示 WinHelp 檔案的 tdeioslave Icon=help + +Description=A tdeioslave for displaying WinHelp files diff --git a/parts/documentation/protocols/chm/decompress.cpp b/parts/documentation/protocols/chm/decompress.cpp index b8f45ae2..e10bab45 100644 --- a/parts/documentation/protocols/chm/decompress.cpp +++ b/parts/documentation/protocols/chm/decompress.cpp @@ -323,9 +323,9 @@ int LZXinit(int window) { */ int make_decode_table(ULONG nsyms, ULONG nbits, UBYTE *length, UWORD *table) { - register UWORD sym; - register ULONG leaf; - register UBYTE bit_num = 1; + UWORD sym; + ULONG leaf; + UBYTE bit_num = 1; ULONG fill; ULONG pos = 0; /* the current position in the decode table */ ULONG table_mask = 1 << nbits; @@ -405,8 +405,8 @@ int lzx_read_lens(UBYTE *lens, ULONG first, ULONG last, lzx_bits *lb) { ULONG i,j, x,y; int z; - register ULONG bitbuf = lb->bb; - register int bitsleft = lb->bl; + ULONG bitbuf = lb->bb; + int bitsleft = lb->bl; UBYTE *inpos = lb->ip; UWORD *hufftbl; @@ -462,8 +462,8 @@ int LZXdecompress(UBYTE* inpos, int inlen, UBYTE* outpos, int outlen) { ULONG R1 = LZX(R1); ULONG R2 = LZX(R2); - register ULONG bitbuf; - register int bitsleft; + ULONG bitbuf; + int bitsleft; ULONG match_offset, i,j,k; /* ijk used in READ_HUFFSYM macro */ lzx_bits lb; /* used in READ_LENGTHS macro */ diff --git a/parts/documentation/protocols/chm/kchmpart.cpp b/parts/documentation/protocols/chm/kchmpart.cpp index 952228c4..4ee167f0 100644 --- a/parts/documentation/protocols/chm/kchmpart.cpp +++ b/parts/documentation/protocols/chm/kchmpart.cpp @@ -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/protocols/chm/kchmpart.desktop b/parts/documentation/protocols/chm/kchmpart.desktop index 21e5d1ad..7226a84a 100644 --- a/parts/documentation/protocols/chm/kchmpart.desktop +++ b/parts/documentation/protocols/chm/kchmpart.desktop @@ -1,46 +1,11 @@ [Desktop Entry] -Type=Service -Exec=foobar +Name=KChmPart + Comment=Embeddable HTMLHelp Viewer -Comment[ca]=Visor encastat de l'ajuda HTML -Comment[da]=Indlejrbar HTMLHjælp-fremviser -Comment[de]=Eingebetteter Betrachter für HTMLHelp -Comment[el]=Ενσωματωμένος προβολέας HTMLHelp -Comment[es]=Visor de ayuda HTML empotrable -Comment[et]=Põimitav HTML-abifailide näitaja -Comment[eu]=HTMLHelp ikustaile kapsulagarria -Comment[fa]=مشاهدهگر کمک قابل نهفتۀ زنگام -Comment[fr]=Afficheur HTMLHelp intégrable -Comment[ga]=Comhpháirt inleabaithe amharctha HTML -Comment[gl]=Visor de HTMLHelp incrustable -Comment[hi]=अंतर्निर्मित योग्य एचटीएमएल मदद प्रदर्शक -Comment[hu]=Beágyazható HTML-es dokumentációnézegető -Comment[it]=Visualizzatore integrabile per la guida HTML -Comment[ja]=埋め込み可能な HTMLHelp ビューア -Comment[ms]=Pelihat HTMLHelp Terbinadalam -Comment[nds]=Inbettbor Kieker för HTMLHelp -Comment[ne]=सम्मिलित गर्न मिल्ने HTMLHelp दृश्यकर्ता -Comment[nl]=Ingebedde HTML Helpweergave -Comment[pl]=Wbudowywalna przeglądarka pomocy w formacie HTML -Comment[pt]=Visualizador de HTMLHelp Incorporado -Comment[pt_BR]=Visualizador de Ajuda HTML Embutido -Comment[ru]=Встроенный просмотр HTMLHelp -Comment[sk]=Vložiteľný HTMLHelp prezerač -Comment[sr]=Уградиви приказивач HTMLHelp-а -Comment[sr@Latn]=Ugradivi prikazivač HTMLHelp-a -Comment[sv]=Inbäddningsbar HTML-hjälpvisning -Comment[ta]=HTML உதவி பார்வையாளரை உட்பொதி -Comment[tg]=Намоиши ҳамвори HTMLHelp -Comment[tr]=Gömülebilir HTMLHelp Görüntüleyicisi -Comment[zh_CN]=嵌入的 HTML 帮助查看器 -Comment[zh_TW]=可嵌入 HTMLHelp 檢視器 + MimeType=application/chm -Name=KChmPart -Name[de]=CHM-Betrachter (TDevelop) -Name[hi]=के-सीएचएम-पार्ट -Name[nds]=Chm-Kieker (TDevelop) -Name[pl]=Program KChm -Name[sv]=Kchm-del +Type=Service +Exec=foobar X-TDE-ServiceTypes=KParts/ReadOnlyPart,Browser/View X-TDE-Library=libkchmpart X-TDevelop-Version=5 diff --git a/parts/documentation/protocols/chm/kchmpart.h b/parts/documentation/protocols/chm/kchmpart.h index 9d1812b1..12c24990 100644 --- a/parts/documentation/protocols/chm/kchmpart.h +++ b/parts/documentation/protocols/chm/kchmpart.h @@ -32,7 +32,7 @@ class TDEAboutData; class KChmPartFactory: public KParts::Factory { - Q_OBJECT + TQ_OBJECT public: KChmPartFactory( TQObject *parent = 0, const char *name = 0 ); @@ -54,7 +54,7 @@ class KChmPartFactory: public KParts::Factory class KChmPart : public KDevHTMLPart { - Q_OBJECT + TQ_OBJECT public: KChmPart( TQWidget *, const char * = 0 ); diff --git a/parts/documentation/searchview.cpp b/parts/documentation/searchview.cpp index 67dca0ed..49e9d425 100644 --- a/parts/documentation/searchview.cpp +++ b/parts/documentation/searchview.cpp @@ -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() @@ -195,10 +195,10 @@ void SearchView::search() 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 = ""; @@ -303,7 +303,7 @@ void SearchView::executed(TQListViewItem *item) void SearchView::itemMouseButtonPressed(int button, TQListViewItem *item, const TQPoint &pos, int // c ) { - if ((button != Qt::RightButton) || (!item)) + if ((button != TQt::RightButton) || (!item)) return; DocumentationItem *docItem = dynamic_cast<DocumentationItem*>(item); if (!docItem) diff --git a/parts/documentation/searchview.h b/parts/documentation/searchview.h index 7c3602c1..90fd5442 100644 --- a/parts/documentation/searchview.h +++ b/parts/documentation/searchview.h @@ -32,7 +32,7 @@ class TQListViewItem; class SearchView: public TQWidget { - Q_OBJECT + TQ_OBJECT public: SearchView(DocumentationPart *part, TQWidget *parent = 0, const char *name = 0); diff --git a/parts/documentation/selecttopic.h b/parts/documentation/selecttopic.h index 6ca5ad8b..daa6e4f1 100644 --- a/parts/documentation/selecttopic.h +++ b/parts/documentation/selecttopic.h @@ -25,7 +25,7 @@ #include "kdevdocumentationplugin.h" class SelectTopic: public SelectTopicBase{ -Q_OBJECT +TQ_OBJECT public: SelectTopic(IndexItem::List &urls, TQWidget *parent = 0, const char *name = 0); diff --git a/parts/documentation/selecttopicbase.ui b/parts/documentation/selecttopicbase.ui index f57b2c10..a2931c19 100644 --- a/parts/documentation/selecttopicbase.ui +++ b/parts/documentation/selecttopicbase.ui @@ -60,9 +60,6 @@ <property name="text"> <string>&OK</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -77,9 +74,6 @@ <property name="text"> <string>&Cancel</string> </property> - <property name="accel"> - <string></string> - </property> <property name="autoDefault"> <bool>true</bool> </property> @@ -135,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..109b36e8 100644 --- a/parts/documentation/tools/htdig/htdigindex.cpp +++ b/parts/documentation/tools/htdig/htdigindex.cpp @@ -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() @@ -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; @@ -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/documentation/tools/htdig/htdigindex.h b/parts/documentation/tools/htdig/htdigindex.h index 667112a3..a5ae5225 100644 --- a/parts/documentation/tools/htdig/htdigindex.h +++ b/parts/documentation/tools/htdig/htdigindex.h @@ -24,7 +24,7 @@ class KProgress; class ProgressDialog : public KDialogBase { - Q_OBJECT + TQ_OBJECT public: ProgressDialog(bool index, TQWidget *parent=0, const char *name=0); |