00001 /* 00002 Author: Marco Costalba (C) 2005-2006 00003 00004 Copyright: See COPYING file that comes with this distribution 00005 00006 */ 00007 #ifndef SETTINGSIMPL_H 00008 #define SETTINGSIMPL_H 00009 00010 #include "settingsbase.h" 00011 00012 class Git; 00013 00014 class SettingsImpl: public settingsBase { 00015 Q_OBJECT 00016 public: 00017 SettingsImpl(QWidget* parent, Git* git, int defTab = 0); 00018 00019 protected slots: 00020 void checkBoxNumbers_toggled(bool b); 00021 void checkBoxSign_toggled(bool b); 00022 void checkBoxRangeSelectDialog_toggled(bool b); 00023 void checkBoxRelativeDate_toggled(bool b); 00024 void checkBoxDiffCache_toggled(bool b); 00025 void checkBoxCommitSign_toggled(bool b); 00026 void checkBoxCommitVerify_toggled(bool b); 00027 void lineEditExternalDiffViewer_textChanged(const QString& s); 00028 void lineEditExtraOptions_textChanged(const QString& s); 00029 void lineEditExcludeFile_textChanged(const QString& s); 00030 void lineEditExcludePerDir_textChanged(const QString& s); 00031 void lineEditTemplate_textChanged(const QString& s); 00032 void lineEditCommitExtraOptions_textChanged(const QString& s); 00033 void comboBoxCodecs_activated(int i); 00034 void comboBoxUserSrc_activated(int i); 00035 void pushButtonExtDiff_clicked(); 00036 void pushButtonFont_clicked(); 00037 00038 private: 00039 void setupCodecList(QStringList& list); 00040 void setupCodecsCombo(); 00041 void userInfo(); 00042 00043 Git* git; 00044 static const char* en[]; 00045 QStringList _uInfo; 00046 }; 00047 00048 #endif