summaryrefslogtreecommitdiffstats
path: root/KDE3PORTING.html
diff options
context:
space:
mode:
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 d57e90b39..ba92f9313 100644
--- a/KDE3PORTING.html
+++ b/KDE3PORTING.html
@@ -155,9 +155,9 @@ not be available.
<li> TDEAccel::insertItem() and TDEAccel::connectItem().
<pre>
- tdeaccel-&gt;insertItem( i18n("Scroll Up"), "Scroll Up", "Up" );
- - tdeaccel-&gt;connectItem( "Scroll Up", this, TQT_SLOT(scrollUp()) );
+ - tdeaccel-&gt;connectItem( "Scroll Up", this, TQ_SLOT(scrollUp()) );
+ tdeaccel-&gt;insert( "Scroll Up", i18n("Scroll Up"), TQString::null,
- Key_Up, this, TQT_SLOT(scrollUp()) );
+ Key_Up, this, TQ_SLOT(scrollUp()) );
</pre>
Note that a What's This parameter is now a part of the insert function.
You might replace the TQString::null parameter with
@@ -176,7 +176,7 @@ not be available.
The preferred means of defining a shortcut, however, is to use <b>TDEAction</b>.
<pre>
new TDEAction( i18n("Scroll Up"), Key_Up,
- this, TQT_SLOT(scrollUp()), actionCollection(), "Scroll Up" );
+ this, TQ_SLOT(scrollUp()), actionCollection(), "Scroll Up" );
</pre>
<h5>TDEGlobalAccel</h5>
@@ -196,7 +196,7 @@ The preferred means of defining a shortcut, however, is to use <b>TDEAction</b>.
have been removed. (Nobody on the list knew what its function was
supposed to be.) Calls to <i>insert()</i> and the equivalent
<i>key(TDEStdAccel::Insert)</i> can be replaced with the former default
- of <i>Qt::CTRL+Qt::Key_Insert</i>.</li>
+ of <i>TQt::CTRL+TQt::Key_Insert</i>.</li>
<li>The following functions have been deprecated and will need to be changed if KDE_NO_COMPAT is defined:
<table border=1>
<tr><th>Old</th><th>New</th></tr>
@@ -474,7 +474,7 @@ setURLArgs does the job.
The API has been cleaned up to be in line with the rest of tdelibs, in particular:
<ul>
<li>suggestions() now returns a TQStringList instead of a pointer to a QStringList
-<li>intermediateBuffer() now returns a TQString instead of a pointer to a QString
+<li>intermediateBuffer() now returns a TQString instead of a pointer to a TQString
<li>The signal <b>misspelling(TQString, TQStringList *, unsigned)</b> has changed to
misspelling(const TQString &amp;, const TQStringList &amp;, unsigned int)
<li>The signal <b>corrected(TQString, TQString, unsigned)</b> has changed to