43 class KMTransportInfo;
45 class AccountWizard :
public KWizard
58 static void start(
KMKernel *kernel, TQWidget *parent = 0 );
63 void showPage( TQWidget *page );
66 AccountWizard(
KMKernel *kernel, TQWidget *parent );
69 void setupWelcomePage();
70 void setupAccountTypePage();
71 void setupAccountInformationPage();
72 void setupLoginInformationPage();
73 void setupServerInformationPage();
76 void chooseLocation();
77 virtual void accept();
78 void createTransport();
79 void transportCreated();
81 void accountCreated();
85 void popCapabilities(
const TQStringList&,
const TQStringList& );
86 void imapCapabilities(
const TQStringList&,
const TQStringList& );
87 void smtpCapabilities(
const TQStringList&,
const TQStringList&,
88 const TQString&,
const TQString&,
const TQString& );
91 TQString accountName()
const;
92 TQLabel *createInfoLabel(
const TQString &msg );
94 void checkPopCapabilities(
const TQString&,
int );
95 void checkImapCapabilities(
const TQString&,
int );
96 void checkSmtpCapabilities(
const TQString&,
int );
97 uint popCapabilitiesFromStringList(
const TQStringList& );
98 uint imapCapabilitiesFromStringList(
const TQStringList& );
99 uint authMethodsFromString(
const TQString& );
100 uint authMethodsFromStringList(
const TQStringList& );
102 TQWidget *mWelcomePage;
104 TQWidget *mAccountTypePage;
105 AccountTypeBox *mTypeBox;
107 TQWidget *mAccountInformationPage;
108 KLineEdit *mRealName;
109 KLineEdit *mEMailAddress;
110 KLineEdit *mOrganization;
112 TQWidget *mLoginInformationPage;
113 KLineEdit *mLoginName;
114 KLineEdit *mPassword;
116 TQWidget *mServerInformationPage;
117 TQLabel *mIncomingLabel;
118 KLineEdit *mIncomingServer;
119 TQCheckBox *mIncomingUseSSL;
120 KLineEdit *mIncomingLocation;
122 TQPushButton *mChooseLocation;
123 KLineEdit *mOutgoingServer;
124 TQCheckBox *mOutgoingUseSSL;
125 TQCheckBox *mLocalDelivery;
127 TQWidget *mIncomingServerWdg;
128 TQWidget *mIncomingLocationWdg;
130 TQLabel *mAuthInfoLabel;
134 KMTransportInfo *mTransportInfo;
135 TQPtrList<KMTransportInfo> mTransportInfoList;
136 KMServerTest *mServerTest;
Central point of coordination in KMail.