00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef KCOUNTRYPAGE_H
00019 #define KCOUNTRYPAGE_H
00020
00021 #include "kcountrypagedlg.h"
00022
00023 class TQStringList;
00024 class KLanguageButton;
00025 class KFindLanguage;
00026
00031 class KCountryPage : public KCountryPageDlg {
00032 Q_OBJECT
00033 public:
00034 KCountryPage(TQWidget *parent=0, const char *name=0);
00035 ~KCountryPage();
00036
00037 void loadCountryList(KLanguageButton *combo);
00038 void fillLanguageMenu(KLanguageButton *combo);
00040 bool save(KLanguageButton *comboCountry, KLanguageButton *comboLang);
00041
00043 bool b_savedLanguageChanged;
00044 bool b_startedLanguageChanged;
00045
00046 private:
00047 TQStringList langs;
00048 TQString s_oldlocale;
00049 KFindLanguage *flang;
00050
00051 private slots:
00052 void setLangForCountry(const TQString &);
00053 void setLanguageChanged();
00054
00055 };
00056
00057 #endif