svnno****@sourc*****
svnno****@sourc*****
2009年 7月 25日 (土) 21:23:22 JST
Revision: 2468 http://sourceforge.jp/projects/kita/svn/view?view=rev&revision=2468 Author: nogu Date: 2009-07-25 21:23:21 +0900 (Sat, 25 Jul 2009) Log Message: ----------- - add connections - don't forget to call show() Modified Paths: -------------- kita/branches/KITA-KDE4/kita/src/mainwindow.cpp kita/branches/KITA-KDE4/kita/src/prefs/loginprefpage.cpp kita/branches/KITA-KDE4/kita/src/prefs/writeprefpage.cpp Modified: kita/branches/KITA-KDE4/kita/src/mainwindow.cpp =================================================================== --- kita/branches/KITA-KDE4/kita/src/mainwindow.cpp 2009-07-24 14:11:08 UTC (rev 2467) +++ kita/branches/KITA-KDE4/kita/src/mainwindow.cpp 2009-07-25 12:23:21 UTC (rev 2468) @@ -232,6 +232,7 @@ SLOT(setFont(const QFont&))); m_prefDialog->show(); } else { + m_prefDialog->show(); m_prefDialog->raise(); } } Modified: kita/branches/KITA-KDE4/kita/src/prefs/loginprefpage.cpp =================================================================== --- kita/branches/KITA-KDE4/kita/src/prefs/loginprefpage.cpp 2009-07-24 14:11:08 UTC (rev 2467) +++ kita/branches/KITA-KDE4/kita/src/prefs/loginprefpage.cpp 2009-07-25 12:23:21 UTC (rev 2468) @@ -18,6 +18,15 @@ { setupUi(this); load(); + connect(kcfg_BeMailAddress, SIGNAL(textChanged(const QString &)), + SIGNAL(changed())); + connect(kcfg_BeAuthCode, SIGNAL(textChanged(const QString &)), + SIGNAL(changed())); + connect(kcfg_UserID, SIGNAL(textChanged(const QString &)), + SIGNAL(changed())); + connect(kcfg_AutoLogin, SIGNAL(toggled(bool)), SIGNAL(changed())); + connect(kcfg_Password, SIGNAL(textChanged(const QString &)), + SIGNAL(changed())); } void LoginPrefPage::apply() Modified: kita/branches/KITA-KDE4/kita/src/prefs/writeprefpage.cpp =================================================================== --- kita/branches/KITA-KDE4/kita/src/prefs/writeprefpage.cpp 2009-07-24 14:11:08 UTC (rev 2467) +++ kita/branches/KITA-KDE4/kita/src/prefs/writeprefpage.cpp 2009-07-25 12:23:21 UTC (rev 2468) @@ -18,6 +18,13 @@ { setupUi(this); load(); + connect(kcfg_DefaultName, SIGNAL(textChanged(const QString &)), + SIGNAL(changed())); + connect(kcfg_DefaultMail, SIGNAL(textChanged(const QString &)), + SIGNAL(changed())); + connect(kcfg_DefaultNameUseAlways, SIGNAL(toggled(bool)), + SIGNAL(changed())); + connect(kcfg_DefaultSage, SIGNAL(toggled(bool)), SIGNAL(changed())); connect(kcfg_DefaultSage, SIGNAL(toggled(bool)), SLOT(slotToggled(bool))); }