diff options
Diffstat (limited to 'src/newprofilewizard.h')
-rw-r--r-- | src/newprofilewizard.h | 131 |
1 files changed, 66 insertions, 65 deletions
diff --git a/src/newprofilewizard.h b/src/newprofilewizard.h index 770e66a..431960b 100644 --- a/src/newprofilewizard.h +++ b/src/newprofilewizard.h @@ -21,13 +21,13 @@ #ifndef NEWPROFILEWIZARD_H #define NEWPROFILEWIZARD_H -#include <qwizard.h> -#include <qwidget.h> -#include <qhbox.h> -#include <qvbox.h> -#include <qstring.h> -#include <qobject.h> -#include <qpixmap.h> +#include <tqwizard.h> +#include <tqwidget.h> +#include <tqhbox.h> +#include <tqvbox.h> +#include <tqstring.h> +#include <tqobject.h> +#include <tqpixmap.h> #include "kvpncconfig.h" @@ -69,15 +69,16 @@ Provides a wizard for creating a new profile @author Christoph Thielecke */ -class NewProfileWizard : public QWizard +class NewProfileWizard : public TQWizard { Q_OBJECT + TQ_OBJECT public: NewProfileWizard(KVpncConfig* GlobalConfig); - void dataChanged( const QString & ); - QString getName(); - QString getProfile(); + void dataChanged( const TQString & ); + TQString getName(); + TQString getProfile(); bool getFinished(); bool newProfileCreated; bool daemonavailable; //< true if required is found, used for connecting after creating @@ -85,7 +86,7 @@ public: VpnAccountData *profileData; public slots: - void showPage( QWidget* page ); + void showPage( TQWidget* page ); void next (); void back(); void accept(); @@ -106,10 +107,10 @@ public slots: void useTlsRemoteHostToggled(bool); void connectionStatusCheckToggled(bool); void authenticateWithUsernameAndPasswordToggled(bool); - void pskInputToggled(const QString& str); - void userpassToggled(const QString& str); - void usernameToggled(const QString& str); - void pskToggled(const QString& str); + void pskInputToggled(const TQString& str); + void userpassToggled(const TQString& str); + void usernameToggled(const TQString& str); + void pskToggled(const TQString& str); void useRightNextHopToggled(bool); void useLeftNextHopToggled(bool); void domainNameToggled(bool); @@ -127,34 +128,34 @@ public slots: void useRemoteNetworkToggled(bool); void useEspToogled(bool); void useIkeToggled(bool); - void remoteIDTypeRacoonToggled(const QString&); - void localIDTypeRacoonToggled(const QString&); - void remoteIDTypeIpsecToggled(const QString&); - void localIDTypeIpsecToggled(const QString&); - void defaultRouteToggled(const QString&); + void remoteIDTypeRacoonToggled(const TQString&); + void localIDTypeRacoonToggled(const TQString&); + void remoteIDTypeIpsecToggled(const TQString&); + void localIDTypeIpsecToggled(const TQString&); + void defaultRouteToggled(const TQString&); void ikeGroupToggled(bool); void useXauthFreeswanToggled(bool); void useXauthRacoonToggled(bool); - void tunnelDeviceTypeChanged(const QString &); + void tunnelDeviceTypeChanged(const TQString &); void useDnsServerToggled(bool); void useSearchDomainInResolvConfToggled(bool); void useDomainInResolvConfToggled(bool); //void reject(); protected: - QString ConnectionType; - QString Gateway; - QString ID; - QString Username; - QString UserPassword; - QString PreSharedKey; - QString ApplicationVersion; - QString NtDomainName; - QString PerfectForwardSecrecy; - QString IkeGroup; - QString DnsServer; //< userdefined DNS server for pptp - QString Name; - QString Description; + TQString ConnectionType; + TQString Gateway; + TQString ID; + TQString Username; + TQString UserPassword; + TQString PreSharedKey; + TQString ApplicationVersion; + TQString NtDomainName; + TQString PerfectForwardSecrecy; + TQString IkeGroup; + TQString DnsServer; //< userdefined DNS server for pptp + TQString Name; + TQString Description; bool saveUserPassword; bool savePsk; bool useApplicationVersion; @@ -183,32 +184,32 @@ private: void setupPages(); bool importProfile(VpnAccountData::ConnectionType ConnType); bool importCertificate(); - QHBox *page1; - QHBox *newprofilewizardtypeselectionpage; - QHBox *newprofilewizardgeneralpage; - QHBox *newprofilewizardciscoselectionpage; - QHBox *newprofilewizardciscomanuallypage; - QHBox *newprofilewizardracoonpage; - QHBox *newprofilewizardfreeswanpage; - QHBox *newprofilewizardfreeswanselectionpage; - QHBox *newprofilewizardopenvpnpage; - QHBox *newprofilewizardopenvpnselectionpage; - QHBox *newprofilewizardopenvpnauthpage; - QHBox *newprofilewizardpptppage; - QHBox *newprofilewizardvtunpage; - QHBox *newprofilewizardsshpage; - QHBox *newprofilewizardauthselectionpage; - QHBox *newprofilewizardpskpage; - QHBox *newprofilewizardcertpage; - QHBox *newprofilewizardp12certselectionpage; - QHBox *newprofilewizarduserpage; - QHBox *newprofilewizardnetworkpage; - QHBox *newprofilewizardvirtualipaddresspage; - QHBox *newprofilewizardnetworkroutepage; - QHBox *newprofilewizardnatpage; - QHBox *newprofilewizardconnectionstatuscheckpage; - QHBox *newprofilewizardconnectoptionspage; - QHBox *endpage; + TQHBox *page1; + TQHBox *newprofilewizardtypeselectionpage; + TQHBox *newprofilewizardgeneralpage; + TQHBox *newprofilewizardciscoselectionpage; + TQHBox *newprofilewizardciscomanuallypage; + TQHBox *newprofilewizardracoonpage; + TQHBox *newprofilewizardfreeswanpage; + TQHBox *newprofilewizardfreeswanselectionpage; + TQHBox *newprofilewizardopenvpnpage; + TQHBox *newprofilewizardopenvpnselectionpage; + TQHBox *newprofilewizardopenvpnauthpage; + TQHBox *newprofilewizardpptppage; + TQHBox *newprofilewizardvtunpage; + TQHBox *newprofilewizardsshpage; + TQHBox *newprofilewizardauthselectionpage; + TQHBox *newprofilewizardpskpage; + TQHBox *newprofilewizardcertpage; + TQHBox *newprofilewizardp12certselectionpage; + TQHBox *newprofilewizarduserpage; + TQHBox *newprofilewizardnetworkpage; + TQHBox *newprofilewizardvirtualipaddresspage; + TQHBox *newprofilewizardnetworkroutepage; + TQHBox *newprofilewizardnatpage; + TQHBox *newprofilewizardconnectionstatuscheckpage; + TQHBox *newprofilewizardconnectoptionspage; + TQHBox *endpage; NewProfileWizardTypeSelection *newprofilewizardtypeselectionpagecontent; NewProfileWizardGeneral *newprofilewizardgeneralpagecontent; NewProfileWizardCiscoSelection *newprofilewizardciscoselectionpagecontent; @@ -235,14 +236,14 @@ private: NewProfileWizardConnectOptions *newprofilewizardconnectoptionscontent; ProfileNetworkVirtualIpOptions *profilenetworkvirtualipoptionscontent; KVpncConfig* GlobalConfig; //< pointer to global config class - QWidget* currentpage; // pointer to current page - QWidget* previouspage; //< pointer to previous page + TQWidget* currentpage; // pointer to current page + TQWidget* previouspage; //< pointer to previous page bool finished; bool enterdatamanually; //< enter data manually bool useCert; //< use certificate for authentication bool importOK; //< import was successful - QPixmap *SetupPixmap; - QPixmap *SetupPixmapFinal; + TQPixmap *SetupPixmap; + TQPixmap *SetupPixmapFinal; }; |