/****************************************************************************
** Form interface generated from reading ui file 'newfirstrunwizard.ui'
**
** Created by: The TQt user interface compiler (TQt 3.5.0)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef UI_FIRSTRUNWIZARD_H
#define UI_FIRSTRUNWIZARD_H

#include <ntqvariant.h>
#include <ntqpixmap.h>
#include <kwizard.h>
#include <kprocio.h>

class TQVBoxLayout;
class TQHBoxLayout;
class TQGridLayout;
class TQSpacerItem;
class TQWidget;
class KActiveLabel;
class TQLabel;
class TQGroupBox;
class TQButtonGroup;
class TQRadioButton;
class KURLRequester;
class TQToolButton;
class TQComboBox;
class TQLineEdit;
class TQSpinBox;
class TQPushButton;
class KURLComboRequester;
class TQListBox;
class TQListBoxItem;
class KURL;

class FirstRunWizard : public KWizard
{
    TQ_OBJECT

public:
    FirstRunWizard( TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
    ~FirstRunWizard();

    TQWidget* OpeningPage;
    KActiveLabel* text1;
    TQLabel* pixmapLabel1;
    TQWidget* LocalOrRemote;
    TQGroupBox* Tor_Installtion_2_3_3;
    KActiveLabel* text2_2_2_3;
    TQButtonGroup* buttonGroup1_2_2;
    TQRadioButton* monitorLocal;
    TQRadioButton* monitorRemote;
    TQLabel* pixmapLabel1_2;
    TQWidget* Locate_Tor;
    TQLabel* pixmapLabel1_2_2;
    TQGroupBox* Tor_Installtion;
    KURLRequester* TorLocation;
    TQLabel* textLabel1;
    KActiveLabel* text2;
    TQToolButton* downloadTor;
    KActiveLabel* text2_3;
    TQWidget* HowDoesTorStart;
    TQGroupBox* Tor_Installtion_2;
    KURLRequester* TorLocation_2;
    TQLabel* textLabel1_5;
    TQButtonGroup* How;
    TQRadioButton* torStartsAutomatically;
    TQRadioButton* torStartsManually;
    KActiveLabel* torDiagnosis;
    KActiveLabel* text2_4;
    TQLabel* pixmapLabel1_2_3;
    TQWidget* TorUsage;
    TQGroupBox* Tor_Installtion_2_2;
    TQLabel* textLabel9_3_2;
    TQComboBox* WizardQuickConfigure;
    TQLabel* settingsDescription;
    TQLabel* pixmapLabel1_2_4;
    TQWidget* Remote_Tor;
    TQGroupBox* groupBox28;
    TQLabel* textLabel1_2_2_2_4;
    TQLineEdit* TorPassword;
    TQLabel* textLabel1_4_2_3;
    TQLineEdit* RemoteTorAddress;
    TQSpinBox* RemoteTorPort;
    TQLabel* textLabel1_2;
    TQLabel* textLabel9_3_2_4;
    TQLabel* pixmapLabel1_2_5;
    TQWidget* TorServer;
    TQGroupBox* groupBox28_2;
    TQLabel* textLabel9_2_2_3;
    TQLabel* textLabel9_3_2_4_2;
    TQLabel* textLabel1_3_3_3;
    TQLineEdit* serverName;
    TQLabel* textLabel1_3_2_2_3;
    TQLineEdit* contactMail;
    TQLabel* pixmapLabel1_2_6;
    TQWidget* TestingTor;
    TQGroupBox* Testing_Tor;
    TQGroupBox* modifyConfigs;
    TQPushButton* modifyConfs;
    KURLComboRequester* addConfig;
    TQListBox* configCandidates;
    TQPushButton* testTorAgain;
    TQLabel* torControlStatus;
    TQLabel* pixmapLabel1_2_7;
    TQWidget* NowForPrivoxy;
    TQGroupBox* Tor_Installtion_2_2_2;
    TQLabel* textLabel9_3_2_3;
    TQLabel* pixmapLabel1_2_8;
    TQWidget* WhichProxy;
    TQGroupBox* Tor_Installtion_2_3;
    TQButtonGroup* buttonGroup1_2;
    TQRadioButton* usingAnotherProxy;
    TQRadioButton* usingPrivoxy;
    KActiveLabel* whichProxyTextwhichProxyText__setText__I_found_an_installation_of_Privoxy_on_your_system_____2;
    KActiveLabel* whichProxyText;
    TQLabel* pixmapLabel1_2_9;
    TQWidget* Locate_Privoxy;
    TQGroupBox* Tor_Installtion_3;
    KURLRequester* PrivoxyLocation;
    TQLabel* textLabel1_6;
    KActiveLabel* text2_2;
    TQToolButton* downloadPrivoxy;
    KActiveLabel* text2_3_2;
    TQLabel* pixmapLabel1_2_10;
    TQWidget* HowDoesPrivoxyStart;
    TQLabel* pixmapLabel1_2_11;
    TQGroupBox* Tor_Installtion_2_4;
    KURLRequester* PrivoxyLocation_2;
    TQLabel* textLabel1_5_2;
    KActiveLabel* text2_4_4;
    TQButtonGroup* buttonGroup1_3;
    TQRadioButton* privoxyStartsAutomatically;
    TQRadioButton* privoxyStartsManually;
    KActiveLabel* privoxyText;
    TQWidget* PrivoxyConfiguration;
    TQGroupBox* Testing_Tor_2;
    TQGroupBox* modifyConfigs_2;
    TQPushButton* modifyConfPrivoxy;
    KURLComboRequester* addConfig_2;
    TQListBox* configCandidatesPrivoxy;
    TQLabel* privoxyStatus;
    TQWidget* CheckUsing;
    TQGroupBox* Tor_Installtion_2_3_2_2;
    TQPushButton* pushButton1_2;
    KActiveLabel* text2_2_2_2_2;
    TQLabel* pixmapLabel1_2_12;
    TQWidget* CheckNotUsing;
    TQGroupBox* Tor_Installtion_2_3_2;
    KActiveLabel* text2_2_2_2;
    TQPushButton* pushButton1;
    TQLabel* pixmapLabel1_2_13;
    TQWidget* NonPrivoxyConfirmation;
    TQGroupBox* Tor_Installtion_2_3_2_2_2_2_2;
    TQLabel* textLabel1_2_2_2_2_2_2_2_2;
    KActiveLabel* text2_2_2_2_2_2_2_2;
    TQLabel* pixmapLabel1_2_14;
    TQWidget* FinalPrivoxy;
    TQGroupBox* Tor_Installtion_2_3_2_2_2;
    TQLabel* textLabel1_2_2_2_2_2_2;
    TQPushButton* pushButton1_3;
    KActiveLabel* text2_2_2_2_2_2;
    TQLabel* pixmapLabel1_2_15;
    TQWidget* PrivoxyConfirmation;
    TQGroupBox* Tor_Installtion_2_3_2_2_2_2_3;
    KActiveLabel* text2_2_2_2_2_2_2_3;
    TQLabel* pixmapLabel1_2_16;
    TQWidget* Netstat;
    TQGroupBox* Tor_Installtion_2_3_2_2_2_2_3_2;
    TQPushButton* pushButton6;
    KActiveLabel* text2_2_2_2_2_2_2_3_2;
    TQWidget* Final;
    TQGroupBox* Tor_Installtion_2_3_2_2_2_2;
    TQLabel* textLabel1_2_2_2_2_2_2_2;
    KActiveLabel* text2_2_2_2_2_2_2;

public slots:
    virtual void monitorRemote_toggled( bool remoteTor );
    virtual void usingAnotherProxy_toggled( bool state );
    virtual void torStartsAutomatically_toggled( bool state );
    virtual void torStartsManually_toggled( bool state );
    virtual void processWhich( KProcIO * whichproc );
    virtual void downloadPrivoxy_clicked();
    virtual void downloadTor_clicked();
    virtual void accept();
    virtual void reject();
    virtual void WizardQuickConfigure_activated( int item );
    virtual void saveNonAnonymousProxySettings();
    virtual void saveAnonymousProxySettings();
    virtual void TorLocation_textChanged( const TQString & text );
    virtual void pushButton1_clicked();
    virtual void pushButton1_2_clicked();
    virtual void pushButton1_3_clicked();
    virtual void testTorAgain_clicked();
    virtual void testTor();
    virtual void modifyConfs_clicked();
    virtual void cannotContactTor();
    virtual void contactedTor();
    virtual void examineConfigFiles();
    virtual void pushButton6_clicked();
    virtual void rootifyNetstat();
    virtual void sighupTor( const TQString & text );
    virtual void appendControlDirective( const TQString & text );
    virtual void RemoteTorAddress_textChanged( const TQString & text );
    virtual void modifyConfPrivoxy_clicked();
    virtual void examinePrivoxyConfigFiles();
    virtual void appendPrivoxyConfig( const TQString & text );

protected:
    virtual void showPage( TQWidget * w );

    TQGridLayout* OpeningPageLayout;
    TQSpacerItem* spacer5;
    TQGridLayout* LocalOrRemoteLayout;
    TQSpacerItem* spacer6;
    TQGridLayout* Tor_Installtion_2_3_3Layout;
    TQGridLayout* buttonGroup1_2_2Layout;
    TQGridLayout* Locate_TorLayout;
    TQSpacerItem* spacer6_2;
    TQGridLayout* Tor_InstalltionLayout;
    TQGridLayout* layout2;
    TQGridLayout* HowDoesTorStartLayout;
    TQSpacerItem* spacer6_3;
    TQGridLayout* Tor_Installtion_2Layout;
    TQGridLayout* layout2_2;
    TQGridLayout* HowLayout;
    TQGridLayout* TorUsageLayout;
    TQSpacerItem* spacer6_4;
    TQGridLayout* Tor_Installtion_2_2Layout;
    TQGridLayout* Remote_TorLayout;
    TQSpacerItem* spacer6_5;
    TQGridLayout* groupBox28Layout;
    TQGridLayout* TorServerLayout;
    TQSpacerItem* spacer6_6;
    TQGridLayout* groupBox28_2Layout;
    TQHBoxLayout* layout8;
    TQGridLayout* TestingTorLayout;
    TQSpacerItem* spacer6_7;
    TQGridLayout* Testing_TorLayout;
    TQGridLayout* modifyConfigsLayout;
    TQGridLayout* NowForPrivoxyLayout;
    TQSpacerItem* spacer6_8;
    TQGridLayout* Tor_Installtion_2_2_2Layout;
    TQGridLayout* WhichProxyLayout;
    TQSpacerItem* spacer6_9;
    TQGridLayout* Tor_Installtion_2_3Layout;
    TQGridLayout* buttonGroup1_2Layout;
    TQGridLayout* Locate_PrivoxyLayout;
    TQSpacerItem* spacer6_10;
    TQGridLayout* Tor_Installtion_3Layout;
    TQGridLayout* layout2_5;
    TQGridLayout* HowDoesPrivoxyStartLayout;
    TQSpacerItem* spacer6_11;
    TQGridLayout* Tor_Installtion_2_4Layout;
    TQGridLayout* layout2_2_2;
    TQGridLayout* buttonGroup1_3Layout;
    TQGridLayout* PrivoxyConfigurationLayout;
    TQGridLayout* Testing_Tor_2Layout;
    TQGridLayout* modifyConfigs_2Layout;
    TQGridLayout* CheckUsingLayout;
    TQSpacerItem* spacer6_12;
    TQGridLayout* Tor_Installtion_2_3_2_2Layout;
    TQGridLayout* CheckNotUsingLayout;
    TQSpacerItem* spacer6_13;
    TQGridLayout* Tor_Installtion_2_3_2Layout;
    TQGridLayout* NonPrivoxyConfirmationLayout;
    TQSpacerItem* spacer6_14;
    TQGridLayout* Tor_Installtion_2_3_2_2_2_2_2Layout;
    TQGridLayout* FinalPrivoxyLayout;
    TQSpacerItem* spacer6_15;
    TQGridLayout* Tor_Installtion_2_3_2_2_2Layout;
    TQGridLayout* PrivoxyConfirmationLayout;
    TQSpacerItem* spacer6_16;
    TQGridLayout* Tor_Installtion_2_3_2_2_2_2_3Layout;
    TQGridLayout* NetstatLayout;
    TQGridLayout* Tor_Installtion_2_3_2_2_2_2_3_2Layout;
    TQSpacerItem* spacer3;
    TQSpacerItem* spacer2;
    TQSpacerItem* spacer1;
    TQSpacerItem* spacer4;
    TQGridLayout* FinalLayout;
    TQGridLayout* Tor_Installtion_2_3_2_2_2_2Layout;

protected slots:
    virtual void languageChange();

private:
    TQPixmap image0;
    TQPixmap image1;
    TQPixmap image2;
    TQPixmap image3;
    TQPixmap image4;
    TQPixmap image5;
    TQPixmap image6;
    TQPixmap image7;

    void init();
    void guessDataDir();

};

#endif // FIRSTRUNWIZARD_H
