summaryrefslogtreecommitdiffstats
path: root/styles
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 21:03:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-27 21:03:04 -0600
commit48d026a1747f74cfbda29cfc573536dd1444dc69 (patch)
tree25960c104014affe59d9d75338503f48e43dd175 /styles
parent4df2d2fa4e70ab5d39a227c13a7170210a8287bd (diff)
downloadtdeartwork-48d026a1747f74cfbda29cfc573536dd1444dc69.zip
tdeartwork-48d026a1747f74cfbda29cfc573536dd1444dc69.tar.gz
Rename kiobuffer and KHTML
Diffstat (limited to 'styles')
-rw-r--r--styles/dotnet/dotnet.cpp8
-rw-r--r--styles/dotnet/dotnet.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/styles/dotnet/dotnet.cpp b/styles/dotnet/dotnet.cpp
index 49e51e3..d5c0f43 100644
--- a/styles/dotnet/dotnet.cpp
+++ b/styles/dotnet/dotnet.cpp
@@ -100,9 +100,9 @@ dotNETstyle::~dotNETstyle()
{
}
-bool dotNETstyle::inheritsKHTML(const TQWidget* w) const
+bool dotNETstyle::inheritsTDEHTML(const TQWidget* w) const
{
- if (w->parentWidget(true) && w->parentWidget(true)->parentWidget(true) && w->parentWidget(true)->parentWidget(true)->parentWidget(true) && w->parentWidget(true)->parentWidget(true)->parentWidget(true)->inherits("KHTMLView")) {
+ if (w->parentWidget(true) && w->parentWidget(true)->parentWidget(true) && w->parentWidget(true)->parentWidget(true)->parentWidget(true) && w->parentWidget(true)->parentWidget(true)->parentWidget(true)->inherits("TDEHTMLView")) {
return true;
} else {
return false;
@@ -124,7 +124,7 @@ void dotNETstyle::polish(const TQStyleControlElementData &ceData, ControlElement
// to update the palette again.
// bool extraPalette = false;
- if (ceData.widgetObjectTypes.contains(TQCOMBOBOX_OBJECT_NAME_STRING) && !inheritsKHTML(widget)) {
+ if (ceData.widgetObjectTypes.contains(TQCOMBOBOX_OBJECT_NAME_STRING) && !inheritsTDEHTML(widget)) {
installObjectEventHandler(ceData, elementFlags, ptr, this);
updatePalette( (TQComboBox*) widget );
// extraPalette = true;
@@ -156,7 +156,7 @@ void dotNETstyle::unPolish(const TQStyleControlElementData &ceData, ControlEleme
if (ceData.widgetObjectTypes.contains(TQWIDGET_OBJECT_NAME_STRING)) {
TQWidget *widget = reinterpret_cast<TQWidget*>(ptr);
- if (ceData.widgetObjectTypes.contains(TQCOMBOBOX_OBJECT_NAME_STRING) && !inheritsKHTML(widget)) {
+ if (ceData.widgetObjectTypes.contains(TQCOMBOBOX_OBJECT_NAME_STRING) && !inheritsTDEHTML(widget)) {
removeObjectEventHandler(ceData, elementFlags, ptr, this);
}
}
diff --git a/styles/dotnet/dotnet.h b/styles/dotnet/dotnet.h
index fb02ef3..416f20a 100644
--- a/styles/dotnet/dotnet.h
+++ b/styles/dotnet/dotnet.h
@@ -41,7 +41,7 @@ public:
dotNETstyle();
virtual ~dotNETstyle();
- bool inheritsKHTML( const TQWidget* widget ) const;
+ bool inheritsTDEHTML( const TQWidget* widget ) const;
void polish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void * );
void unPolish( const TQStyleControlElementData &ceData, ControlElementFlags elementFlags, void * );