summaryrefslogtreecommitdiffstats
path: root/kjsembed
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:15:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:15:43 -0600
commit4769a4b79bc1358eee8198b4cd87b235d75d86fb (patch)
treebf710937e6c5d16656171a3c26b5f4b11c38fc01 /kjsembed
parent698b9b64bfb334db6f88ba67f4a4e9a76aaf3185 (diff)
downloadtdebindings-4769a4b79bc1358eee8198b4cd87b235d75d86fb.tar.gz
tdebindings-4769a4b79bc1358eee8198b4cd87b235d75d86fb.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kjsembed')
-rw-r--r--kjsembed/builtins/resources.h2
-rw-r--r--kjsembed/docs/ChangeLog4
-rwxr-xr-xkjsembed/docs/build-docs.sh4
-rw-r--r--kjsembed/jsconsolewidget.cpp4
4 files changed, 7 insertions, 7 deletions
diff --git a/kjsembed/builtins/resources.h b/kjsembed/builtins/resources.h
index 00bcdeb0..a93332b9 100644
--- a/kjsembed/builtins/resources.h
+++ b/kjsembed/builtins/resources.h
@@ -66,7 +66,7 @@ private:
/**
- * KJS binding for KIconLoader.
+ * KJS binding for TDEIconLoader.
*
* @author Ian Reinhart Geiser geiseri@kde.org
*/
diff --git a/kjsembed/docs/ChangeLog b/kjsembed/docs/ChangeLog
index c95e6d0c..315d91d9 100644
--- a/kjsembed/docs/ChangeLog
+++ b/kjsembed/docs/ChangeLog
@@ -2383,7 +2383,7 @@
2003-11-19 Wednesday 00:58 geiseri
- Added support for KIconLoader and KStdDirs so we can find junk in KDE.
+ Added support for TDEIconLoader and KStdDirs so we can find junk in KDE.
Exposed :
findResource, addResourceType, kde_default,
addResourceDir, findResourceDir, saveLocation,
@@ -4097,7 +4097,7 @@
KDualColorButton, KEditListBox, TDEFontCombo, KGradientSelector,
KHistoryCombo, KHSSelector, KLed, TDEListBox, TDEListView,
KLineEdit, KPasswordEdit, KProgress, KPushButton,
- KRestrictedLine, KIconButton, KIntSpinBox, KRuler,
+ KRestrictedLine, TDEIconButton, KIntSpinBox, KRuler,
KSqueezedTextLabel, KTextBrowser, KTextEdit,
KURLLabel, KURLRequester,
KIntNumInput, KDoubleNumInput, KDoubleSpinBox
diff --git a/kjsembed/docs/build-docs.sh b/kjsembed/docs/build-docs.sh
index 2198a82b..b3927aec 100755
--- a/kjsembed/docs/build-docs.sh
+++ b/kjsembed/docs/build-docs.sh
@@ -20,7 +20,7 @@ $JS write_docs.js 'Global' 'global' 'The global object.' > $REF/global.html
$JS write_docs.js 'Application' 'application' 'Global application object.' > $REF/application.html
$JS write_docs.js 'Part' 'part' 'Part used by the interpreter.' > $REF/part.html
$JS write_docs.js 'StdDirs' 'StdDirs' 'Provides access to TDEStandardDirs.' > $REF/stddirs.html
-$JS write_docs.js 'StdIcons' 'StdIcons' 'Provides access to the KIconLoader.' > $REF/stdicons.html
+$JS write_docs.js 'StdIcons' 'StdIcons' 'Provides access to the TDEIconLoader.' > $REF/stdicons.html
# Custom Objects
$JS write_docs.js 'Image' 'new Image()' 'Bindings to the TQImage class.' > $REF/image.html
@@ -60,7 +60,7 @@ OBJECTS="$OBJECTS KComboBox TDECModule KDateWidget KDatePicker KDialog"
OBJECTS="$OBJECTS KDualColorButton KEditListBox TDEFontCombo KGradientSelector"
OBJECTS="$OBJECTS KHistoryCombo KHSSelector KLed TDEListBox TDEListView"
OBJECTS="$OBJECTS KLineEdit KPasswordEdit KProgress KPushButton"
-OBJECTS="$OBJECTS KRestrictedLine KIconButton KIntSpinBox KRuler"
+OBJECTS="$OBJECTS KRestrictedLine TDEIconButton KIntSpinBox KRuler"
OBJECTS="$OBJECTS KSqueezedTextLabel KTextBrowser KTextEdit"
OBJECTS="$OBJECTS KURLLabel KURLRequester"
OBJECTS="$OBJECTS KIntNumInput KDoubleNumInput KDoubleSpinBox"
diff --git a/kjsembed/jsconsolewidget.cpp b/kjsembed/jsconsolewidget.cpp
index fc898716..072f04a0 100644
--- a/kjsembed/jsconsolewidget.cpp
+++ b/kjsembed/jsconsolewidget.cpp
@@ -64,8 +64,8 @@ JSConsoleWidget::~JSConsoleWidget()
void JSConsoleWidget::createView()
{
- TQPixmap px( TDEGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, KIcon::SizeSmall) );
- TQPixmap pxl( TDEGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, KIcon::SizeLarge) );
+ TQPixmap px( TDEGlobal::iconLoader()->loadIcon("konsole", TDEIcon::NoGroup, TDEIcon::SizeSmall) );
+ TQPixmap pxl( TDEGlobal::iconLoader()->loadIcon("konsole", TDEIcon::NoGroup, TDEIcon::SizeLarge) );
setIcon( px );
KWin::setIcons( winId(), pxl, px );