summaryrefslogtreecommitdiffstats
path: root/KDE3PORTING.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 23:21:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 23:21:04 -0600
commitd1e0cc99a202cef3306b90b8839a6726e89f201e (patch)
treea0d01a91644fd94aa6da5d8944e052b67461faad /KDE3PORTING.html
parent3e3559f2d4f4c4ffa3caa0374928c8a12be29bf3 (diff)
downloadtdelibs-d1e0cc99a202cef3306b90b8839a6726e89f201e.tar.gz
tdelibs-d1e0cc99a202cef3306b90b8839a6726e89f201e.zip
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'KDE3PORTING.html')
-rw-r--r--KDE3PORTING.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/KDE3PORTING.html b/KDE3PORTING.html
index 407d5c5ad..457fd0cfa 100644
--- a/KDE3PORTING.html
+++ b/KDE3PORTING.html
@@ -154,9 +154,9 @@ not be available.
<ul>
<li> TDEAccel::insertItem() and TDEAccel::connectItem().
<pre>
- - kaccel-&gt;insertItem( i18n("Scroll Up"), "Scroll Up", "Up" );
- - kaccel-&gt;connectItem( "Scroll Up", this, TQT_SLOT(scrollUp()) );
- + kaccel-&gt;insert( "Scroll Up", i18n("Scroll Up"), TQString::null,
+ - tdeaccel-&gt;insertItem( i18n("Scroll Up"), "Scroll Up", "Up" );
+ - tdeaccel-&gt;connectItem( "Scroll Up", this, TQT_SLOT(scrollUp()) );
+ + tdeaccel-&gt;insert( "Scroll Up", i18n("Scroll Up"), TQString::null,
Key_Up, this, TQT_SLOT(scrollUp()) );
</pre>
Note that a What's This parameter is now a part of the insert function.
@@ -168,8 +168,8 @@ not be available.
can replace it. Note, however, that this would be handled automatically
by using TDEAction instead.
<pre>
- - kaccel-&gt;changeMenuAccel( menu, id, "file_open" );
- + menu-&gt;setAccel( kaccel-&gt;shortcut( "file_open" ).keyCodeQt(), id );
+ - tdeaccel-&gt;changeMenuAccel( menu, id, "file_open" );
+ + menu-&gt;setAccel( tdeaccel-&gt;shortcut( "file_open" ).keyCodeQt(), id );
</pre>
</li>
</ul>