Additional cleanup

pull/1/head
Timothy Pearson 13 years ago
parent 12cadbfed9
commit 2627136bb0

@ -86,14 +86,14 @@
<tr><td>In versions KDE 3.2.0 and above only</td></tr>
<tr><td><i>static</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>staticTQString</b> (str)
<li><b>staticQString</b> (str)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
<tr><td><i>static</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>str</td><td>char</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>staticTQString</b> (str)
<li><b>staticQString</b> (str)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
<tr><td><i>static</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>

@ -36,9 +36,9 @@
</table>
<h3>enums</h3><ul>
<li><b>(anonymous)</b> = {MOD_FLAG_COUNT
}<li><b>(anonymous)</b> = {TQtWIN
}<li><b>(anonymous)</b> = {TQtWIN
}<li><b>(anonymous)</b> = {TQtWIN
}<li><b>(anonymous)</b> = {QtWIN
}<li><b>(anonymous)</b> = {QtWIN
}<li><b>(anonymous)</b> = {QtWIN
}<li><b>ModFlag</b> = {SHIFT, CTRL, ALT, WIN
}</ul>
<h3>methods</h3><ul>
@ -137,7 +137,7 @@
<li><b>isValidTQt</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td><i>Not Implemented</i></td></tr></table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>keyCodeTQt</b> ()
<li><b>keyCodeQt</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>modFlagLabel</b> (f)

@ -98,7 +98,7 @@
<li><b>key</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KKey)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>keyCodeTQt</b> ()
<li><b>keyCodeQt</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>keyboardHasWinKey</b> ()

@ -119,7 +119,7 @@
<tr><td>i</td><td>uint</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>keyCodeTQt</b> ()
<li><b>keyCodeQt</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>null</b> ()

@ -60,7 +60,7 @@
<li><b>key</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KKey)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>keyCodeTQt</b> ()
<li><b>keyCodeQt</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>mod</b> ()

@ -538,7 +538,7 @@
<tr><td>n</td><td>ulong</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>translateTQt</b> (context, sourceText, message)
<li><b>translateQt</b> (context, sourceText, message)
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>context</td><td>char</td><td></td></tr>

@ -35,7 +35,7 @@
</tr>
</table>
<h3>enums</h3><ul>
<li><b>(anonymous)</b> = {MAX_SETQUENCES
<li><b>(anonymous)</b> = {MAX_SEQUENCES
}</ul>
<h3>methods</h3><ul>
<li><b>KShortcut</b> ()
@ -172,7 +172,7 @@
<li><b>isNull</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>keyCodeTQt</b> ()
<li><b>keyCodeQt</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>null</b> ()

@ -484,7 +484,7 @@
<li><b>toPage</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>translateTQtOptions</b> ()
<li><b>translateQtOptions</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
</ul>

@ -54,7 +54,7 @@ namespace KKeyServer
uint code() const { return m_code; }
uint mod() const { return m_mod; }
uint sym() const { return m_sym; }
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
void setKeycodeTQt( int keyTQt )
{ m_code = CODE_FOR_QT; m_sym = keyTQt; }

@ -54,7 +54,7 @@ namespace KKeyServer
uint code() const { return m_code; }
uint mod() const { return m_mod; }
uint sym() const { return m_sym; }
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
void setKeycodeTQt( int keyTQt )
{ m_code = CODE_FOR_QT; m_sym = keyTQt; }

@ -54,7 +54,7 @@ namespace KKeyServer
uint code() const { return m_code; }
uint mod() const { return m_mod; }
uint sym() const { return m_sym; }
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
void setKeycodeTQt( int keyTQt )
{ m_code = CODE_FOR_QT; m_sym = keyTQt; }

@ -169,7 +169,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -169,7 +169,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -169,7 +169,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -169,7 +169,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -169,7 +169,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -169,7 +169,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -167,7 +167,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -167,7 +167,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -167,7 +167,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -167,7 +167,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -167,7 +167,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -167,7 +167,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -167,7 +167,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -189,7 +189,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -189,7 +189,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -189,7 +189,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -189,7 +189,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -189,7 +189,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -189,7 +189,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -189,7 +189,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -189,7 +189,7 @@ namespace KKeyServer
* Returns the qt key code.
* @return the qt key code
*/
int keyCodeTQt() const { return (int) m_sym; }
int keyCodeQt() const { return (int) m_sym; }
/**
* Sets the qt key code.

@ -43,8 +43,8 @@ public:
static KIconLoader* iconLoader ();
static KLocale* locale ();
static KCharsets* charsets ();
static const TQString& staticTQString (const char*);
static const TQString& staticTQString (const TQString&);
static const TQString& staticQString (const char*);
static const TQString& staticQString (const TQString&);
static void registerStaticDeleter (KStaticDeleterBase*);
static void unregisterStaticDeleter (KStaticDeleterBase*);
static void deleteStaticDeleters ();

@ -41,7 +41,7 @@ public:
//ig bool init (const XEvent*);
bool init (const KKey&);
bool init (const KKeyNative&);
int keyCodeTQt () const;
int keyCodeQt () const;
KKey key () const;
%If ( KDE_3_1_4 - )

@ -90,7 +90,7 @@ public:
uint code () const;
uint mod () const;
uint sym () const;
int keyCodeTQt () const;
int keyCodeQt () const;
void setKeycodeTQt (int);
int compare (const KKeyServer::Key&) const;

@ -199,7 +199,7 @@ public:
void insertCatalogue (const TQString&);
void removeCatalogue (const TQString&);
void setActiveCatalogue (const TQString&);
TQString translateTQt (const char*, const char*, const char*) const;
TQString translateQt (const char*, const char*, const char*) const;
%If ( KDE_3_1_0 - )
TQStringList allLanguagesTwoAlpha () const;

@ -43,7 +43,7 @@ public:
enum
{
TQtWIN
QtWIN
};
%End
@ -82,7 +82,7 @@ public:
bool operator < (const KKey&) const;
%End
int keyCodeTQt () const;
int keyCodeQt () const;
TQString toString () const;
TQString toStringInternal () const;
void simplify ();
@ -103,7 +103,7 @@ public:
enum
{
TQtWIN
QtWIN
};
%End
@ -115,7 +115,7 @@ public:
enum
{
TQtWIN
QtWIN
};
%End
@ -165,7 +165,7 @@ public:
%End
TQKeySequence qt () const;
int keyCodeTQt () const;
int keyCodeQt () const;
TQString toString () const;
TQString toStringInternal () const;
static KKeySequence& null ();
@ -193,7 +193,7 @@ public:
enum
{
MAX_SETQUENCES
MAX_SEQUENCES
};
KShortcut ();
@ -213,7 +213,7 @@ public:
bool init (const TQString&);
uint count () const;
const KKeySequence& seq (uint) const;
int keyCodeTQt () const;
int keyCodeQt () const;
bool isNull () const;
int compare (const KShortcut&) const;

@ -230,7 +230,7 @@ public:
protected:
//ig virtual bool cmd (int, TQPainter*, TQPDevCmdParam*);
virtual int metric (int) const;
void translateTQtOptions ();
void translateQtOptions ();
void loadSettings ();
void saveSettings ();
void preparePrinting ();

@ -70,31 +70,31 @@ class MainWin (KMainWindow):
fileMenu = TQPopupMenu (self)
# "File" menu items
fileMenu.insertItem (i18n ("New"), self.slotNew, KStdAccel.openNew ().keyCodeTQt ())
fileMenu.insertItem (i18n ("Open"), self.slotOpen, KStdAccel.open ().keyCodeTQt ())
fileMenu.insertItem (i18n ("New"), self.slotNew, KStdAccel.openNew ().keyCodeQt ())
fileMenu.insertItem (i18n ("Open"), self.slotOpen, KStdAccel.open ().keyCodeQt ())
fileMenu.insertSeparator ();
fileMenu.insertItem (i18n ("Save"), self.slotSave, KStdAccel.save ().keyCodeTQt ())
fileMenu.insertItem (i18n ("Save"), self.slotSave, KStdAccel.save ().keyCodeQt ())
fileMenu.insertItem (i18n ("SaveAs"), self.slotSaveAs)
fileMenu.insertSeparator ();
fileMenu.insertItem (i18n ("Print"), self.slotPrint, KStdAccel.print_ ().keyCodeTQt ())
fileMenu.insertItem (i18n ("Print"), self.slotPrint, KStdAccel.print_ ().keyCodeQt ())
fileMenu.insertSeparator ();
fileMenu.insertItem (i18n ("&Quit"), self.slotQuit, KStdAccel.quit ().keyCodeTQt ());
fileMenu.insertItem (i18n ("&Quit"), self.slotQuit, KStdAccel.quit ().keyCodeQt ());
self.menuBar ().insertItem (i18n ("&File"), fileMenu)
editMenu = TQPopupMenu (self)
# "Edit" menu items
editMenu.insertItem (i18n ("Undo"), self.slotUndo, KStdAccel.undo ().keyCodeTQt ())
editMenu.insertItem (i18n ("Redo"), self.slotRedo, KStdAccel.redo ().keyCodeTQt ())
editMenu.insertItem (i18n ("Undo"), self.slotUndo, KStdAccel.undo ().keyCodeQt ())
editMenu.insertItem (i18n ("Redo"), self.slotRedo, KStdAccel.redo ().keyCodeQt ())
editMenu.insertSeparator ();
editMenu.insertItem (i18n ("Cut"), self.slotCut, KStdAccel.cut ().keyCodeTQt ())
editMenu.insertItem (i18n ("Copy"), self.slotCopy, KStdAccel.copy ().keyCodeTQt ())
editMenu.insertItem (i18n ("Paste"), self.slotPaste, KStdAccel.paste ().keyCodeTQt ())
editMenu.insertItem (i18n ("Cut"), self.slotCut, KStdAccel.cut ().keyCodeQt ())
editMenu.insertItem (i18n ("Copy"), self.slotCopy, KStdAccel.copy ().keyCodeQt ())
editMenu.insertItem (i18n ("Paste"), self.slotPaste, KStdAccel.paste ().keyCodeQt ())
editMenu.insertSeparator ();
editMenu.insertItem (i18n ("Find"), self.slotFind, KStdAccel.find ().keyCodeTQt ())
editMenu.insertItem (i18n ("Find Next"), self.slotFindNext, KStdAccel.findNext ().keyCodeTQt ())
editMenu.insertItem (i18n ("Replace"), self.slotReplace, KStdAccel.replace ().keyCodeTQt ())
editMenu.insertItem (i18n ("Find"), self.slotFind, KStdAccel.find ().keyCodeQt ())
editMenu.insertItem (i18n ("Find Next"), self.slotFindNext, KStdAccel.findNext ().keyCodeQt ())
editMenu.insertItem (i18n ("Replace"), self.slotReplace, KStdAccel.replace ().keyCodeQt ())
self.menuBar ().insertItem (i18n ("&Edit"), editMenu)

Loading…
Cancel
Save