Rename many classes and header files to avoid conflicts with KDE4

pull/1/head
Timothy Pearson 11 years ago
parent f82b690456
commit fed45b4784

@ -19,7 +19,7 @@
***************************************************************************/ ***************************************************************************/
#include "addnetworkroutedialog.h" #include "addnetworkroutedialog.h"
#include <klocale.h> #include <klocale.h>
#include <klistview.h> #include <tdelistview.h>
#include <klineedit.h> #include <klineedit.h>
#include <kcombobox.h> #include <kcombobox.h>
#include <tqcheckbox.h> #include <tqcheckbox.h>

@ -50,7 +50,7 @@
#include "importipsecprofiledialog.h" #include "importipsecprofiledialog.h"
#include "utils.h" #include "utils.h"
#include "importcertificatedialog.h" #include "importcertificatedialog.h"
#include <klistview.h> #include <tdelistview.h>
#include "kvpncimportprofileselectiondialogbase.h" #include "kvpncimportprofileselectiondialogbase.h"

@ -77,13 +77,13 @@
#include <kmessagebox.h> #include <kmessagebox.h>
#include <tdeio/netaccess.h> #include <tdeio/netaccess.h>
#include <ktempfile.h> #include <ktempfile.h>
#include <klistview.h> #include <tdelistview.h>
#include <kglobal.h> #include <kglobal.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <knuminput.h> #include <knuminput.h>
#include <tdewallet.h> #include <tdewallet.h>
#include <kinputdialog.h> #include <kinputdialog.h>
#include <kactioncollection.h> #include <tdeactioncollection.h>
#include <tdefiledialog.h> #include <tdefiledialog.h>
#include "kvpnc.h" #include "kvpnc.h"
@ -13992,7 +13992,7 @@ void KVpnc::readFromStderr_ipsecwhack()
} }
} }
void KVpnc::readFromStdout_ipsecwhacklisten() void KVpnc::readFromStdout_ipsecwhactdelisten()
{ {
if ( IpsecWhackListenProcess == 0 || IpsecGotError ) if ( IpsecWhackListenProcess == 0 || IpsecGotError )
return; return;
@ -14142,7 +14142,7 @@ void KVpnc::readFromStdout_ipsecwhacklisten()
} }
} }
void KVpnc::readFromStderr_ipsecwhacklisten() void KVpnc::readFromStderr_ipsecwhactdelisten()
{ {
bool abort = false; bool abort = false;
if ( IpsecWhackListenProcess ==0 || IpsecGotError ) if ( IpsecWhackListenProcess ==0 || IpsecGotError )
@ -14168,8 +14168,8 @@ void KVpnc::readFromStderr_ipsecwhacklisten()
else else
{ {
// we have to give some time to sleep and try again... // we have to give some time to sleep and try again...
connect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStdout() ), this, TQT_SLOT ( readFromStdout_ipsecwhacklisten() ) ); connect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStdout() ), this, TQT_SLOT ( readFromStdout_ipsecwhactdelisten() ) );
connect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStderr() ), this, TQT_SLOT ( readFromStderr_ipsecwhacklisten() ) ); connect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStderr() ), this, TQT_SLOT ( readFromStderr_ipsecwhactdelisten() ) );
IpsecWhackListenProcess->tryTerminate(); IpsecWhackListenProcess->tryTerminate();
sleep ( 2 ); sleep ( 2 );
if ( IpsecWhackListenProcess->isRunning() ) if ( IpsecWhackListenProcess->isRunning() )
@ -21416,13 +21416,13 @@ void KVpnc::ipsecStarted()
IpsecWhackListenProcess->addArgument ( "whack" ); IpsecWhackListenProcess->addArgument ( "whack" );
IpsecWhackListenProcess->addArgument ( "--listen" ); IpsecWhackListenProcess->addArgument ( "--listen" );
connect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStdout() ), this, TQT_SLOT ( readFromStdout_ipsecwhacklisten() ) ); connect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStdout() ), this, TQT_SLOT ( readFromStdout_ipsecwhactdelisten() ) );
connect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStderr() ), this, TQT_SLOT ( readFromStderr_ipsecwhacklisten() ) ); connect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStderr() ), this, TQT_SLOT ( readFromStderr_ipsecwhactdelisten() ) );
if ( !IpsecWhackListenProcess->start ( env ) ) if ( !IpsecWhackListenProcess->start ( env ) )
{ {
disconnect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStdout() ), this, TQT_SLOT ( readFromStdout_ipsecwhacklisten() ) ); disconnect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStdout() ), this, TQT_SLOT ( readFromStdout_ipsecwhactdelisten() ) );
disconnect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStderr() ), this, TQT_SLOT ( readFromStderr_ipsecwhacklisten() ) ); disconnect ( IpsecWhackListenProcess, TQT_SIGNAL ( readyReadStderr() ), this, TQT_SLOT ( readFromStderr_ipsecwhactdelisten() ) );
delete IpsecWhackListenProcess; delete IpsecWhackListenProcess;
IpsecWhackListenProcess=0L; IpsecWhackListenProcess=0L;
KMessageBox::error ( this, i18n ( "\"%1\" start failed!" ).arg ( GlobalConfig->pathToIpsec+" whack' --listen" ) ); KMessageBox::error ( this, i18n ( "\"%1\" start failed!" ).arg ( GlobalConfig->pathToIpsec+" whack' --listen" ) );

@ -38,8 +38,8 @@
#include <tqsize.h> #include <tqsize.h>
#include <tqpopupmenu.h> #include <tqpopupmenu.h>
#include <kapp.h> #include <kapp.h>
#include <kmainwindow.h> #include <tdemainwindow.h>
#include <kaction.h> #include <tdeaction.h>
#include <kprocess.h> #include <kprocess.h>
#include <kwizard.h> #include <kwizard.h>
#include <kapp.h> #include <kapp.h>
@ -381,8 +381,8 @@ private slots:
void readFromStderr_ipsec(); void readFromStderr_ipsec();
void readFromStdout_ipsecwhack(); void readFromStdout_ipsecwhack();
void readFromStderr_ipsecwhack(); void readFromStderr_ipsecwhack();
void readFromStdout_ipsecwhacklisten(); void readFromStdout_ipsecwhactdelisten();
void readFromStderr_ipsecwhacklisten(); void readFromStderr_ipsecwhactdelisten();
void readFromStdout_ipsecwhackstatus(); void readFromStdout_ipsecwhackstatus();
void readFromStderr_ipsecwhackstatus(); void readFromStderr_ipsecwhackstatus();
void readFromStdout_ipsecwhackdelete(); void readFromStdout_ipsecwhackdelete();

@ -24,7 +24,7 @@
#include "kvpncimportprofileselectiondialog.h" #include "kvpncimportprofileselectiondialog.h"
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <klistview.h> #include <tdelistview.h>
#include <klocale.h> #include <klocale.h>
#include <iostream> #include <iostream>
#include <kstandarddirs.h> #include <kstandarddirs.h>
@ -35,7 +35,7 @@
#include <tqcursor.h> #include <tqcursor.h>
#include <tqregexp.h> #include <tqregexp.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <klistview.h> #include <tdelistview.h>
#include <kurl.h> #include <kurl.h>
#include <kinputdialog.h> #include <kinputdialog.h>
#include <klineedit.h> #include <klineedit.h>

@ -19,7 +19,7 @@
***************************************************************************/ ***************************************************************************/
#include "kvpncimportprofileselectiondialog.h" #include "kvpncimportprofileselectiondialog.h"
#include <kpushbutton.h> #include <kpushbutton.h>
#include <klistview.h> #include <tdelistview.h>
#include <tqlistview.h> #include <tqlistview.h>
KvpncImportProfileSelectionDialog::KvpncImportProfileSelectionDialog() KvpncImportProfileSelectionDialog::KvpncImportProfileSelectionDialog()

@ -212,7 +212,7 @@
</connections> </connections>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<includehints> <includehints>
<includehint>klistview.h</includehint> <includehint>tdelistview.h</includehint>
<includehint>klineedit.h</includehint> <includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint> <includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint> <includehint>kpushbutton.h</includehint>

@ -22,7 +22,7 @@
#include <tqimage.h> #include <tqimage.h>
#include <klocale.h> #include <klocale.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kaction.h> #include <tdeaction.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include "kvpnckicker.h" #include "kvpnckicker.h"
#include "kvpnc.h" #include "kvpnc.h"

@ -24,7 +24,7 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <tqevent.h> #include <tqevent.h>
#include <ksystemtray.h> #include <ksystemtray.h>
#include <kpopupmenu.h> #include <tdepopupmenu.h>
#include "kvpncconfig.h" #include "kvpncconfig.h"

@ -19,7 +19,7 @@
***************************************************************************/ ***************************************************************************/
#include "logviewerdialog.h" #include "logviewerdialog.h"
#include <klocale.h> #include <klocale.h>
#include <klistview.h> #include <tdelistview.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <kglobal.h> #include <kglobal.h>
#include <tqstring.h> #include <tqstring.h>

@ -22,7 +22,7 @@
#include <kcmdlineargs.h> #include <kcmdlineargs.h>
#include <kaboutdata.h> #include <kaboutdata.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kmainwindow.h> #include <tdemainwindow.h>
#include <kapp.h> #include <kapp.h>
#include <klocale.h> #include <klocale.h>

@ -28,7 +28,7 @@
#include <tqcursor.h> #include <tqcursor.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <klistview.h> #include <tdelistview.h>
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kcombobox.h> #include <kcombobox.h>

@ -251,7 +251,7 @@
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<includehints> <includehints>
<includehint>kcombobox.h</includehint> <includehint>kcombobox.h</includehint>
<includehint>klistview.h</includehint> <includehint>tdelistview.h</includehint>
<includehint>kpushbutton.h</includehint> <includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint> <includehint>kpushbutton.h</includehint>
</includehints> </includehints>

@ -41,7 +41,7 @@
#include <klineedit.h> #include <klineedit.h>
#include <kinputdialog.h> #include <kinputdialog.h>
#include <knuminput.h> #include <knuminput.h>
#include <klistview.h> #include <tdelistview.h>
#include <ktextedit.h> #include <ktextedit.h>
#include <kpassdlg.h> #include <kpassdlg.h>
#include <tqlayout.h> #include <tqlayout.h>

@ -21,7 +21,7 @@
#include <tqcheckbox.h> #include <tqcheckbox.h>
#include <klineedit.h> #include <klineedit.h>
#include <klistview.h> #include <tdelistview.h>
#include <tqpushbutton.h> #include <tqpushbutton.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kmessagebox.h> #include <kmessagebox.h>

@ -285,7 +285,7 @@
</forwards> </forwards>
<includehints> <includehints>
<includehint>kcombobox.h</includehint> <includehint>kcombobox.h</includehint>
<includehint>klistview.h</includehint> <includehint>tdelistview.h</includehint>
<includehint>kpushbutton.h</includehint> <includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint> <includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint> <includehint>kpushbutton.h</includehint>

@ -20,7 +20,7 @@
//BEGIN INCLUDES //BEGIN INCLUDES
#include "toolsinfodialog.h" #include "toolsinfodialog.h"
#include "listviewtooltip.h" #include "listviewtooltip.h"
#include <klistview.h> #include <tdelistview.h>
//#include <tqlistviewitem.h> //#include <tqlistviewitem.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <kglobal.h> #include <kglobal.h>

@ -136,6 +136,6 @@
</widget> </widget>
<layoutdefaults spacing="6" margin="11"/> <layoutdefaults spacing="6" margin="11"/>
<includehints> <includehints>
<includehint>klistview.h</includehint> <includehint>tdelistview.h</includehint>
</includehints> </includehints>
</UI> </UI>

@ -18,7 +18,7 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/ ***************************************************************************/
#include "vpntypesinfodialog.h" #include "vpntypesinfodialog.h"
#include <klistview.h> #include <tdelistview.h>
//#include <tqlistviewitem.h> //#include <tqlistviewitem.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <kglobal.h> #include <kglobal.h>

Loading…
Cancel
Save