summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/htmlexport/colorthemeparameter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/htmlexport/colorthemeparameter.cpp')
-rw-r--r--kipi-plugins/htmlexport/colorthemeparameter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kipi-plugins/htmlexport/colorthemeparameter.cpp b/kipi-plugins/htmlexport/colorthemeparameter.cpp
index c7905be..9df77e0 100644
--- a/kipi-plugins/htmlexport/colorthemeparameter.cpp
+++ b/kipi-plugins/htmlexport/colorthemeparameter.cpp
@@ -21,7 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA
// Self
#include "colorthemeparameter.h"
-// Qt
+// TQt
// KDE
#include <kcolorbutton.h>
@@ -31,15 +31,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA
namespace KIPIHTMLExport {
-QWidget* ColorThemeParameter::createWidget(QWidget* parent, const QString& value) const {
- KColorButton* button = new KColorButton(parent);
- QColor color(value);
+TQWidget* ColorThemeParameter::createWidget(TQWidget* tqparent, const TQString& value) const {
+ KColorButton* button = new KColorButton(tqparent);
+ TQColor color(value);
button->setColor(color);
return button;
}
-QString ColorThemeParameter::valueFromWidget(QWidget* widget) const {
+TQString ColorThemeParameter::valueFromWidget(TQWidget* widget) const {
KColorButton* button = static_cast<KColorButton*>(widget);
return button->color().name();
}