From b10a61b1fd2fe561ba61a384d4a344bae2a4aa29 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 01:04:58 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kopete/protocols/irc/ircaccount.cpp | 2 +- kopete/protocols/irc/irccontactmanager.cpp | 4 +- kopete/protocols/irc/ircprotocol.cpp | 2 +- kopete/protocols/irc/ircusercontact.cpp | 2 +- kopete/protocols/irc/libkirc/kircengine.cpp | 2 +- kopete/protocols/irc/libkirc/ksslsocket.cpp | 12 +- kopete/protocols/irc/libkirc/ksslsocket.h | 2 +- kopete/protocols/irc/ui/CMakeLists.txt | 2 +- kopete/protocols/irc/ui/Makefile.am | 2 +- kopete/protocols/irc/ui/irceditaccountwidget.cpp | 2 +- kopete/protocols/irc/ui/networkconfig.ui | 382 ----------------------- kopete/protocols/irc/ui/networkconfig.ui.h | 26 -- kopete/protocols/irc/ui/networtdeconfig.ui | 382 +++++++++++++++++++++++ kopete/protocols/irc/ui/networtdeconfig.ui.h | 26 ++ 14 files changed, 424 insertions(+), 424 deletions(-) delete mode 100644 kopete/protocols/irc/ui/networkconfig.ui delete mode 100644 kopete/protocols/irc/ui/networkconfig.ui.h create mode 100644 kopete/protocols/irc/ui/networtdeconfig.ui create mode 100644 kopete/protocols/irc/ui/networtdeconfig.ui.h (limited to 'kopete/protocols/irc') diff --git a/kopete/protocols/irc/ircaccount.cpp b/kopete/protocols/irc/ircaccount.cpp index 46e325ac..7daf2f8d 100644 --- a/kopete/protocols/irc/ircaccount.cpp +++ b/kopete/protocols/irc/ircaccount.cpp @@ -43,7 +43,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/kopete/protocols/irc/irccontactmanager.cpp b/kopete/protocols/irc/irccontactmanager.cpp index 84c88f39..10ae8a69 100644 --- a/kopete/protocols/irc/irccontactmanager.cpp +++ b/kopete/protocols/irc/irccontactmanager.cpp @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include @@ -67,7 +67,7 @@ IRCContactManager::IRCContactManager(const TQString &nickName, IRCAccount *accou this, TQT_SLOT( slotContactAdded( Kopete::MetaContact* ))); socketTimeout = 15000; - TQString timeoutPath = locate( "config", "kioslaverc" ); + TQString timeoutPath = locate( "config", "tdeioslaverc" ); if( !timeoutPath.isEmpty() ) { TDEConfig config( timeoutPath ); diff --git a/kopete/protocols/irc/ircprotocol.cpp b/kopete/protocols/irc/ircprotocol.cpp index 96d905c0..e2d359dd 100644 --- a/kopete/protocols/irc/ircprotocol.cpp +++ b/kopete/protocols/irc/ircprotocol.cpp @@ -23,7 +23,7 @@ #include "ircchannelcontact.h" #include "irccontactmanager.h" -#include "networkconfig.h" +#include "networtdeconfig.h" #include "channellist.h" #include "ircguiclient.h" #include "ircusercontact.h" diff --git a/kopete/protocols/irc/ircusercontact.cpp b/kopete/protocols/irc/ircusercontact.cpp index 54c40132..fa2ae7b5 100644 --- a/kopete/protocols/irc/ircusercontact.cpp +++ b/kopete/protocols/irc/ircusercontact.cpp @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include diff --git a/kopete/protocols/irc/libkirc/kircengine.cpp b/kopete/protocols/irc/libkirc/kircengine.cpp index 0fddaab7..79bc56df 100644 --- a/kopete/protocols/irc/libkirc/kircengine.cpp +++ b/kopete/protocols/irc/libkirc/kircengine.cpp @@ -24,7 +24,7 @@ #include "kircengine.h" #include "ksslsocket.h" -#include +#include #include #include #include diff --git a/kopete/protocols/irc/libkirc/ksslsocket.cpp b/kopete/protocols/irc/libkirc/ksslsocket.cpp index 5db30998..d3615fc5 100644 --- a/kopete/protocols/irc/libkirc/ksslsocket.cpp +++ b/kopete/protocols/irc/libkirc/ksslsocket.cpp @@ -184,16 +184,16 @@ void KSSLSocket::showInfoDialog() { if( socketStatus() == connected ) { - if (!d->dcc->isApplicationRegistered("kio_uiserver")) + if (!d->dcc->isApplicationRegistered("tdeio_uiserver")) { - TDEApplication::startServiceByDesktopPath("kio_uiserver.desktop",TQStringList()); + TDEApplication::startServiceByDesktopPath("tdeio_uiserver.desktop",TQStringList()); } TQByteArray data, ignore; TQCString ignoretype; TQDataStream arg(data, IO_WriteOnly); arg << "irc://" + peerAddress()->pretty() + ":" + port() << d->metaData; - d->dcc->call("kio_uiserver", "UIServer", + d->dcc->call("tdeio_uiserver", "UIServer", "showSSLInfoDialog(TQString,TDEIO::MetaData)", data, ignoretype, ignore); } } @@ -233,12 +233,12 @@ int KSSLSocket::messageBox( TDEIO::SlaveBase::MessageBoxType type, const TQStrin TQDataStream arg(data, IO_WriteOnly); arg << (int)1 << (int)type << text << caption << buttonYes << buttonNo; - if (!d->dcc->isApplicationRegistered("kio_uiserver")) + if (!d->dcc->isApplicationRegistered("tdeio_uiserver")) { - TDEApplication::startServiceByDesktopPath("kio_uiserver.desktop",TQStringList()); + TDEApplication::startServiceByDesktopPath("tdeio_uiserver.desktop",TQStringList()); } - d->dcc->call("kio_uiserver", "UIServer", + d->dcc->call("tdeio_uiserver", "UIServer", "messageBox(int,int,TQString,TQString,TQString,TQString)", data, returnType, result); if( returnType == "int" ) diff --git a/kopete/protocols/irc/libkirc/ksslsocket.h b/kopete/protocols/irc/libkirc/ksslsocket.h index a036a71d..f0b8e76c 100644 --- a/kopete/protocols/irc/libkirc/ksslsocket.h +++ b/kopete/protocols/irc/libkirc/ksslsocket.h @@ -22,7 +22,7 @@ #include #include -#include +#include class KSSLSocketPrivate; diff --git a/kopete/protocols/irc/ui/CMakeLists.txt b/kopete/protocols/irc/ui/CMakeLists.txt index 7d77d5b8..d90cdd65 100644 --- a/kopete/protocols/irc/ui/CMakeLists.txt +++ b/kopete/protocols/irc/ui/CMakeLists.txt @@ -26,5 +26,5 @@ include_directories( tde_add_library( kopeteircui STATIC_PIC AUTOMOC SOURCES ircadd.ui empty.cpp irceditaccountwidget.cpp irceditaccount.ui - channellist.cpp channellistdialog.cpp networkconfig.ui + channellist.cpp channellistdialog.cpp networtdeconfig.ui ) diff --git a/kopete/protocols/irc/ui/Makefile.am b/kopete/protocols/irc/ui/Makefile.am index 854a7398..b31b75ea 100644 --- a/kopete/protocols/irc/ui/Makefile.am +++ b/kopete/protocols/irc/ui/Makefile.am @@ -8,5 +8,5 @@ AM_CPPFLAGS = $(KOPETE_INCLUDES) \ libkopeteircui_la_SOURCES = ircadd.ui empty.cpp irceditaccountwidget.cpp \ - irceditaccount.ui channellist.cpp channellistdialog.cpp networkconfig.ui + irceditaccount.ui channellist.cpp channellistdialog.cpp networtdeconfig.ui EXTRA_DIST = ircadd.ui ircprefs.ui empty.cpp diff --git a/kopete/protocols/irc/ui/irceditaccountwidget.cpp b/kopete/protocols/irc/ui/irceditaccountwidget.cpp index f09ea21e..430282fb 100644 --- a/kopete/protocols/irc/ui/irceditaccountwidget.cpp +++ b/kopete/protocols/irc/ui/irceditaccountwidget.cpp @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include diff --git a/kopete/protocols/irc/ui/networkconfig.ui b/kopete/protocols/irc/ui/networkconfig.ui deleted file mode 100644 index 09121e54..00000000 --- a/kopete/protocols/irc/ui/networkconfig.ui +++ /dev/null @@ -1,382 +0,0 @@ - -NetworkConfig - - - NetworkConfig - - - - 0 - 0 - 670 - 468 - - - - Network Configuration - - - - unnamed - - - - description - - - - - textLabel10 - - - - 1 - 5 - 0 - 0 - - - - &Description: - - - description - - - - - groupBox2 - - - - 3 - 3 - 0 - 0 - - - - 4 - - - Host Con&figuration - - - - unnamed - - - - hostList - - - - 3 - 3 - 0 - 0 - - - - The IRC servers associated with this network - - - The IRC servers associated with this network. Use the up and down buttons to alter the order in which connections are attempted. - - - - - password - - - Password - - - Most IRC servers do not require a password - - - - - textLabel6 - - - Por&t: - - - port - - - - - port - - - 65536 - - - 1 - - - 6667 - - - - - textLabel4 - - - &Password: - - - password - - - - - textLabel5 - - - &Host: - - - host - - - - - host - - - true - - - - - - - - useSSL - - - Use SS&L - - - Check this to enable SSL for this connection - - - - - removeHost - - - - 1 - 0 - 0 - 0 - - - - &Remove - - - - - newHost - - - - 1 - 0 - 0 - 0 - - - - &New... - - - - - spacer3 - - - Horizontal - - - Expanding - - - - 210 - 20 - - - - - - downButton - - - false - - - Down - - - Move this server down - - - Move this server down in connection attempt priority - - - - - spacer4 - - - Vertical - - - Expanding - - - - 20 - 151 - - - - - - upButton - - - false - - - Up - - - Move this server up - - - Move this server up in connection attempt priority - - - - - - - cancelButton - - - &Cancel - - - - - saveButton - - - &Save - - - - - newNetwork - - - Ne&w - - - - - networkList - - - - 3 - 7 - 0 - 0 - - - - - - spacer5 - - - Horizontal - - - Expanding - - - - 260 - 20 - - - - - - renameNetwork - - - Rena&me... - - - - - removeNetwork - - - Remo&ve - - - - - - - cancelButton - clicked() - NetworkConfig - reject() - - - saveButton - clicked() - NetworkConfig - accept() - - - - networkList - newNetwork - renameNetwork - removeNetwork - description - hostList - upButton - downButton - host - port - password - useSSL - newHost - removeHost - saveButton - cancelButton - - - accepted() - rejected() - - - accept() - reject() - - - diff --git a/kopete/protocols/irc/ui/networkconfig.ui.h b/kopete/protocols/irc/ui/networkconfig.ui.h deleted file mode 100644 index 183ba57f..00000000 --- a/kopete/protocols/irc/ui/networkconfig.ui.h +++ /dev/null @@ -1,26 +0,0 @@ -/**************************************************************************** -** ui.h extension file, included from the uic-generated form implementation. -** -** If you wish to add, delete or rename functions or slots use -** TQt Designer which will update this file, preserving your code. Create an -** init() function in place of a constructor, and a destroy() function in -** place of a destructor. -*****************************************************************************/ - - - - - - -void NetworkConfig::accept() -{ - emit accepted(); - TQDialog::accept(); -} - - -void NetworkConfig::reject() -{ - emit rejected(); - TQDialog::reject(); -} diff --git a/kopete/protocols/irc/ui/networtdeconfig.ui b/kopete/protocols/irc/ui/networtdeconfig.ui new file mode 100644 index 00000000..09121e54 --- /dev/null +++ b/kopete/protocols/irc/ui/networtdeconfig.ui @@ -0,0 +1,382 @@ + +NetworkConfig + + + NetworkConfig + + + + 0 + 0 + 670 + 468 + + + + Network Configuration + + + + unnamed + + + + description + + + + + textLabel10 + + + + 1 + 5 + 0 + 0 + + + + &Description: + + + description + + + + + groupBox2 + + + + 3 + 3 + 0 + 0 + + + + 4 + + + Host Con&figuration + + + + unnamed + + + + hostList + + + + 3 + 3 + 0 + 0 + + + + The IRC servers associated with this network + + + The IRC servers associated with this network. Use the up and down buttons to alter the order in which connections are attempted. + + + + + password + + + Password + + + Most IRC servers do not require a password + + + + + textLabel6 + + + Por&t: + + + port + + + + + port + + + 65536 + + + 1 + + + 6667 + + + + + textLabel4 + + + &Password: + + + password + + + + + textLabel5 + + + &Host: + + + host + + + + + host + + + true + + + + + + + + useSSL + + + Use SS&L + + + Check this to enable SSL for this connection + + + + + removeHost + + + + 1 + 0 + 0 + 0 + + + + &Remove + + + + + newHost + + + + 1 + 0 + 0 + 0 + + + + &New... + + + + + spacer3 + + + Horizontal + + + Expanding + + + + 210 + 20 + + + + + + downButton + + + false + + + Down + + + Move this server down + + + Move this server down in connection attempt priority + + + + + spacer4 + + + Vertical + + + Expanding + + + + 20 + 151 + + + + + + upButton + + + false + + + Up + + + Move this server up + + + Move this server up in connection attempt priority + + + + + + + cancelButton + + + &Cancel + + + + + saveButton + + + &Save + + + + + newNetwork + + + Ne&w + + + + + networkList + + + + 3 + 7 + 0 + 0 + + + + + + spacer5 + + + Horizontal + + + Expanding + + + + 260 + 20 + + + + + + renameNetwork + + + Rena&me... + + + + + removeNetwork + + + Remo&ve + + + + + + + cancelButton + clicked() + NetworkConfig + reject() + + + saveButton + clicked() + NetworkConfig + accept() + + + + networkList + newNetwork + renameNetwork + removeNetwork + description + hostList + upButton + downButton + host + port + password + useSSL + newHost + removeHost + saveButton + cancelButton + + + accepted() + rejected() + + + accept() + reject() + + + diff --git a/kopete/protocols/irc/ui/networtdeconfig.ui.h b/kopete/protocols/irc/ui/networtdeconfig.ui.h new file mode 100644 index 00000000..183ba57f --- /dev/null +++ b/kopete/protocols/irc/ui/networtdeconfig.ui.h @@ -0,0 +1,26 @@ +/**************************************************************************** +** ui.h extension file, included from the uic-generated form implementation. +** +** If you wish to add, delete or rename functions or slots use +** TQt Designer which will update this file, preserving your code. Create an +** init() function in place of a constructor, and a destroy() function in +** place of a destructor. +*****************************************************************************/ + + + + + + +void NetworkConfig::accept() +{ + emit accepted(); + TQDialog::accept(); +} + + +void NetworkConfig::reject() +{ + emit rejected(); + TQDialog::reject(); +} -- cgit v1.2.1