diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /lib/widgets | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'lib/widgets')
-rw-r--r-- | lib/widgets/CMakeLists.txt | 10 | ||||
-rw-r--r-- | lib/widgets/Makefile.am | 24 | ||||
-rw-r--r-- | lib/widgets/propeditor/CMakeLists.txt | 4 | ||||
-rw-r--r-- | lib/widgets/propeditor/Makefile.am | 14 | ||||
-rw-r--r-- | lib/widgets/tdevhtml_partui.rc (renamed from lib/widgets/kdevhtml_partui.rc) | 2 | ||||
-rw-r--r-- | lib/widgets/tdevhtmlpart.cpp (renamed from lib/widgets/kdevhtmlpart.cpp) | 58 | ||||
-rw-r--r-- | lib/widgets/tdevhtmlpart.h (renamed from lib/widgets/kdevhtmlpart.h) | 10 | ||||
-rw-r--r-- | lib/widgets/tdevtabwidget.cpp (renamed from lib/widgets/kdevtabwidget.cpp) | 8 |
8 files changed, 65 insertions, 65 deletions
diff --git a/lib/widgets/CMakeLists.txt b/lib/widgets/CMakeLists.txt index 30e0ba3e..86303b6d 100644 --- a/lib/widgets/CMakeLists.txt +++ b/lib/widgets/CMakeLists.txt @@ -28,22 +28,22 @@ link_directories( install( FILES tdelistviewaction.h qcomboview.h flagboxes.h ksavealldialog.h resizablecombo.h kcomboview.h - kdevhtmlpart.h processlinemaker.h processwidget.h + tdevhtmlpart.h processlinemaker.h processwidget.h fancylistviewitem.h DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/widgets ) ##### other data ################################ -install( FILES kdevhtml_partui.rc DESTINATION ${DATA_INSTALL_DIR}/tdevelop ) +install( FILES tdevhtml_partui.rc DESTINATION ${DATA_INSTALL_DIR}/tdevelop ) -##### kdevwidgets (shared) ###################### +##### tdevwidgets (shared) ###################### -tde_add_library( kdevwidgets SHARED AUTOMOC +tde_add_library( tdevwidgets SHARED AUTOMOC SOURCES flagboxes.cpp qcomboview.cpp tdelistviewaction.cpp - kcomboview.cpp resizablecombo.cpp kdevhtmlpart.cpp + kcomboview.cpp resizablecombo.cpp tdevhtmlpart.cpp processlinemaker.cpp processwidget.cpp ksavealldialog.cpp fancylistviewitem.cpp VERSION 0.0.0 diff --git a/lib/widgets/Makefile.am b/lib/widgets/Makefile.am index 69be7a11..7181151e 100644 --- a/lib/widgets/Makefile.am +++ b/lib/widgets/Makefile.am @@ -2,29 +2,29 @@ INCLUDES = -I$(top_srcdir)/lib/compat -I$(top_srcdir)/lib/interfaces $(all_inclu METASOURCES = AUTO -lib_LTLIBRARIES = libkdevwidgets.la +lib_LTLIBRARIES = libtdevwidgets.la -kdevwidgetsincludedir = $(includedir)/tdevelop/widgets +tdevwidgetsincludedir = $(includedir)/tdevelop/widgets -libkdevwidgets_la_SOURCES = flagboxes.cpp qcomboview.cpp tdelistviewaction.cpp \ - kcomboview.cpp resizablecombo.cpp kdevhtmlpart.cpp processlinemaker.cpp \ +libtdevwidgets_la_SOURCES = flagboxes.cpp qcomboview.cpp tdelistviewaction.cpp \ + kcomboview.cpp resizablecombo.cpp tdevhtmlpart.cpp processlinemaker.cpp \ processwidget.cpp ksavealldialog.cpp fancylistviewitem.cpp -kdevwidgetsinclude_HEADERS = tdelistviewaction.h qcomboview.h flagboxes.h \ - ksavealldialog.h resizablecombo.h kcomboview.h kdevhtmlpart.h processlinemaker.h \ +tdevwidgetsinclude_HEADERS = tdelistviewaction.h qcomboview.h flagboxes.h \ + ksavealldialog.h resizablecombo.h kcomboview.h tdevhtmlpart.h processlinemaker.h \ processwidget.h fancylistviewitem.h SUBDIRS = propeditor -libkdevwidgets_la_LIBADD = $(top_builddir)/lib/interfaces/libkdevinterfaces.la -libkdevwidgets_la_LDFLAGS = -no-undefined $(all_libraries) +libtdevwidgets_la_LIBADD = $(top_builddir)/lib/interfaces/libtdevinterfaces.la +libtdevwidgets_la_LDFLAGS = -no-undefined $(all_libraries) rcdir = $(kde_datadir)/tdevelop -rc_DATA = kdevhtml_partui.rc +rc_DATA = tdevhtml_partui.rc -DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils kdevutil kdevinterfaces -DOXYGEN_PROJECTNAME = KDevelop Widgets Library -DOXYGEN_DOCDIRPREFIX = kdev +DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils tdevutil tdevinterfaces +DOXYGEN_PROJECTNAME = TDevelop Widgets Library +DOXYGEN_DOCDIRPREFIX = tdev include ../../Doxyfile.am diff --git a/lib/widgets/propeditor/CMakeLists.txt b/lib/widgets/propeditor/CMakeLists.txt index 2620aaa0..1cffb908 100644 --- a/lib/widgets/propeditor/CMakeLists.txt +++ b/lib/widgets/propeditor/CMakeLists.txt @@ -38,9 +38,9 @@ install( FILES DESTINATION ${INCLUDE_INSTALL_DIR}/tdevelop/propeditor ) -##### kdevpropertyeditor (shared) ############### +##### tdevpropertyeditor (shared) ############### -tde_add_library( kdevpropertyeditor SHARED AUTOMOC +tde_add_library( tdevpropertyeditor SHARED AUTOMOC SOURCES childproperty.cpp pcombobox.cpp pdummywidget.cpp ppointedit.cpp propertymachinefactory.cpp diff --git a/lib/widgets/propeditor/Makefile.am b/lib/widgets/propeditor/Makefile.am index e07d5c69..a01eb4d3 100644 --- a/lib/widgets/propeditor/Makefile.am +++ b/lib/widgets/propeditor/Makefile.am @@ -1,18 +1,18 @@ INCLUDES = -I$(top_srcdir)/lib/compat $(all_includes) METASOURCES = AUTO -lib_LTLIBRARIES = libkdevpropertyeditor.la -libkdevpropertyeditor_la_LIBADD = $(LIB_TDEIO) -libkdevpropertyeditor_la_LDFLAGS = -no-undefined $(all_libraries) -libkdevpropertyeditor_la_SOURCES = childproperty.cpp pcombobox.cpp pdummywidget.cpp ppointedit.cpp propertymachinefactory.cpp pstringlistedit.cpp\ +lib_LTLIBRARIES = libtdevpropertyeditor.la +libtdevpropertyeditor_la_LIBADD = $(LIB_TDEIO) +libtdevpropertyeditor_la_LDFLAGS = -no-undefined $(all_libraries) +libtdevpropertyeditor_la_SOURCES = childproperty.cpp pcombobox.cpp pdummywidget.cpp ppointedit.cpp propertymachinefactory.cpp pstringlistedit.cpp\ multiproperty.cpp pcursoredit.cpp pfontbutton.cpp prectedit.cpp propertywidget.cpp psymbolcombo.cpp\ pcheckbox.cpp pdateedit.cpp pfontcombo.cpp property.cpp psizeedit.cpp purledit.cpp\ pcolorbutton.cpp pdatetimeedit.cpp plineedit.cpp propertyeditor.cpp psizepolicyedit.cpp pyesnobutton.cpp\ pcolorcombo.cpp pdoublenuminput.cpp ppixmapedit.cpp propertylist.cpp pspinbox.cpp propertywidgetproxy.cpp plinestyleedit.cpp qeditlistbox.cpp -kdevpropeditorincludedir = $(includedir)/tdevelop/propeditor -kdevpropeditorinclude_HEADERS = childproperty.h pcombobox.h pdummywidget.h ppointedit.h propertymachinefactory.h pcursoredit.h pfontbutton.h prectedit.h propertywidget.h pdateedit.h pfontcombo.h property.h psizeedit.h pdatetimeedit.h plineedit.h propertyeditor.h psizepolicyedit.h pdoublenuminput.h ppixmapedit.h propertylist.h pspinbox.h propertywidgetproxy.h multiproperty.h pyesnobutton.h purledit.h psymbolcombo.h pstringlistedit.h pcolorcombo.h pcolorbutton.h pcheckbox.h plinestyleedit.h +tdevpropeditorincludedir = $(includedir)/tdevelop/propeditor +tdevpropeditorinclude_HEADERS = childproperty.h pcombobox.h pdummywidget.h ppointedit.h propertymachinefactory.h pcursoredit.h pfontbutton.h prectedit.h propertywidget.h pdateedit.h pfontcombo.h property.h psizeedit.h pdatetimeedit.h plineedit.h propertyeditor.h psizepolicyedit.h pdoublenuminput.h ppixmapedit.h propertylist.h pspinbox.h propertywidgetproxy.h multiproperty.h pyesnobutton.h purledit.h psymbolcombo.h pstringlistedit.h pcolorcombo.h pcolorbutton.h pcheckbox.h plinestyleedit.h DOXYGEN_REFERENCES = dcop interfaces tdecore tdefx tdeui tdehtml tdemdi tdeio kjs tdeparts tdeutils -DOXYGEN_PROJECTNAME = KDevelop Property Editing Library +DOXYGEN_PROJECTNAME = TDevelop Property Editing Library include ../../../Doxyfile.am diff --git a/lib/widgets/kdevhtml_partui.rc b/lib/widgets/tdevhtml_partui.rc index 5a55b7bf..a62fa22f 100644 --- a/lib/widgets/kdevhtml_partui.rc +++ b/lib/widgets/tdevhtml_partui.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui version="3" name="KDevHTMLPart" > +<kpartgui version="3" name="TDevHTMLPart" > <MenuBar> <Menu name="file" noMerge="0"><text>&File</text> diff --git a/lib/widgets/kdevhtmlpart.cpp b/lib/widgets/tdevhtmlpart.cpp index 76697cfa..6ec74651 100644 --- a/lib/widgets/kdevhtmlpart.cpp +++ b/lib/widgets/tdevhtmlpart.cpp @@ -14,15 +14,15 @@ #include <tdehtml_settings.h> #include <tdeconfig.h> -#include <kdevmainwindow.h> +#include <tdevmainwindow.h> -#include "kdevhtmlpart.h" +#include "tdevhtmlpart.h" -KDevHTMLPart::KDevHTMLPart() - : TDEHTMLPart(0L, 0L, 0L, "KDevHTMLPart", DefaultGUI ) +TDevHTMLPart::TDevHTMLPart() + : TDEHTMLPart(0L, 0L, 0L, "TDevHTMLPart", DefaultGUI ) { - setXMLFile(locate("data", "tdevelop/kdevhtml_partui.rc"), true); + setXMLFile(locate("data", "tdevelop/tdevhtml_partui.rc"), true); connect(browserExtension(), TQT_SIGNAL(openURLRequestDelayed(const KURL &,const KParts::URLArgs &)), this, TQT_SLOT(openURLRequest(const KURL &)) ); @@ -87,7 +87,7 @@ KDevHTMLPart::KDevHTMLPart() setZoomFactor(appConfig->readEntry("Zoom", "100").toInt()); } -void KDevHTMLPart::popup( const TQString & url, const TQPoint & p ) +void TDevHTMLPart::popup( const TQString & url, const TQPoint & p ) { // TDEPopupMenu popup( i18n( "Documentation Viewer" ), this->widget() ); TDEPopupMenu popup(this->widget()); @@ -143,11 +143,11 @@ void KDevHTMLPart::popup( const TQString & url, const TQPoint & p ) kdDebug() << "processing relative url: " << url << endl; if (url.startsWith("#")) { - kurl = KURL(KDevHTMLPart::url()); + kurl = KURL(TDevHTMLPart::url()); kurl.setRef(url.mid(1)); } else - kurl = KURL(KDevHTMLPart::url().upURL().url(true)+url); + kurl = KURL(TDevHTMLPart::url().upURL().url(true)+url); } else kurl = KURL(url); @@ -157,13 +157,13 @@ void KDevHTMLPart::popup( const TQString & url, const TQPoint & p ) } } -void KDevHTMLPart::setContext(const TQString &context) +void TDevHTMLPart::setContext(const TQString &context) { m_context = context; } -TQString KDevHTMLPart::context() const +TQString TDevHTMLPart::context() const { return m_context; } @@ -250,7 +250,7 @@ done: #undef I #undef X -TQString KDevHTMLPart::resolveEnvVarsInURL(const TQString& url) +TQString TDevHTMLPart::resolveEnvVarsInURL(const TQString& url) { // check for environment variables and make necessary translations TQString path = url; @@ -318,7 +318,7 @@ TQString KDevHTMLPart::resolveEnvVarsInURL(const TQString& url) return path; } -bool KDevHTMLPart::openURL(const KURL &url) +bool TDevHTMLPart::openURL(const KURL &url) { TQString path = resolveEnvVarsInURL(url.url()); KURL newUrl(path); @@ -339,47 +339,47 @@ bool KDevHTMLPart::openURL(const KURL &url) return retval; } -void KDevHTMLPart::openURLRequest(const KURL &url) +void TDevHTMLPart::openURLRequest(const KURL &url) { openURL( url ); } -void KDevHTMLPart::slotReload( ) +void TDevHTMLPart::slotReload( ) { openURL( url() ); } -void KDevHTMLPart::slotStop( ) +void TDevHTMLPart::slotStop( ) { closeURL(); } -void KDevHTMLPart::slotStarted( TDEIO::Job * ) +void TDevHTMLPart::slotStarted( TDEIO::Job * ) { stopAction->setEnabled(true); } -void KDevHTMLPart::slotCompleted( ) +void TDevHTMLPart::slotCompleted( ) { stopAction->setEnabled(false); } -void KDevHTMLPart::slotCancelled( const TQString & /*errMsg*/ ) +void TDevHTMLPart::slotCancelled( const TQString & /*errMsg*/ ) { stopAction->setEnabled(false); } -/*void KDevHTMLPart::slotDuplicate( ) +/*void TDevHTMLPart::slotDuplicate( ) { PartController::getInstance()->showDocument(url(), true); }*/ -void KDevHTMLPart::slotPrint( ) +void TDevHTMLPart::slotPrint( ) { view()->print(); } -void KDevHTMLPart::slotBack() +void TDevHTMLPart::slotBack() { if ( m_Current != m_history.begin() ) { @@ -390,7 +390,7 @@ void KDevHTMLPart::slotBack() } } -void KDevHTMLPart::slotForward() +void TDevHTMLPart::slotForward() { if ( m_Current != m_history.fromLast() ) { @@ -401,7 +401,7 @@ void KDevHTMLPart::slotForward() } } -void KDevHTMLPart::slotBackAboutToShow() +void TDevHTMLPart::slotBackAboutToShow() { TDEPopupMenu *popup = m_backAction->popupMenu(); popup->clear(); @@ -426,7 +426,7 @@ void KDevHTMLPart::slotBackAboutToShow() } } -void KDevHTMLPart::slotForwardAboutToShow() +void TDevHTMLPart::slotForwardAboutToShow() { TDEPopupMenu *popup = m_forwardAction->popupMenu(); popup->clear(); @@ -451,7 +451,7 @@ void KDevHTMLPart::slotForwardAboutToShow() } } -void KDevHTMLPart::slotPopupActivated( int id ) +void TDevHTMLPart::slotPopupActivated( int id ) { kdDebug(9000) << "id: " << id << endl; @@ -471,7 +471,7 @@ void KDevHTMLPart::slotPopupActivated( int id ) } } -void KDevHTMLPart::addHistoryEntry() +void TDevHTMLPart::addHistoryEntry() { TQValueList<DocumentationHistoryEntry>::Iterator it = m_Current; @@ -491,7 +491,7 @@ void KDevHTMLPart::addHistoryEntry() } } -void KDevHTMLPart::slotCopy( ) +void TDevHTMLPart::slotCopy( ) { TQString text = selectedText(); text.replace( TQChar( 0xa0 ), ' ' ); @@ -501,7 +501,7 @@ void KDevHTMLPart::slotCopy( ) connect( cb, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotClearSelection() ) ); } -void KDevHTMLPart::slotSelectionChanged( ) +void TDevHTMLPart::slotSelectionChanged( ) { if (selectedText().isEmpty()) copyAction->setEnabled(false); @@ -509,4 +509,4 @@ void KDevHTMLPart::slotSelectionChanged( ) copyAction->setEnabled(true); } -#include "kdevhtmlpart.moc" +#include "tdevhtmlpart.moc" diff --git a/lib/widgets/kdevhtmlpart.h b/lib/widgets/tdevhtmlpart.h index 6c8f7dc3..e822488b 100644 --- a/lib/widgets/kdevhtmlpart.h +++ b/lib/widgets/tdevhtmlpart.h @@ -1,5 +1,5 @@ -#ifndef __KDEVHTMLPART_H__ -#define __KDEVHTMLPART_H__ +#ifndef __TDEVHTMLPART_H__ +#define __TDEVHTMLPART_H__ #include <stdlib.h> @@ -8,7 +8,7 @@ #include <tdehtml_part.h> /** -@file kdevhtmlpart.h +@file tdevhtmlpart.h Customized TDEHTML part for KDevelop. */ @@ -41,7 +41,7 @@ Represents customized BrowserViewGUI mode of TDEHTMLPart. Provides also actions . It has it's own popup menu and font/zoom settings. */ -class KDevHTMLPart : public TDEHTMLPart +class TDevHTMLPart : public TDEHTMLPart { Q_OBJECT @@ -50,7 +50,7 @@ public: enum Options { CanDuplicate=1, CanOpenInNewWindow=2 }; - KDevHTMLPart(); + TDevHTMLPart(); void setContext(const TQString &context); TQString context() const; diff --git a/lib/widgets/kdevtabwidget.cpp b/lib/widgets/tdevtabwidget.cpp index 33c9f733..adfd4566 100644 --- a/lib/widgets/kdevtabwidget.cpp +++ b/lib/widgets/tdevtabwidget.cpp @@ -16,9 +16,9 @@ #include <kicontheme.h> #include <kiconloader.h> -#include "kdevtabwidget.h" +#include "tdevtabwidget.h" -KDevTabWidget::KDevTabWidget(TQWidget *parent, const char *name) : TQTabWidget(parent,name) +TDevTabWidget::TDevTabWidget(TQWidget *parent, const char *name) : TQTabWidget(parent,name) { m_pTabBar = new KTabBar(this, "tabbar"); setTabBar(m_pTabBar); @@ -55,7 +55,7 @@ void KTabBar::mousePressEvent(TQMouseEvent *e) TQTab *tab = selectTab(e->pos() ); if( tab == 0L ) return; - m_pPage = ((KDevTabWidget*)parent())->page(indexOf(tab->identifier() ) ); + m_pPage = ((TDevTabWidget*)parent())->page(indexOf(tab->identifier() ) ); if(m_pPage == 0L) return; m_pPopupMenu->exec(mapToGlobal(e->pos())); @@ -63,4 +63,4 @@ void KTabBar::mousePressEvent(TQMouseEvent *e) TQTabBar::mousePressEvent(e); } -#include "kdevtabwidget.moc" +#include "tdevtabwidget.moc" |