diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 19:58:43 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 19:58:43 -0600 |
commit | 7fc46170cb07fb71debd870887b6a85aa89f5e26 (patch) | |
tree | f1d10a0134417509554a0e1d667d39adfd4c24ee | |
parent | 2c241008bc2a541aba15e83447f45970db3f59df (diff) | |
download | tdevelop-7fc46170cb07fb71debd870887b6a85aa89f5e26.tar.gz tdevelop-7fc46170cb07fb71debd870887b6a85aa89f5e26.zip |
Fix kded service and symbol export in support of commit 722ce1ef.
-rw-r--r-- | vcs/subversion/subversion_core.cpp | 2 | ||||
-rw-r--r-- | vcs/subversion/svn_tdeio.cpp | 34 | ||||
-rw-r--r-- | vcs/subversion/tdevsvnd.cpp | 2 | ||||
-rw-r--r-- | vcs/subversion/tdevsvnd.desktop | 4 |
4 files changed, 21 insertions, 21 deletions
diff --git a/vcs/subversion/subversion_core.cpp b/vcs/subversion/subversion_core.cpp index 108bf298..0f67d87d 100644 --- a/vcs/subversion/subversion_core.cpp +++ b/vcs/subversion/subversion_core.cpp @@ -61,7 +61,7 @@ subversionCore::subversionCore(subversionPart *part) m_widget = new subversionWidget(part, 0 , "subversionprocesswidget"); // m_logViewWidget = new SvnLogViewWidget( part, 0 ); // m_part->mainWindow()->embedOutputView( m_logViewWidget, i18n( "Subversion Log" ), i18n( "Subversion Log" ) ); -// if ( ! connectDCOPSignal("kded", "ksvnd", "subversionNotify(TQString,int,int,TQString,int,int,long int,TQString)", "notification(TQString,int,int,TQString,int,int,long int,TQString)", false ) ) +// if ( ! connectDCOPSignal("kded", "tdesvnd", "subversionNotify(TQString,int,int,TQString,int,int,long int,TQString)", "notification(TQString,int,int,TQString,int,int,long int,TQString)", false ) ) // kdWarning() << "Failed to connect to kded dcop signal ! Notifications won't work..." << endl; m_fileInfoProvider = new SVNFileInfoProvider( part ); diff --git a/vcs/subversion/svn_tdeio.cpp b/vcs/subversion/svn_tdeio.cpp index 0abac2b8..4a728f17 100644 --- a/vcs/subversion/svn_tdeio.cpp +++ b/vcs/subversion/svn_tdeio.cpp @@ -983,8 +983,8 @@ void tdeio_svnProtocol::popupMessage( const TQString& message ) { // TQDataStream stream(params, IO_WriteOnly); // stream << message; // -// if ( !dcopClient()->send( "kded","ksvnd","popupMessage(TQString)", params ) ) -// kdWarning() << "Communication with KDED:KSvnd failed" << endl; +// if ( !dcopClient()->send( "kded","tdesvnd","popupMessage(TQString)", params ) ) +// kdWarning() << "Communication with KDED:TDevSvnd failed" << endl; } void tdeio_svnProtocol::blame( KURL url, UrlMode /*mode*/,/* int pegRev, TQString pegRevKind,*/ int startRev, TQString startRevKind, int endRev, TQString endRevKind ) @@ -1632,31 +1632,31 @@ TQString tdeio_svnProtocol::makeSvnURL ( const KURL& url ) const { KURL tpURL = url; tpURL.cleanPath( true ); TQString svnUrl; - if ( kproto == "kdevsvn+http" ) { + if ( kproto == "tdevsvn+http" ) { kdDebug(9036) << "http:/ " << url.url() << endl; tpURL.setProtocol("http"); svnUrl = tpURL.url(-1); return svnUrl; } - else if ( kproto == "kdevsvn+https" ) { + else if ( kproto == "tdevsvn+https" ) { kdDebug(9036) << "https:/ " << url.url() << endl; tpURL.setProtocol("https"); svnUrl = tpURL.url(-1); return svnUrl; } - else if ( kproto == "kdevsvn+ssh" ) { + else if ( kproto == "tdevsvn+ssh" ) { kdDebug(9036) << "svn+ssh:/ " << url.url() << endl; tpURL.setProtocol("svn+ssh"); svnUrl = tpURL.url(-1); return svnUrl; } - else if ( kproto == "kdevsvn+svn" ) { + else if ( kproto == "tdevsvn+svn" ) { kdDebug(9036) << "svn:/ " << url.url() << endl; tpURL.setProtocol("svn"); svnUrl = tpURL.url(-1); return svnUrl; } - else if ( kproto == "kdevsvn+file" ) { + else if ( kproto == "tdevsvn+file" ) { kdDebug(9036) << "file:/ " << url.url() << endl; tpURL.setProtocol("file"); svnUrl = tpURL.url(-1); @@ -1701,7 +1701,7 @@ svn_error_t *tdeio_svnProtocol::trustSSLPrompt(svn_auth_cred_ssl_server_trust_t arg << TQString::fromLocal8Bit(ci->valid_from) << TQString::fromLocal8Bit(ci->valid_until); arg << TQString::fromLocal8Bit(ci->issuer_dname) << TQString::fromLocal8Bit(ci->ascii_cert) ; // call dcop - int ret = p->dcopClient()->call( "kded", "kdevsvnd", + int ret = p->dcopClient()->call( "kded", "tdevsvnd", "sslServerTrustPrompt(TQString, TQString, TQString, TQString, TQString, TQString, TQString)", params, replyType, replyData ); if (!ret){ @@ -1746,7 +1746,7 @@ svn_error_t *tdeio_svnProtocol::clientCertSSLPrompt( // TQByteArray params; // TQCString replyType; // call dcop -// if (!p->dcopClient()->call("kded","kdevsvnd", "sslCertFile()",params,replyType,reply)) { +// if (!p->dcopClient()->call("kded","tdevsvnd", "sslCertFile()",params,replyType,reply)) { // kdWarning()<<" Communication with dcop failed - fail to get certfile "<<endl; // return SVN_NO_ERROR; // } @@ -1779,7 +1779,7 @@ svn_error_t *tdeio_svnProtocol::clientCertPasswdPrompt( // TQDataStream arg( params, IO_WriteOnly ); // arg << i18n( "Enter password for subversion repository access" ) + "\n" + TQString(realm); // // call dcop -// if (!p->dcopClient()->call("kded","kdevsvnd", "sslPasswdDlg(TQString)",params,replyType,reply)) { +// if (!p->dcopClient()->call("kded","tdevsvnd", "sslPasswdDlg(TQString)",params,replyType,reply)) { // kdWarning()<<" Communication with dcop failed - fail to show passwd dlg"<<endl; // return SVN_NO_ERROR; // } @@ -1860,17 +1860,17 @@ svn_error_t *tdeio_svnProtocol::commitLogPrompt( const char **log_msg, const cha stream << slist.join("\n"); kdDebug(9036) << " __TIME__ " << __TIME__ << endl; - if ( !p->dcopClient()->call( "kded","kdevsvnd","commitDialog(TQString)", params, replyType, reply ) ) { + if ( !p->dcopClient()->call( "kded","tdevsvnd","commitDialog(TQString)", params, replyType, reply ) ) { kdWarning() << "Communication with KDED:TDevSvnd failed" << endl; svn_error_t *err = svn_error_create( SVN_ERR_EXTERNAL_PROGRAM, NULL, - apr_pstrdup( pool, "Fail to call kded_kdevsvnd via DCOP. If this is your first problem, try to restart KDE" ) ); + apr_pstrdup( pool, "Fail to call kded_tdevsvnd via DCOP. If this is your first problem, try to restart TDE" ) ); return err; } if ( replyType != TQSTRING_OBJECT_NAME_STRING ) { kdWarning() << "Unexpected reply type" << endl; svn_error_t *err = svn_error_create( SVN_ERR_EXTERNAL_PROGRAM, NULL, - apr_pstrdup( pool, "Fail to call kded_kdevsvnd via DCOP." ) ); + apr_pstrdup( pool, "Fail to call kded_tdevsvnd via DCOP." ) ); return err; } @@ -2136,19 +2136,19 @@ void tdeio_svnProtocol::wc_resolve( const KURL& wc, bool recurse ) { extern "C" { KDE_EXPORT int kdemain(int argc, char **argv) { - TDEInstance instance( "tdeio_kdevsvn" ); + TDEInstance instance( "tdeio_tdevsvn" ); - kdDebug(9036) << "*** Starting tdeio_kdevsvn " << endl; + kdDebug(9036) << "*** Starting tdeio_tdevsvn " << endl; if (argc != 4) { - kdDebug(9036) << "Usage: tdeio_kdevsvn protocol domain-socket1 domain-socket2" << endl; + kdDebug(9036) << "Usage: tdeio_tdevsvn protocol domain-socket1 domain-socket2" << endl; exit(-1); } tdeio_svnProtocol slave(argv[2], argv[3]); slave.dispatchLoop(); - kdDebug(9036) << "*** tdeio_kdevsvn Done" << endl; + kdDebug(9036) << "*** tdeio_tdevsvn Done" << endl; return 0; } } diff --git a/vcs/subversion/tdevsvnd.cpp b/vcs/subversion/tdevsvnd.cpp index ea42667b..427ad7e2 100644 --- a/vcs/subversion/tdevsvnd.cpp +++ b/vcs/subversion/tdevsvnd.cpp @@ -36,7 +36,7 @@ #include "commitdlg.h" extern "C" { - KDE_EXPORT KDEDModule *create_kdevsvnd(const TQCString &name) { + KDE_EXPORT KDEDModule *create_tdevsvnd(const TQCString &name) { return new TDevSvnd(name); } } diff --git a/vcs/subversion/tdevsvnd.desktop b/vcs/subversion/tdevsvnd.desktop index 9ba3e877..7302bf5a 100644 --- a/vcs/subversion/tdevsvnd.desktop +++ b/vcs/subversion/tdevsvnd.desktop @@ -26,7 +26,7 @@ Name[zh_TW]=TDevelop Subversion 模組 Comment=Provides subversion client services with TDevelop ServiceTypes=KDEDModule X-TDE-ModuleType=Library -X-TDE-Library=kdevsvnd -X-TDE-FactoryName=kdevsvnd +X-TDE-Library=tdevsvnd +X-TDE-FactoryName=tdevsvnd X-TDE-Kded-autoload=true X-TDE-Kded-load-on-demand=true |