summaryrefslogtreecommitdiffstats
path: root/addon/doxywizard/expert.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-01-11 19:39:24 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2005-01-11 19:39:24 (GMT)
commit13feb604f3aa783f927ed47df8e4c561a8d8032a (patch)
tree54c695c7de59dfcbeb32cf134b82f5e4d0eeb460 /addon/doxywizard/expert.cpp
parent8dc1328efbd82110ca3def379951286b09fddd15 (diff)
downloadDoxygen-13feb604f3aa783f927ed47df8e4c561a8d8032a.zip
Doxygen-13feb604f3aa783f927ed47df8e4c561a8d8032a.tar.gz
Doxygen-13feb604f3aa783f927ed47df8e4c561a8d8032a.tar.bz2
Release-1.4.1
Diffstat (limited to 'addon/doxywizard/expert.cpp')
-rw-r--r--addon/doxywizard/expert.cpp21
1 files changed, 13 insertions, 8 deletions
diff --git a/addon/doxywizard/expert.cpp b/addon/doxywizard/expert.cpp
index 084ad95..a9d4028 100644
--- a/addon/doxywizard/expert.cpp
+++ b/addon/doxywizard/expert.cpp
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2004 by Dimitri van Heesch.
+ * Copyright (C) 1997-2005 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -48,6 +48,7 @@ Expert::Expert( QWidget *parent ) : QTabDialog( parent )
m_dependencies->setAutoDelete(TRUE);
m_inputWidgets = new QDict< IInput >;
m_switches = new QDict< QObject >;
+ m_changed = FALSE;
setHelpButton();
@@ -94,7 +95,7 @@ Expert::Expert( QWidget *parent ) : QTabDialog( parent )
pageLayout->addWidget(inputString);
QWhatsThis::add(inputString, option->docs().simplifyWhiteSpace() );
QToolTip::add(inputString,option->docs());
- connect(inputString,SIGNAL(changed()),SIGNAL(changed()));
+ connect(inputString,SIGNAL(changed()),SLOT(changed()));
m_inputWidgets->insert(option->name(),inputString);
addDependency(m_switches,option->dependsOn(),option->name());
}
@@ -117,7 +118,7 @@ Expert::Expert( QWidget *parent ) : QTabDialog( parent )
inputString->init();
QWhatsThis::add(inputString, option->docs().simplifyWhiteSpace() );
QToolTip::add(inputString, option->docs());
- connect(inputString,SIGNAL(changed()),SIGNAL(changed()));
+ connect(inputString,SIGNAL(changed()),SLOT(changed()));
m_inputWidgets->insert(option->name(),inputString);
addDependency(m_switches,option->dependsOn(),option->name());
}
@@ -142,7 +143,7 @@ Expert::Expert( QWidget *parent ) : QTabDialog( parent )
pageLayout->addWidget(inputStrList);
QWhatsThis::add(inputStrList, option->docs().simplifyWhiteSpace() );
QToolTip::add(inputStrList, option->docs());
- connect(inputStrList,SIGNAL(changed()),SIGNAL(changed()));
+ connect(inputStrList,SIGNAL(changed()),SLOT(changed()));
m_inputWidgets->insert(option->name(),inputStrList);
addDependency(m_switches,option->dependsOn(),option->name());
}
@@ -159,7 +160,7 @@ Expert::Expert( QWidget *parent ) : QTabDialog( parent )
pageLayout->addWidget(inputBool);
QWhatsThis::add(inputBool, option->docs().simplifyWhiteSpace() );
QToolTip::add(inputBool, option->docs() );
- connect(inputBool,SIGNAL(changed()),SIGNAL(changed()));
+ connect(inputBool,SIGNAL(changed()),SLOT(changed()));
m_inputWidgets->insert(option->name(),inputBool);
addDependency(m_switches,option->dependsOn(),option->name());
}
@@ -177,7 +178,7 @@ Expert::Expert( QWidget *parent ) : QTabDialog( parent )
pageLayout->addWidget(inputInt);
QWhatsThis::add(inputInt, option->docs().simplifyWhiteSpace() );
QToolTip::add(inputInt, option->docs() );
- connect(inputInt,SIGNAL(changed()),SIGNAL(changed()));
+ connect(inputInt,SIGNAL(changed()),SLOT(changed()));
m_inputWidgets->insert(option->name(),inputInt);
addDependency(m_switches,option->dependsOn(),option->name());
}
@@ -197,8 +198,7 @@ Expert::Expert( QWidget *parent ) : QTabDialog( parent )
emit toggle(di.currentKey(),((InputBool *)obj)->getState());
}
- connect(this,SIGNAL(helpButtonPressed()),
- this,SLOT(handleHelp()));
+ connect(this,SIGNAL(helpButtonPressed()),this,SLOT(handleHelp()));
}
@@ -269,3 +269,8 @@ void Expert::init()
}
+void Expert::changed()
+{
+ m_changed=TRUE;
+}
+