|
|
@ -86,11 +86,11 @@ public:
|
|
|
|
TQAsciiDict<int> ignoreTheseWidgets;
|
|
|
|
TQAsciiDict<int> ignoreTheseWidgets;
|
|
|
|
|
|
|
|
|
|
|
|
void init(){
|
|
|
|
void init(){
|
|
|
|
ignoreTheseWidgets.insert(TQLABEL_OBJECT_NAME_STRING, new int(1));
|
|
|
|
ignoreTheseWidgets.insert("TQLabel", new int(1));
|
|
|
|
ignoreTheseWidgets.insert(TQFRAME_OBJECT_NAME_STRING, new int(2));
|
|
|
|
ignoreTheseWidgets.insert("TQFrame", new int(2));
|
|
|
|
ignoreTheseWidgets.insert(TQGROUPBOX_OBJECT_NAME_STRING, new int(3));
|
|
|
|
ignoreTheseWidgets.insert("TQGroupBox", new int(3));
|
|
|
|
ignoreTheseWidgets.insert(TQBUTTONGROUP_OBJECT_NAME_STRING, new int(4));
|
|
|
|
ignoreTheseWidgets.insert("TQButtonGroup", new int(4));
|
|
|
|
ignoreTheseWidgets.insert(TQWIDGET_OBJECT_NAME_STRING, new int(5));
|
|
|
|
ignoreTheseWidgets.insert("TQWidget", new int(5));
|
|
|
|
ignoreTheseWidgets.setAutoDelete(true);
|
|
|
|
ignoreTheseWidgets.setAutoDelete(true);
|
|
|
|
|
|
|
|
|
|
|
|
static bool defaultKDEPropertyMapInstalled = false;
|
|
|
|
static bool defaultKDEPropertyMapInstalled = false;
|
|
|
@ -141,25 +141,25 @@ bool KAutoConfig::retrieveSettings(bool trackChanges){
|
|
|
|
|
|
|
|
|
|
|
|
if(trackChanges){
|
|
|
|
if(trackChanges){
|
|
|
|
// QT
|
|
|
|
// QT
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQBUTTON_OBJECT_NAME_STRING), TQT_SIGNAL(stateChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQButton"), TQT_SIGNAL(stateChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQCHECKBOX_OBJECT_NAME_STRING), TQT_SIGNAL(stateChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQCheckBox"), TQT_SIGNAL(stateChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQPUSHBUTTON_OBJECT_NAME_STRING), TQT_SIGNAL(stateChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQPushButton"), TQT_SIGNAL(stateChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQRADIOBUTTON_OBJECT_NAME_STRING), TQT_SIGNAL(stateChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQRadioButton"), TQT_SIGNAL(stateChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQCOMBOBOX_OBJECT_NAME_STRING), TQT_SIGNAL(activated (int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQComboBox"), TQT_SIGNAL(activated (int)));
|
|
|
|
//qsqlproperty map doesn't store the text, but the value!
|
|
|
|
//qsqlproperty map doesn't store the text, but the value!
|
|
|
|
//changedMap.insert(TQString::fromLatin1(TQCOMBOBOX_OBJECT_NAME_STRING), TQT_SIGNAL(textChanged(const TQString &)));
|
|
|
|
//changedMap.insert(TQString::fromLatin1("TQComboBox"), TQT_SIGNAL(textChanged(const TQString &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQDATEEDIT_OBJECT_NAME_STRING), TQT_SIGNAL(valueChanged(const TQDate &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQDateEdit"), TQT_SIGNAL(valueChanged(const TQDate &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQDATETIMEEDIT_OBJECT_NAME_STRING), TQT_SIGNAL(valueChanged(const TQDateTime &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQDateTimeEdit"), TQT_SIGNAL(valueChanged(const TQDateTime &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQDIAL_OBJECT_NAME_STRING), TQT_SIGNAL(valueChanged (int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQDial"), TQT_SIGNAL(valueChanged (int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQLINEEDIT_OBJECT_NAME_STRING), TQT_SIGNAL(textChanged(const TQString &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQLineEdit"), TQT_SIGNAL(textChanged(const TQString &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQSLIDER_OBJECT_NAME_STRING), TQT_SIGNAL(valueChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQSlider"), TQT_SIGNAL(valueChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQSPINBOX_OBJECT_NAME_STRING), TQT_SIGNAL(valueChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQSpinBox"), TQT_SIGNAL(valueChanged(int)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQTIMEEDIT_OBJECT_NAME_STRING), TQT_SIGNAL(valueChanged(const TQTime &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQTimeEdit"), TQT_SIGNAL(valueChanged(const TQTime &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQTEXTEDIT_OBJECT_NAME_STRING), TQT_SIGNAL(textChanged()));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQTextEdit"), TQT_SIGNAL(textChanged()));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQTEXTBROWSER_OBJECT_NAME_STRING), TQT_SIGNAL(sourceChanged(const TQString &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQTextBrowser"), TQT_SIGNAL(sourceChanged(const TQString &)));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQMULTILINEEDIT_OBJECT_NAME_STRING), TQT_SIGNAL(textChanged()));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQMultiLineEdit"), TQT_SIGNAL(textChanged()));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQLISTBOX_OBJECT_NAME_STRING), TQT_SIGNAL(selectionChanged()));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQListBox"), TQT_SIGNAL(selectionChanged()));
|
|
|
|
changedMap.insert(TQString::fromLatin1(TQTABWIDGET_OBJECT_NAME_STRING), TQT_SIGNAL(currentChanged(TQWidget *)));
|
|
|
|
changedMap.insert(TQString::fromLatin1("TQTabWidget"), TQT_SIGNAL(currentChanged(TQWidget *)));
|
|
|
|
|
|
|
|
|
|
|
|
// KDE
|
|
|
|
// KDE
|
|
|
|
changedMap.insert( TQString::fromLatin1("KComboBox"), TQT_SIGNAL(activated (int)));
|
|
|
|
changedMap.insert( TQString::fromLatin1("KComboBox"), TQT_SIGNAL(activated (int)));
|
|
|
|