[uim-commit] r2511 - trunk/qt
ekato at freedesktop.org
ekato at freedesktop.org
Fri Dec 9 22:33:11 PST 2005
Author: ekato
Date: 2005-12-09 22:33:08 -0800 (Fri, 09 Dec 2005)
New Revision: 2511
Modified:
trunk/qt/immodule-qhelpermanager.cpp
trunk/qt/pref-qt.cpp
Log:
* qt/pref-qt.cpp (UimPrefDialog::slotApply) : Use
uim_custom_broadcast_reload_request() as in uim-pref-gtk.
* qt/immodule-qhelpermanager.cpp
(QUimHelperManager::parseHelperStr) : Handle
"custom_reload_notify" message.
Modified: trunk/qt/immodule-qhelpermanager.cpp
===================================================================
--- trunk/qt/immodule-qhelpermanager.cpp 2005-12-10 04:44:29 UTC (rev 2510)
+++ trunk/qt/immodule-qhelpermanager.cpp 2005-12-10 06:33:08 UTC (rev 2511)
@@ -157,6 +157,10 @@
}
}
}
+ else if ( str.startsWith( "custom_reload_notify" ) )
+ {
+ uim_prop_reload_configs();
+ }
}
void QUimHelperManager::parseHelperStrImChange( const QString &str )
Modified: trunk/qt/pref-qt.cpp
===================================================================
--- trunk/qt/pref-qt.cpp 2005-12-10 04:44:29 UTC (rev 2510)
+++ trunk/qt/pref-qt.cpp 2005-12-10 06:33:08 UTC (rev 2511)
@@ -294,7 +294,7 @@
qDebug("start saving....");
uim_custom_save();
- uim_custom_broadcast();
+ uim_custom_broadcast_reload_request();
m_isValueChanged = false;
m_applyButton->setEnabled( false );
More information about the uim-commit
mailing list