diff options
88 files changed, 1081 insertions, 1081 deletions
@@ -314,7 +314,7 @@ fixed emums in templates/annotated ------------------------------------------------------------------------ r61 | (jim) | 2005-03-06 21:30:48 -0800 (Sun, 06 Mar 2005) | 2 lines -fixed enums in examples, templates; fixed KIconThemeDir ref +fixed enums in examples, templates; fixed TDEIconThemeDir ref ------------------------------------------------------------------------ r60 | (jim) | 2005-03-05 00:57:44 -0800 (Sat, 05 Mar 2005) | 2 lines diff --git a/ChangeLog.2001-4 b/ChangeLog.2001-4 index b411229..817d92e 100644 --- a/ChangeLog.2001-4 +++ b/ChangeLog.2001-4 @@ -112,7 +112,7 @@ in sip/kde30.tdecore.sip 2002/8/8 13:10:00 jim Cleaned up top-level sip files for all versions; -fixed bug with KIconThemeDir (never released); +fixed bug with TDEIconThemeDir (never released); cleaned up docs (released as 3.3.2) 2002/7/22 13:29:00 jim @@ -491,7 +491,7 @@ fixed emums in templates/annotated ------------------------------------------------------------------------ r61 | (no author) | 2005-03-06 21:30:48 -0800 (Sun, 06 Mar 2005) | 2 lines -fixed enums in examples, templates; fixed KIconThemeDir ref +fixed enums in examples, templates; fixed TDEIconThemeDir ref ------------------------------------------------------------------------ r60 | (no author) | 2005-03-05 00:57:44 -0800 (Sat, 05 Mar 2005) | 2 lines diff --git a/doc/classref/allclasses.html b/doc/classref/allclasses.html index 7c97797..78e6ac2 100644 --- a/doc/classref/allclasses.html +++ b/doc/classref/allclasses.html @@ -469,16 +469,16 @@ <tr ><td><a href="tdeio/KIO.UDSAtom.html">KIO.UDSAtom</A></td></tr> <tr ><td><a href="tdeio/KIO.html">KIO</A></td></tr> <tr ><td><a href="tdecore/KIPC.html">KIPC</A></td></tr> -<tr ><td><a href="tdecore/KIcon.html">KIcon</A></td></tr> -<tr ><td><a href="tdefile/KIconButton.html">KIconButton</A></td></tr> -<tr ><td><a href="tdefile/KIconCanvas.html">KIconCanvas</A></td></tr> -<tr ><td><a href="tdefile/KIconDialog.html">KIconDialog</A></td></tr> -<tr ><td><a href="tdecore/KIconEffect.html">KIconEffect</A></td></tr> -<tr ><td><a href="tdecore/KIconLoader.html">KIconLoader</A></td></tr> -<tr ><td><a href="tdecore/KIconTheme.html">KIconTheme</A></td></tr> -<tr ><td><a href="tdeui/KIconView.html">KIconView</A></td></tr> -<tr ><td><a href="tdeui/KIconViewItem.html">KIconViewItem</A></td></tr> -<tr ><td><a href="tdeui/KIconViewSearchLine.html">KIconViewSearchLine</A></td></tr> +<tr ><td><a href="tdecore/TDEIcon.html">TDEIcon</A></td></tr> +<tr ><td><a href="tdefile/TDEIconButton.html">TDEIconButton</A></td></tr> +<tr ><td><a href="tdefile/TDEIconCanvas.html">TDEIconCanvas</A></td></tr> +<tr ><td><a href="tdefile/TDEIconDialog.html">TDEIconDialog</A></td></tr> +<tr ><td><a href="tdecore/TDEIconEffect.html">TDEIconEffect</A></td></tr> +<tr ><td><a href="tdecore/TDEIconLoader.html">TDEIconLoader</A></td></tr> +<tr ><td><a href="tdecore/TDEIconTheme.html">TDEIconTheme</A></td></tr> +<tr ><td><a href="tdeui/TDEIconView.html">TDEIconView</A></td></tr> +<tr ><td><a href="tdeui/TDEIconViewItem.html">TDEIconViewItem</A></td></tr> +<tr ><td><a href="tdeui/TDEIconViewSearchLine.html">TDEIconViewSearchLine</A></td></tr> <tr ><td><a href="tdefx/KImageEffect.html">KImageEffect</A></td></tr> <tr ><td><a href="tdefile/KImageFilePreview.html">KImageFilePreview</A></td></tr> <tr ><td><a href="tdeio/KImageIO.html">KImageIO</A></td></tr> diff --git a/doc/classref/kio/KDEDesktopMimeType.html b/doc/classref/kio/KDEDesktopMimeType.html index e809fb5..6e49933 100644 --- a/doc/classref/kio/KDEDesktopMimeType.html +++ b/doc/classref/kio/KDEDesktopMimeType.html @@ -106,7 +106,7 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>_url</td><td>KURL</td><td></td></tr> -<tr><td>_group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>_group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>_force_size</td><td>int</td><td>0</td></tr> <tr><td>_state</td><td>int</td><td>0</td></tr> <tr><td>_path</td><td>TQString</td><td>0</td></tr> @@ -115,7 +115,7 @@ <li><b>pixmap</b> (group, force_size, state, path) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>force_size</td><td>int</td><td></td></tr> <tr><td>state</td><td>int</td><td></td></tr> <tr><td>path</td><td>TQString</td><td></td></tr> diff --git a/doc/classref/kio/KMimeType.html b/doc/classref/kio/KMimeType.html index daf8b85..5aa32e1 100644 --- a/doc/classref/kio/KMimeType.html +++ b/doc/classref/kio/KMimeType.html @@ -241,7 +241,7 @@ <li><b>pixmap</b> (group, force_size = 0, state = 0, path = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>force_size</td><td>int</td><td>0</td></tr> <tr><td>state</td><td>int</td><td>0</td></tr> <tr><td>path</td><td>TQString</td><td>0</td></tr> @@ -251,19 +251,19 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>_url</td><td>KURL</td><td></td></tr> -<tr><td>_group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>_group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>_force_size</td><td>int</td><td>0</td></tr> <tr><td>_state</td><td>int</td><td>0</td></tr> <tr><td>_path</td><td>TQString</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>pixmapForURL</b> (_url, _mode = 0, _group = KIcon .Desktop, _force_size = 0, _state = 0, _path = 0) +<li><b>pixmapForURL</b> (_url, _mode = 0, _group = TDEIcon .Desktop, _force_size = 0, _state = 0, _path = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</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>_url</td><td>KURL</td><td></td></tr> <tr><td>_mode</td><td>mode_t</td><td>0</td></tr> -<tr><td>_group</td><td>KIcon.Group</td><td>KIcon .Desktop</td></tr> +<tr><td>_group</td><td>TDEIcon.Group</td><td>TDEIcon .Desktop</td></tr> <tr><td>_force_size</td><td>int</td><td>0</td></tr> <tr><td>_state</td><td>int</td><td>0</td></tr> <tr><td>_path</td><td>TQString</td><td>0</td></tr> diff --git a/doc/classref/kio/KService.html b/doc/classref/kio/KService.html index 0dc6530..d51564a 100644 --- a/doc/classref/kio/KService.html +++ b/doc/classref/kio/KService.html @@ -191,7 +191,7 @@ <li><b>pixmap</b> (_group, _force_size = 0, _state = 0, _path = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>_group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>_group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>_force_size</td><td>int</td><td>0</td></tr> <tr><td>_state</td><td>int</td><td>0</td></tr> <tr><td>_path</td><td>TQString</td><td>0</td></tr> diff --git a/doc/classref/tdecore/KIcon.html b/doc/classref/tdecore/KIcon.html index 6438ad7..8e2f85b 100644 --- a/doc/classref/tdecore/KIcon.html +++ b/doc/classref/tdecore/KIcon.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIcon</title> + <title>class TDEIcon</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIcon</h1><hr> + <h1>class TDEIcon</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,7 +28,7 @@ <td width="30%" align=left>tdecore</td> </tr> <tr><td>Class</td> - <td>KIcon</td> + <td>TDEIcon</td> </tr> <tr><td>Inherits</td> <td> </td> @@ -49,8 +49,8 @@ }<li><b>Type</b> = {Fixed, Scalable, Threshold }</ul> <h3>methods</h3><ul> -<li><b>KIcon</b> () -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIcon instance</i></td></tr> +<li><b>TDEIcon</b> () +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIcon instance</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>isValid</b> () <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr> diff --git a/doc/classref/tdecore/KIconEffect.html b/doc/classref/tdecore/KIconEffect.html index 96f8827..a052e2e 100644 --- a/doc/classref/tdecore/KIconEffect.html +++ b/doc/classref/tdecore/KIconEffect.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconEffect</title> + <title>class TDEIconEffect</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconEffect</h1><hr> + <h1>class TDEIconEffect</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,7 +28,7 @@ <td width="30%" align=left>tdecore</td> </tr> <tr><td>Class</td> - <td>KIconEffect</td> + <td>TDEIconEffect</td> </tr> <tr><td>Inherits</td> <td> </td> @@ -39,8 +39,8 @@ }<li><b>Effects</b> = {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, LastEffect }</ul> <h3>methods</h3><ul> -<li><b>KIconEffect</b> () -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconEffect instance</i></td></tr> +<li><b>TDEIconEffect</b> () +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconEffect instance</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>apply</b> (src, group, state) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQImage)</i></td></tr> diff --git a/doc/classref/tdecore/KIconLoader.html b/doc/classref/tdecore/KIconLoader.html index 015cda4..7f6c43a 100644 --- a/doc/classref/tdecore/KIconLoader.html +++ b/doc/classref/tdecore/KIconLoader.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconLoader</title> + <title>class TDEIconLoader</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconLoader</h1><hr> + <h1>class TDEIconLoader</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,15 +28,15 @@ <td width="30%" align=left>tdecore</td> </tr> <tr><td>Class</td> - <td>KIconLoader</td> + <td>TDEIconLoader</td> </tr> <tr><td>Inherits</td> <td> </td> </tr> </table> <h3>methods</h3><ul> -<li><b>KIconLoader</b> (appname = TQString .null, dirs = 0) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconLoader instance</i></td></tr> +<li><b>TDEIconLoader</b> (appname = TQString .null, dirs = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconLoader instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>appname</td><td>TQString</td><td>TQString .null</td></tr> <tr><td>dirs</td><td>TDEStandardDirs</td><td>0</td></tr> @@ -55,13 +55,13 @@ <li><b>alphaBlending</b> (group) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>currentSize</b> (group) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>enableDelayedIconSetLoading</b> (enable) @@ -76,7 +76,7 @@ <tr><td>In versions KDE 3.1.0 and above only</td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>iconEffect</b> () -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KIconEffect)</i></td></tr> +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEIconEffect)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>iconPath</b> (name, group_or_size, canReturnNull = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr> @@ -94,17 +94,17 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>loadIcon</b> (name, group, size = 0, state = KIcon .DefaultState, path_store = 0, canReturnNull = 0) +<li><b>loadIcon</b> (name, group, size = 0, state = TDEIcon .DefaultState, path_store = 0, canReturnNull = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> -<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr> +<tr><td>state</td><td>int</td><td>TDEIcon .DefaultState</td></tr> <tr><td>path_store</td><td>TQString</td><td>0</td></tr> <tr><td>canReturnNull</td><td>bool</td><td>0</td></tr> </table> @@ -114,7 +114,7 @@ <tr><td>In versions KDE 3.5.0 and above only</td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td></td></tr> <tr><td>canReturnNull</td><td>bool</td><td></td></tr> <tr><td>immediateExistenceCheck</td><td>bool</td><td></td></tr> @@ -125,7 +125,7 @@ <tr><td>In versions KDE 3.1.0 and above only</td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td></td></tr> <tr><td>canReturnNull</td><td>bool</td><td></td></tr> </table> @@ -134,7 +134,7 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQIconSet)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> @@ -142,7 +142,7 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQMovie)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> @@ -150,22 +150,22 @@ <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>name</td><td>TQString</td><td></td></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>queryIcons</b> (group_or_size, context = KIcon .Any) +<li><b>queryIcons</b> (group_or_size, context = TDEIcon .Any) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>group_or_size</td><td>int</td><td></td></tr> -<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Any</td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td>TDEIcon .Any</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>queryIconsByContext</b> (group_or_size, context = KIcon .Any) +<li><b>queryIconsByContext</b> (group_or_size, context = TDEIcon .Any) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>group_or_size</td><td>int</td><td></td></tr> -<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Any</td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td>TDEIcon .Any</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>queryIconsByDir</b> (iconsDir) @@ -183,7 +183,7 @@ </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>theme</b> () -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KIconTheme)</i></td></tr> +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEIconTheme)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>unknown</b> () <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> diff --git a/doc/classref/tdecore/KIconTheme.html b/doc/classref/tdecore/KIconTheme.html index 68d5fae..f01a979 100644 --- a/doc/classref/tdecore/KIconTheme.html +++ b/doc/classref/tdecore/KIconTheme.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconTheme</title> + <title>class TDEIconTheme</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconTheme</h1><hr> + <h1>class TDEIconTheme</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,15 +28,15 @@ <td width="30%" align=left>tdecore</td> </tr> <tr><td>Class</td> - <td>KIconTheme</td> + <td>TDEIconTheme</td> </tr> <tr><td>Inherits</td> <td> </td> </tr> </table> <h3>methods</h3><ul> -<li><b>KIconTheme</b> (name, appName = TQString .null) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconTheme instance</i></td></tr> +<li><b>TDEIconTheme</b> (name, appName = TQString .null) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconTheme instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> <tr><td>appName</td><td>TQString</td><td>TQString .null</td></tr> @@ -49,7 +49,7 @@ <li><b>defaultSize</b> (group) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>defaultThemeName</b> () @@ -70,11 +70,11 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>iconPath</b> (name, size, match) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KIcon)</i></td></tr> +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEIcon)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> <tr><td>size</td><td>int</td><td></td></tr> -<tr><td>match</td><td>KIcon.MatchType</td><td></td></tr> +<tr><td>match</td><td>TDEIcon.MatchType</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>inherits</b> () @@ -100,24 +100,24 @@ <li><b>name</b> () <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>queryIcons</b> (size, context = KIcon .Any) +<li><b>queryIcons</b> (size, context = TDEIcon .Any) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>size</td><td>int</td><td></td></tr> -<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Any</td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td>TDEIcon .Any</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>queryIconsByContext</b> (size, context = KIcon .Any) +<li><b>queryIconsByContext</b> (size, context = TDEIcon .Any) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQStringList)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>size</td><td>int</td><td></td></tr> -<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Any</td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td>TDEIcon .Any</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>querySizes</b> (group) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQValueList<int>)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>reconfigure</b> () diff --git a/doc/classref/tdecore/KMimeSourceFactory.html b/doc/classref/tdecore/KMimeSourceFactory.html index 1630ecc..e4a403a 100644 --- a/doc/classref/tdecore/KMimeSourceFactory.html +++ b/doc/classref/tdecore/KMimeSourceFactory.html @@ -38,7 +38,7 @@ <li><b>KMimeSourceFactory</b> (loader = TDEGlobal .iconLoader ()) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KMimeSourceFactory instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>loader</td><td>KIconLoader</td><td>TDEGlobal .iconLoader ()</td></tr> +<tr><td>loader</td><td>TDEIconLoader</td><td>TDEGlobal .iconLoader ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>makeAbsolute</b> (abs_or_rel_name, context) diff --git a/doc/classref/tdecore/TDEGlobal.html b/doc/classref/tdecore/TDEGlobal.html index 261b047..fabf22f 100644 --- a/doc/classref/tdecore/TDEGlobal.html +++ b/doc/classref/tdecore/TDEGlobal.html @@ -56,7 +56,7 @@ <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>iconLoader</b> () -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KIconLoader)</i></td></tr> +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEIconLoader)</i></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>instance</b> () diff --git a/doc/classref/tdecore/TDEInstance.html b/doc/classref/tdecore/TDEInstance.html index 9d84f67..9a0cf8a 100644 --- a/doc/classref/tdecore/TDEInstance.html +++ b/doc/classref/tdecore/TDEInstance.html @@ -75,7 +75,7 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEStandardDirs)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>iconLoader</b> () -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KIconLoader)</i></td></tr> +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEIconLoader)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>instanceName</b> () <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQCString)</i></td></tr> diff --git a/doc/classref/tdecore/index.html b/doc/classref/tdecore/index.html index 04cc7b0..2154985 100644 --- a/doc/classref/tdecore/index.html +++ b/doc/classref/tdecore/index.html @@ -95,10 +95,10 @@ <tr ><td><a href="TDEGlobalSettings.KMouseSettings.html">TDEGlobalSettings.KMouseSettings</a></td></tr> <tr ><td><a href="KIDNA.html">KIDNA</a></td></tr> <tr ><td><a href="KIPC.html">KIPC</a></td></tr> -<tr ><td><a href="KIcon.html">KIcon</a></td></tr> -<tr ><td><a href="KIconEffect.html">KIconEffect</a></td></tr> -<tr ><td><a href="KIconLoader.html">KIconLoader</a></td></tr> -<tr ><td><a href="KIconTheme.html">KIconTheme</a></td></tr> +<tr ><td><a href="TDEIcon.html">TDEIcon</a></td></tr> +<tr ><td><a href="TDEIconEffect.html">TDEIconEffect</a></td></tr> +<tr ><td><a href="TDEIconLoader.html">TDEIconLoader</a></td></tr> +<tr ><td><a href="TDEIconTheme.html">TDEIconTheme</a></td></tr> <tr ><td><a href="TDEInstance.html">TDEInstance</a></td></tr> <tr ><td><a href="KKey.html">KKey</a></td></tr> <tr ><td><a href="KKeyNative.html">KKeyNative</a></td></tr> diff --git a/doc/classref/tdecore/tdecore-globals.html b/doc/classref/tdecore/tdecore-globals.html index 7e50d41..0fb5320 100644 --- a/doc/classref/tdecore/tdecore-globals.html +++ b/doc/classref/tdecore/tdecore-globals.html @@ -24,12 +24,12 @@ </td> </tr></table> <h3>global methods</h3><ul> -<li><b>BarIcon</b> (name, size = 0, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +<li><b>BarIcon</b> (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ()) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> -<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr> +<tr><td>state</td><td>int</td><td>TDEIcon .DefaultState</td></tr> <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> @@ -48,12 +48,12 @@ <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>DesktopIcon</b> (name, size = 0, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +<li><b>DesktopIcon</b> (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ()) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> -<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr> +<tr><td>state</td><td>int</td><td>TDEIcon .DefaultState</td></tr> <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> @@ -75,16 +75,16 @@ <li><b>IconSize</b> (group, instance = TDEGlobal .instance ()) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(int)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>MainBarIcon</b> (name, size = 0, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +<li><b>MainBarIcon</b> (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ()) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> -<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr> +<tr><td>state</td><td>int</td><td>TDEIcon .DefaultState</td></tr> <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> @@ -103,12 +103,12 @@ <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>SmallIcon</b> (name, size = 0, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +<li><b>SmallIcon</b> (name, size = 0, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ()) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> -<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr> +<tr><td>state</td><td>int</td><td>TDEIcon .DefaultState</td></tr> <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> @@ -127,11 +127,11 @@ <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>UserIcon</b> (name, state = KIcon .DefaultState, instance = TDEGlobal .instance ()) +<li><b>UserIcon</b> (name, state = TDEIcon .DefaultState, instance = TDEGlobal .instance ()) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQPixmap)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>name</td><td>TQString</td><td></td></tr> -<tr><td>state</td><td>int</td><td>KIcon .DefaultState</td></tr> +<tr><td>state</td><td>int</td><td>TDEIcon .DefaultState</td></tr> <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> diff --git a/doc/classref/tdefile/KFileIconView.html b/doc/classref/tdefile/KFileIconView.html index 4a9f10e..ad9e606 100644 --- a/doc/classref/tdefile/KFileIconView.html +++ b/doc/classref/tdefile/KFileIconView.html @@ -31,7 +31,7 @@ <td>KFileIconView</td> </tr> <tr><td>Inherits</td> - <td>KIconView, KFileView </td> + <td>TDEIconView, KFileView </td> </tr> </table> <h3>methods</h3><ul> diff --git a/doc/classref/tdefile/KFileIconViewItem.html b/doc/classref/tdefile/KFileIconViewItem.html index 428a28f..4f30e6b 100644 --- a/doc/classref/tdefile/KFileIconViewItem.html +++ b/doc/classref/tdefile/KFileIconViewItem.html @@ -31,7 +31,7 @@ <td>KFileIconViewItem</td> </tr> <tr><td>Inherits</td> - <td>KIconViewItem </td> + <td>TDEIconViewItem </td> </tr> </table> <h3>methods</h3><ul> diff --git a/doc/classref/tdefile/KIconButton.html b/doc/classref/tdefile/KIconButton.html index 920e558..744b34d 100644 --- a/doc/classref/tdefile/KIconButton.html +++ b/doc/classref/tdefile/KIconButton.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconButton</title> + <title>class TDEIconButton</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconButton</h1><hr> + <h1>class TDEIconButton</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,24 +28,24 @@ <td width="30%" align=left>tdefile</td> </tr> <tr><td>Class</td> - <td>KIconButton</td> + <td>TDEIconButton</td> </tr> <tr><td>Inherits</td> <td>TQPushButton </td> </tr> </table> <h3>methods</h3><ul> -<li><b>KIconButton</b> (parent = 0, name = 0) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconButton instance</i></td></tr> +<li><b>TDEIconButton</b> (parent = 0, name = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconButton instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQWidget</td><td>0</td></tr> <tr><td>name</td><td>char</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconButton</b> (loader, parent, name = 0) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconButton instance</i></td></tr> +<li><b>TDEIconButton</b> (loader, parent, name = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconButton instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>loader</td><td>KIconLoader</td><td></td></tr> +<tr><td>loader</td><td>TDEIconLoader</td><td></td></tr> <tr><td>parent</td><td>TQWidget</td><td></td></tr> <tr><td>name</td><td>char</td><td>0</td></tr> </table> @@ -77,8 +77,8 @@ <li><b>setIconType</b> (group, context, user = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> -<tr><td>context</td><td>KIcon.Context</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td></td></tr> <tr><td>user</td><td>bool</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> diff --git a/doc/classref/tdefile/KIconCanvas.html b/doc/classref/tdefile/KIconCanvas.html index a67ed4a..4f96265 100644 --- a/doc/classref/tdefile/KIconCanvas.html +++ b/doc/classref/tdefile/KIconCanvas.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconCanvas</title> + <title>class TDEIconCanvas</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconCanvas</h1><hr> + <h1>class TDEIconCanvas</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,15 +28,15 @@ <td width="30%" align=left>tdefile</td> </tr> <tr><td>Class</td> - <td>KIconCanvas</td> + <td>TDEIconCanvas</td> </tr> <tr><td>Inherits</td> - <td>KIconView </td> + <td>TDEIconView </td> </tr> </table> <h3>methods</h3><ul> -<li><b>KIconCanvas</b> (parent = 0, name = 0) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconCanvas instance</i></td></tr> +<li><b>TDEIconCanvas</b> (parent = 0, name = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconCanvas instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQWidget</td><td>0</td></tr> <tr><td>name</td><td>char</td><td>0</td></tr> diff --git a/doc/classref/tdefile/KIconDialog.html b/doc/classref/tdefile/KIconDialog.html index 4988574..8442681 100644 --- a/doc/classref/tdefile/KIconDialog.html +++ b/doc/classref/tdefile/KIconDialog.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconDialog</title> + <title>class TDEIconDialog</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconDialog</h1><hr> + <h1>class TDEIconDialog</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,34 +28,34 @@ <td width="30%" align=left>tdefile</td> </tr> <tr><td>Class</td> - <td>KIconDialog</td> + <td>TDEIconDialog</td> </tr> <tr><td>Inherits</td> <td>KDialogBase </td> </tr> </table> <h3>methods</h3><ul> -<li><b>KIconDialog</b> (parent = 0, name = 0) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconDialog instance</i></td></tr> +<li><b>TDEIconDialog</b> (parent = 0, name = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconDialog instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQWidget</td><td>0</td></tr> <tr><td>name</td><td>char</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconDialog</b> (loader, parent = 0, name = 0) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconDialog instance</i></td></tr> +<li><b>TDEIconDialog</b> (loader, parent = 0, name = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconDialog instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>loader</td><td>KIconLoader</td><td></td></tr> +<tr><td>loader</td><td>TDEIconLoader</td><td></td></tr> <tr><td>parent</td><td>TQWidget</td><td>0</td></tr> <tr><td>name</td><td>char</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>getIcon</b> (group = KIcon .Desktop, context = KIcon .Application, strictIconSize = 0, iconSize = 0, user = 0, parent = 0, caption = TQString .null) +<li><b>getIcon</b> (group = TDEIcon .Desktop, context = TDEIcon .Application, strictIconSize = 0, iconSize = 0, user = 0, parent = 0, caption = TQString .null) <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>group</td><td>KIcon.Group</td><td>KIcon .Desktop</td></tr> -<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Application</td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td>TDEIcon .Desktop</td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td>TDEIcon .Application</td></tr> <tr><td>strictIconSize</td><td>bool</td><td>0</td></tr> <tr><td>iconSize</td><td>int</td><td>0</td></tr> <tr><td>user</td><td>bool</td><td>0</td></tr> @@ -76,11 +76,11 @@ <li><b>openDialog</b> () <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>selectIcon</b> (group = KIcon .Desktop, context = KIcon .Application, user = 0) +<li><b>selectIcon</b> (group = TDEIcon .Desktop, context = TDEIcon .Application, user = 0) <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>group</td><td>KIcon.Group</td><td>KIcon .Desktop</td></tr> -<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Application</td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td>TDEIcon .Desktop</td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td>TDEIcon .Application</td></tr> <tr><td>user</td><td>bool</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> @@ -103,11 +103,11 @@ <tr><td>b</td><td>bool</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>setup</b> (group, context = KIcon .Application, strictIconSize = 0, iconSize = 0, user = 0) +<li><b>setup</b> (group, context = TDEIcon .Application, strictIconSize = 0, iconSize = 0, user = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> -<tr><td>context</td><td>KIcon.Context</td><td>KIcon .Application</td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td>TDEIcon .Application</td></tr> <tr><td>strictIconSize</td><td>bool</td><td>0</td></tr> <tr><td>iconSize</td><td>int</td><td>0</td></tr> <tr><td>user</td><td>bool</td><td>0</td></tr> @@ -117,8 +117,8 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> <tr><td>In versions KDE 3.3.0 and above only</td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> -<tr><td>context</td><td>KIcon.Context</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> +<tr><td>context</td><td>TDEIcon.Context</td><td></td></tr> <tr><td>strictIconSize</td><td>bool</td><td></td></tr> <tr><td>iconSize</td><td>int</td><td></td></tr> <tr><td>user</td><td>bool</td><td></td></tr> diff --git a/doc/classref/tdefile/KURLBar.html b/doc/classref/tdefile/KURLBar.html index 4ca5b97..414ffb4 100644 --- a/doc/classref/tdefile/KURLBar.html +++ b/doc/classref/tdefile/KURLBar.html @@ -71,24 +71,24 @@ <li><b>iconSize</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>insertDynamicItem</b> (url, description, icon = TQString .null, group = KIcon .Panel) +<li><b>insertDynamicItem</b> (url, description, icon = TQString .null, group = TDEIcon .Panel) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KURLBarItem)</i></td></tr> <tr><td>In versions KDE 3.2.0 and above only</td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>url</td><td>KURL</td><td></td></tr> <tr><td>description</td><td>TQString</td><td></td></tr> <tr><td>icon</td><td>TQString</td><td>TQString .null</td></tr> -<tr><td>group</td><td>KIcon.Group</td><td>KIcon .Panel</td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td>TDEIcon .Panel</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>insertItem</b> (url, description, applicationLocal = 1, icon = TQString .null, group = KIcon .Panel) +<li><b>insertItem</b> (url, description, applicationLocal = 1, icon = TQString .null, group = TDEIcon .Panel) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KURLBarItem)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>url</td><td>KURL</td><td></td></tr> <tr><td>description</td><td>TQString</td><td></td></tr> <tr><td>applicationLocal</td><td>bool</td><td>1</td></tr> <tr><td>icon</td><td>TQString</td><td>TQString .null</td></tr> -<tr><td>group</td><td>KIcon.Group</td><td>KIcon .Panel</td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td>TDEIcon .Panel</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>isImmutable</b> () diff --git a/doc/classref/tdefile/KURLBarItem.html b/doc/classref/tdefile/KURLBarItem.html index 5bcc92c..4f833ed 100644 --- a/doc/classref/tdefile/KURLBarItem.html +++ b/doc/classref/tdefile/KURLBarItem.html @@ -35,7 +35,7 @@ </tr> </table> <h3>methods</h3><ul> -<li><b>KURLBarItem</b> (parent, url, persistent, description = TQString .null, icon = TQString .null, group = KIcon .Panel) +<li><b>KURLBarItem</b> (parent, url, persistent, description = TQString .null, icon = TQString .null, group = TDEIcon .Panel) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KURLBarItem instance</i></td></tr> <tr><td>In versions KDE 3.2.0 and above only</td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> @@ -44,17 +44,17 @@ <tr><td>persistent</td><td>bool</td><td></td></tr> <tr><td>description</td><td>TQString</td><td>TQString .null</td></tr> <tr><td>icon</td><td>TQString</td><td>TQString .null</td></tr> -<tr><td>group</td><td>KIcon.Group</td><td>KIcon .Panel</td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td>TDEIcon .Panel</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KURLBarItem</b> (parent, url, description = TQString .null, icon = TQString .null, group = KIcon .Panel) +<li><b>KURLBarItem</b> (parent, url, description = TQString .null, icon = TQString .null, group = TDEIcon .Panel) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KURLBarItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>KURLBar</td><td></td></tr> <tr><td>url</td><td>KURL</td><td></td></tr> <tr><td>description</td><td>TQString</td><td>TQString .null</td></tr> <tr><td>icon</td><td>TQString</td><td>TQString .null</td></tr> -<tr><td>group</td><td>KIcon.Group</td><td>KIcon .Panel</td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td>TDEIcon .Panel</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>applicationLocal</b> () @@ -73,7 +73,7 @@ <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQString)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>iconGroup</b> () -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KIcon.Group)</i></td></tr> +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEIcon.Group)</i></td></tr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>isPersistent</b> () <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(bool)</i></td></tr> @@ -100,11 +100,11 @@ <tr><td>desc</td><td>TQString</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>setIcon</b> (icon, group = KIcon .Panel) +<li><b>setIcon</b> (icon, group = TDEIcon .Panel) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>icon</td><td>TQString</td><td></td></tr> -<tr><td>group</td><td>KIcon.Group</td><td>KIcon .Panel</td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td>TDEIcon .Panel</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>setToolTip</b> (tip) diff --git a/doc/classref/tdefile/KURLBarItemDialog.html b/doc/classref/tdefile/KURLBarItemDialog.html index 0317498..5a7e87f 100644 --- a/doc/classref/tdefile/KURLBarItemDialog.html +++ b/doc/classref/tdefile/KURLBarItemDialog.html @@ -35,7 +35,7 @@ </tr> </table> <h3>methods</h3><ul> -<li><b>KURLBarItemDialog</b> (allowGlobal, url, description, icon, appLocal = 1, iconSize = KIcon .SizeMedium, parent = 0, name = 0) +<li><b>KURLBarItemDialog</b> (allowGlobal, url, description, icon, appLocal = 1, iconSize = TDEIcon .SizeMedium, parent = 0, name = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KURLBarItemDialog instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>allowGlobal</td><td>bool</td><td></td></tr> @@ -43,7 +43,7 @@ <tr><td>description</td><td>TQString</td><td></td></tr> <tr><td>icon</td><td>TQString</td><td></td></tr> <tr><td>appLocal</td><td>bool</td><td>1</td></tr> -<tr><td>iconSize</td><td>int</td><td>KIcon .SizeMedium</td></tr> +<tr><td>iconSize</td><td>int</td><td>TDEIcon .SizeMedium</td></tr> <tr><td>parent</td><td>TQWidget</td><td>0</td></tr> <tr><td>name</td><td>char</td><td>0</td></tr> </table> diff --git a/doc/classref/tdefile/index.html b/doc/classref/tdefile/index.html index 78cb3c9..ef63b60 100644 --- a/doc/classref/tdefile/index.html +++ b/doc/classref/tdefile/index.html @@ -60,9 +60,9 @@ <tr ><td><a href="KFileTreeViewToolTip.html">KFileTreeViewToolTip</a></td></tr> <tr ><td><a href="KFileView.html"><i>KFileView</i></a></td></tr> <tr ><td><a href="KFileViewSignaler.html">KFileViewSignaler</a></td></tr> -<tr ><td><a href="KIconButton.html">KIconButton</a></td></tr> -<tr ><td><a href="KIconCanvas.html">KIconCanvas</a></td></tr> -<tr ><td><a href="KIconDialog.html">KIconDialog</a></td></tr> +<tr ><td><a href="TDEIconButton.html">TDEIconButton</a></td></tr> +<tr ><td><a href="TDEIconCanvas.html">TDEIconCanvas</a></td></tr> +<tr ><td><a href="TDEIconDialog.html">TDEIconDialog</a></td></tr> <tr ><td><a href="KImageFilePreview.html">KImageFilePreview</a></td></tr> <tr ><td><a href="KNotify.html">KNotify</a></td></tr> </table></td><td valign="top"><table border="0"> diff --git a/doc/classref/tdeui/KGuiItem.html b/doc/classref/tdeui/KGuiItem.html index 0684647..352555d 100644 --- a/doc/classref/tdeui/KGuiItem.html +++ b/doc/classref/tdeui/KGuiItem.html @@ -74,7 +74,7 @@ <li><b>iconSet</b> (a0, size = 0, instance = TDEGlobal .instance ()) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQIconSet)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>a0</td><td>KIcon.Group</td><td></td></tr> +<tr><td>a0</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> <tr><td>instance</td><td>TDEInstance</td><td>TDEGlobal .instance ()</td></tr> </table> diff --git a/doc/classref/tdeui/KIconView.html b/doc/classref/tdeui/KIconView.html index 782f61a..5511a33 100644 --- a/doc/classref/tdeui/KIconView.html +++ b/doc/classref/tdeui/KIconView.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconView</title> + <title>class TDEIconView</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconView</h1><hr> + <h1>class TDEIconView</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,7 +28,7 @@ <td width="30%" align=left>tdeui</td> </tr> <tr><td>Class</td> - <td>KIconView</td> + <td>TDEIconView</td> </tr> <tr><td>Inherits</td> <td>TQIconView </td> @@ -38,8 +38,8 @@ <li><b>Mode</b> = {Execute, Select }</ul> <h3>methods</h3><ul> -<li><b>KIconView</b> (parent = 0, name = 0, f = 0) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconView instance</i></td></tr> +<li><b>TDEIconView</b> (parent = 0, name = 0, f = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconView instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQWidget</td><td>0</td></tr> <tr><td>name</td><td>char</td><td>0</td></tr> @@ -165,7 +165,7 @@ <li><b>setMode</b> (m) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>m</td><td>KIconView.Mode</td><td></td></tr> +<tr><td>m</td><td>TDEIconView.Mode</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> <li><b>slotAutoSelect</b> () diff --git a/doc/classref/tdeui/KIconViewItem.html b/doc/classref/tdeui/KIconViewItem.html index 700f66a..d55f800 100644 --- a/doc/classref/tdeui/KIconViewItem.html +++ b/doc/classref/tdeui/KIconViewItem.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconViewItem</title> + <title>class TDEIconViewItem</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconViewItem</h1><hr> + <h1>class TDEIconViewItem</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,51 +28,51 @@ <td width="30%" align=left>tdeui</td> </tr> <tr><td>Class</td> - <td>KIconViewItem</td> + <td>TDEIconViewItem</td> </tr> <tr><td>Inherits</td> <td>TQIconViewItem </td> </tr> </table> <h3>methods</h3><ul> -<li><b>KIconViewItem</b> (parent) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewItem instance</i></td></tr> +<li><b>TDEIconViewItem</b> (parent) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQIconView</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconViewItem</b> (parent, after) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewItem instance</i></td></tr> +<li><b>TDEIconViewItem</b> (parent, after) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQIconView</td><td></td></tr> <tr><td>after</td><td>TQIconViewItem</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconViewItem</b> (parent, text) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewItem instance</i></td></tr> +<li><b>TDEIconViewItem</b> (parent, text) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQIconView</td><td></td></tr> <tr><td>text</td><td>TQString</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconViewItem</b> (parent, after, text) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewItem instance</i></td></tr> +<li><b>TDEIconViewItem</b> (parent, after, text) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQIconView</td><td></td></tr> <tr><td>after</td><td>TQIconViewItem</td><td></td></tr> <tr><td>text</td><td>TQString</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconViewItem</b> (parent, text, icon) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewItem instance</i></td></tr> +<li><b>TDEIconViewItem</b> (parent, text, icon) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQIconView</td><td></td></tr> <tr><td>text</td><td>TQString</td><td></td></tr> <tr><td>icon</td><td>TQPixmap</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconViewItem</b> (parent, after, text, icon) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewItem instance</i></td></tr> +<li><b>TDEIconViewItem</b> (parent, after, text, icon) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQIconView</td><td></td></tr> <tr><td>after</td><td>TQIconViewItem</td><td></td></tr> @@ -80,16 +80,16 @@ <tr><td>icon</td><td>TQPixmap</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconViewItem</b> (parent, text, picture) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewItem instance</i></td></tr> +<li><b>TDEIconViewItem</b> (parent, text, picture) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQIconView</td><td></td></tr> <tr><td>text</td><td>TQString</td><td></td></tr> <tr><td>picture</td><td>TQPicture</td><td></td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconViewItem</b> (parent, after, text, picture) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewItem instance</i></td></tr> +<li><b>TDEIconViewItem</b> (parent, after, text, picture) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewItem instance</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQIconView</td><td></td></tr> <tr><td>after</td><td>TQIconViewItem</td><td></td></tr> diff --git a/doc/classref/tdeui/KIconViewSearchLine.html b/doc/classref/tdeui/KIconViewSearchLine.html index 5858869..95f004f 100644 --- a/doc/classref/tdeui/KIconViewSearchLine.html +++ b/doc/classref/tdeui/KIconViewSearchLine.html @@ -3,7 +3,7 @@ "http://www.w3.org/TR/html4/loose.dtd""> <html> <head> - <title>class KIconViewSearchLine</title> + <title>class TDEIconViewSearchLine</title> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <meta name="GENERATOR" content="wabbit dumphtml"> </head> @@ -12,7 +12,7 @@ <hr> <table width="100%"><tr> <td width ="70%"> - <h1>class KIconViewSearchLine</h1><hr> + <h1>class TDEIconViewSearchLine</h1><hr> </td> <td width="30%" valign="top" align="right"> <table> @@ -28,15 +28,15 @@ <td width="30%" align=left>tdeui</td> </tr> <tr><td>Class</td> - <td>KIconViewSearchLine</td> + <td>TDEIconViewSearchLine</td> </tr> <tr><td>Inherits</td> <td>KLineEdit </td> </tr> </table> <h3>methods</h3><ul> -<li><b>KIconViewSearchLine</b> (parent = 0, iconView = 0, name = 0) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewSearchLine instance</i></td></tr> +<li><b>TDEIconViewSearchLine</b> (parent = 0, iconView = 0, name = 0) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewSearchLine instance</i></td></tr> <tr><td>In versions KDE 3.4.0 and above only</td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQWidget</td><td>0</td></tr> @@ -44,8 +44,8 @@ <tr><td>name</td><td>char</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> -<li><b>KIconViewSearchLine</b> (parent, name) -<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconViewSearchLine instance</i></td></tr> +<li><b>TDEIconViewSearchLine</b> (parent, name) +<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a TDEIconViewSearchLine instance</i></td></tr> <tr><td>In versions KDE 3.4.0 and above only</td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> <tr><td>parent</td><td>TQWidget</td><td></td></tr> diff --git a/doc/classref/tdeui/TDEAction.html b/doc/classref/tdeui/TDEAction.html index ac3f430..b6d9581 100644 --- a/doc/classref/tdeui/TDEAction.html +++ b/doc/classref/tdeui/TDEAction.html @@ -230,7 +230,7 @@ <li><b>iconSet</b> (group, size = 0) <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TQIconSet)</i></td></tr> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr> -<tr><td>group</td><td>KIcon.Group</td><td></td></tr> +<tr><td>group</td><td>TDEIcon.Group</td><td></td></tr> <tr><td>size</td><td>int</td><td>0</td></tr> </table> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> diff --git a/doc/classref/tdeui/index.html b/doc/classref/tdeui/index.html index c3ed446..37dcbc1 100644 --- a/doc/classref/tdeui/index.html +++ b/doc/classref/tdeui/index.html @@ -108,9 +108,9 @@ <tr ><td><a href="KHSSelector.html">KHSSelector</a></td></tr> <tr ><td><a href="KHelpMenu.html">KHelpMenu</a></td></tr> <tr ><td><a href="KHistoryCombo.html">KHistoryCombo</a></td></tr> -<tr ><td><a href="KIconView.html">KIconView</a></td></tr> -<tr ><td><a href="KIconViewItem.html">KIconViewItem</a></td></tr> -<tr ><td><a href="KIconViewSearchLine.html">KIconViewSearchLine</a></td></tr> +<tr ><td><a href="TDEIconView.html">TDEIconView</a></td></tr> +<tr ><td><a href="TDEIconViewItem.html">TDEIconViewItem</a></td></tr> +<tr ><td><a href="TDEIconViewSearchLine.html">TDEIconViewSearchLine</a></td></tr> <tr ><td><a href="KInputDialog.html">KInputDialog</a></td></tr> <tr ><td><a href="KIntNumInput.html">KIntNumInput</a></td></tr> <tr ><td><a href="KIntSpinBox.html">KIntSpinBox</a></td></tr> diff --git a/examples/menudemo.py b/examples/menudemo.py index c0eb60d..c99e613 100644 --- a/examples/menudemo.py +++ b/examples/menudemo.py @@ -43,7 +43,7 @@ import sys from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet -from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KIcon, KIconLoader, TDEShortcut +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\ TDEActionSeparator, TDEActionMenu, KWindowListMenu @@ -97,8 +97,8 @@ class MainWin (TDEMainWindow): self.fontSizeAction = TDEFontSizeAction ("Font Size") # Need to assign an icon to actionMenu below - icons = KIconLoader () - iconSet = TQIconSet (icons.loadIcon ("viewmag", KIcon.Toolbar)) + icons = TDEIconLoader () + iconSet = TQIconSet (icons.loadIcon ("viewmag", TDEIcon.Toolbar)) # Nested menus using TDEActions (also nested on toolbar) self.actionMenu = TDEActionMenu ("Action Menu") diff --git a/examples/pytde-sampler/misc/passivepop.py b/examples/pytde-sampler/misc/passivepop.py index fc37573..3619fc4 100644 --- a/examples/pytde-sampler/misc/passivepop.py +++ b/examples/pytde-sampler/misc/passivepop.py @@ -1,6 +1,6 @@ from qt import TQt, TQFrame, TQHBoxLayout, TQVBoxLayout, TQLabel, SIGNAL from tdeui import KPassivePopup, KTextEdit, KPushButton -from tdecore import TDEGlobal, KIcon +from tdecore import TDEGlobal, TDEIcon iconName = 'popup' labelText = 'KPassivePopup' @@ -35,8 +35,8 @@ class MainFrame(TQFrame): pos = pop.pos() pos.setY(pos.y() + pop.height() + 10) - ico = TDEGlobal.instance().iconLoader().loadIcon('help', KIcon.NoGroup, - KIcon.SizeSmall) + ico = TDEGlobal.instance().iconLoader().loadIcon('help', TDEIcon.NoGroup, + TDEIcon.SizeSmall) pop = KPassivePopup.message('<b>Hello</b>', 'With Icons', ico, self) pop.setTimeout(3000) pop.show() diff --git a/examples/pytde-sampler/qt_widgets/CONTRIB b/examples/pytde-sampler/qt_widgets/CONTRIB index 59209d8..6603cb5 100644 --- a/examples/pytde-sampler/qt_widgets/CONTRIB +++ b/examples/pytde-sampler/qt_widgets/CONTRIB @@ -53,10 +53,10 @@ tdecore,TDEGlobalAccel,,, tdecore,TDEGlobalSettings,,, tdecore,KIDNA,,, tdecore,KIPC,,, -tdecore,KIcon,,, -tdecore,KIconEffect,,, -tdecore,KIconLoader,,, -tdecore,KIconTheme,,, +tdecore,TDEIcon,,, +tdecore,TDEIconEffect,,, +tdecore,TDEIconLoader,,, +tdecore,TDEIconTheme,,, tdecore,TDEInstance,,, tdecore,KKey,,, tdecore,KKeyNative,,, @@ -254,8 +254,8 @@ tdeui,KGuiItem,,, tdeui,KHSSelector,,, tdeui,KHelpMenu,,, tdeui,KHistoryCombo,,, -tdeui,KIconView,,, -tdeui,KIconViewItem,,, +tdeui,TDEIconView,,, +tdeui,TDEIconViewItem,,, tdeui,KInputDialog,,, tdeui,KIntNumInput,,, tdeui,KIntSpinBox,,, @@ -372,9 +372,9 @@ tdefile,KFileTreeViewItem,,, tdefile,KFileTreeViewToolTip,,, tdefile,KFileView,,, tdefile,KFileViewSignaler,,, -tdefile,KIconButton,,, -tdefile,KIconCanvas,,, -tdefile,KIconDialog,,, +tdefile,TDEIconButton,,, +tdefile,TDEIconCanvas,,, +tdefile,TDEIconDialog,,, tdefile,KImageFilePreview,,, tdefile,KNotify,,, tdefile,KNotifyDialog,,, diff --git a/examples/pytde-sampler/sampler.py b/examples/pytde-sampler/sampler.py index 30e1828..eb485ac 100755 --- a/examples/pytde-sampler/sampler.py +++ b/examples/pytde-sampler/sampler.py @@ -15,7 +15,7 @@ from qt import TQVBoxLayout, TQLabel, TQPixmap, TQSplitter, TQFrame, TQDialog from qt import TQSizePolicy, TQHBoxLayout, TQSpacerItem, TQPushButton from tdecore import i18n, TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal -from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, KIcon +from tdecore import TDEGlobalSettings, KWin, KWinModule, KURL, TDEIcon from tdeui import KComboBox, TDEListView, TDEListViewItem, KTabWidget, KTextEdit from tdeui import TDEMainWindow, KPushButton, KSplashScreen, KStdAction @@ -52,14 +52,14 @@ def appConfig(group=None): return config -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIcon(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon by name """ return TDEGlobal.instance().iconLoader().loadIcon(name, group, size) -def getIconSet(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIconSet(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon set by name """ diff --git a/examples/systray.py b/examples/systray.py index cc7a40a..0eeb6b7 100644 --- a/examples/systray.py +++ b/examples/systray.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import TQLabel -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray class MainWin (TDEMainWindow): @@ -42,10 +42,10 @@ class MainWin (TDEMainWindow): appName = "template" app = TDEApplication (sys.argv, appName) mainWindow = MainWin (None, "main window") -icons = KIconLoader () +icons = TDEIconLoader () systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) +systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) systray.show () #mainWindow.show() diff --git a/examples/uimodules/uiwidgets.py b/examples/uimodules/uiwidgets.py index c6f4df4..a56fc92 100644 --- a/examples/uimodules/uiwidgets.py +++ b/examples/uimodules/uiwidgets.py @@ -678,7 +678,7 @@ def widTDEFontChooser (parent): def widKHSSelector (parent): parent.currentPageObj = Page4 (parent) -def widKIconView (parent): +def widTDEIconView (parent): parent.currentPageObj = PageNotImpl (parent) def widKJanusWidget (parent): diff --git a/examples/uiqxembed.py b/examples/uiqxembed.py index 487016b..981ceb4 100644 --- a/examples/uiqxembed.py +++ b/examples/uiqxembed.py @@ -6,7 +6,7 @@ import sys from qt import TQIconSet, TQProcess, TQTimer, SIGNAL, SLOT -from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, KIcon +from tdecore import TDEAboutData, TDEApplication, TDECmdLineArgs, TDEGlobal, TDEIcon from tdecore import KWin, KWinModule from tdeui import KComboBox, TDEMainWindow, KPushButton, QXEmbed @@ -19,13 +19,13 @@ qxembedexample.KPushButton = KPushButton from qxembedexample import QXEmbedExample -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIcon(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon by name """ return TDEGlobal.instance().iconLoader().loadIcon(name, group, size) -def getIconSet(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIconSet(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon set by name """ diff --git a/examples/uisampler.py b/examples/uisampler.py index a166116..98437ee 100644 --- a/examples/uisampler.py +++ b/examples/uisampler.py @@ -49,7 +49,7 @@ listItems = {"Dialogs": "KEditListBox": [],\ "TDEFontChooser": [],\ "KHSSelector": [],\ - "KIconView": [],\ + "TDEIconView": [],\ "KJanusWidget": ["KJanusWidget::IconListBox"],\ "KKeyChooser": [],\ "KLed": [],\ diff --git a/examples/uitdemdi.py b/examples/uitdemdi.py index 7177a16..dfcaa74 100644 --- a/examples/uitdemdi.py +++ b/examples/uitdemdi.py @@ -29,7 +29,7 @@ import os import sys from qt import SIGNAL, TQVBoxLayout, TQLabel -from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, KIcon, TDECmdLineArgs +from tdecore import i18n, TDEAboutData, TDEApplication, TDEGlobal, TDEIcon, TDECmdLineArgs from tdeui import KDockWidget, TDEListBox, KStdAction try: @@ -44,7 +44,7 @@ sigChildViewActivated = SIGNAL('viewActivated(KMdiChildView *)') sigBoxSelectionChanged = SIGNAL('selectionChanged(TQListBoxItem *)') -def getIcon(name, group=KIcon.NoGroup, size=KIcon.SizeSmall): +def getIcon(name, group=TDEIcon.NoGroup, size=TDEIcon.SizeSmall): """ returns a kde icon by name """ @@ -132,7 +132,7 @@ class KmdiExample(KMdiMainFrm): lbl = i18n('Label for a view with an icon named %s' % text) lbl = TQLabel(lbl, view) pxm = TQLabel('', view) - pxm.setPixmap(getIcon(icon, size=KIcon.SizeLarge)) + pxm.setPixmap(getIcon(icon, size=TDEIcon.SizeLarge)) self.addWindow(view) self.mainToolWidget.insertItem(label) diff --git a/examples/xmlmenudemo.py b/examples/xmlmenudemo.py index e50f934..f4cfdb1 100644 --- a/examples/xmlmenudemo.py +++ b/examples/xmlmenudemo.py @@ -43,7 +43,7 @@ import sys, os from qt import TQPopupMenu, SIGNAL, TQLabel, TQIconSet -from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, KIcon, KIconLoader, TDEShortcut, TDEGlobal +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEIcon, TDEIconLoader, TDEShortcut, TDEGlobal from tdeui import TDEMainWindow, KMessageBox, KStdAction, TDEAction, TDEToggleAction, TDEFontSizeAction, TDEFontAction, TDERadioAction,\ TDEActionSeparator, TDEActionMenu, KWindowListMenu, KXMLGUIClient, TDEActionCollection @@ -133,8 +133,8 @@ class MainWin (TDEMainWindow): self.fontSizeAction.setComboWidth (75) # Need to assign an icon to actionMenu below - icons = KIconLoader () - iconSet = TQIconSet (icons.loadIcon ("viewmag", KIcon.Toolbar)) + icons = TDEIconLoader () + iconSet = TQIconSet (icons.loadIcon ("viewmag", TDEIcon.Toolbar)) # Nested menus using TDEActions (also nested on toolbar) self.actionMenu = TDEActionMenu ("Action Menu", acts, "actionMenu") diff --git a/extra/kde300/kicontheme.h b/extra/kde300/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde300/kicontheme.h +++ b/extra/kde300/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde301/kicontheme.h b/extra/kde301/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde301/kicontheme.h +++ b/extra/kde301/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde303/kicontheme.h b/extra/kde303/kicontheme.h index bf813b0..cf0dea5 100644 --- a/extra/kde303/kicontheme.h +++ b/extra/kde303/kicontheme.h @@ -12,28 +12,28 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -44,7 +44,7 @@ public: enum Type { Fixed, Scalable, Threshold }; enum MatchType { MatchExact, MatchBest }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too enum Group { NoGroup=-1, Desktop=0, FirstGroup=Desktop, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; @@ -78,24 +78,24 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. */ -class KIconTheme +class TDEIconTheme { public: /** * Load an icon theme by name. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -155,38 +155,38 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @ref #KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @ref #TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -207,8 +207,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde310/kicontheme.h b/extra/kde310/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde310/kicontheme.h +++ b/extra/kde310/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde311/kicontheme.h b/extra/kde311/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde311/kicontheme.h +++ b/extra/kde311/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde312/kicontheme.h b/extra/kde312/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde312/kicontheme.h +++ b/extra/kde312/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde313/kicontheme.h b/extra/kde313/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde313/kicontheme.h +++ b/extra/kde313/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde314/kicontheme.h b/extra/kde314/kicontheme.h index eb358e7..8bbe834 100644 --- a/extra/kde314/kicontheme.h +++ b/extra/kde314/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde315/kicontheme.h b/extra/kde315/kicontheme.h index cfd6eed..36b21db 100644 --- a/extra/kde315/kicontheme.h +++ b/extra/kde315/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -141,18 +141,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -161,8 +161,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -249,17 +249,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See @ref #KIcon::Group. + * @param group The icon group. See @ref #TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -267,7 +267,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -275,20 +275,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -321,8 +321,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde320/kicontheme.h b/extra/kde320/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde320/kicontheme.h +++ b/extra/kde320/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde321/kicontheme.h b/extra/kde321/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde321/kicontheme.h +++ b/extra/kde321/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde322/kicontheme.h b/extra/kde322/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde322/kicontheme.h +++ b/extra/kde322/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde323/kicontheme.h b/extra/kde323/kicontheme.h index 880375a..88e26b1 100644 --- a/extra/kde323/kicontheme.h +++ b/extra/kde323/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -144,18 +144,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -164,8 +164,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -252,17 +252,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -270,7 +270,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -278,20 +278,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -324,8 +324,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde330/kicontheme.h b/extra/kde330/kicontheme.h index d1ac559..1bd639a 100644 --- a/extra/kde330/kicontheme.h +++ b/extra/kde330/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -146,18 +146,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -166,8 +166,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -254,17 +254,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -272,7 +272,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -280,20 +280,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -326,8 +326,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde331/kicontheme.h b/extra/kde331/kicontheme.h index 913bea4..8fb5cf8 100644 --- a/extra/kde331/kicontheme.h +++ b/extra/kde331/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -148,18 +148,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -168,8 +168,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -256,17 +256,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -274,7 +274,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -282,20 +282,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -328,8 +328,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde332/kicontheme.h b/extra/kde332/kicontheme.h index 8031d39..11b9c9d 100644 --- a/extra/kde332/kicontheme.h +++ b/extra/kde332/kicontheme.h @@ -12,31 +12,31 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> #include <tqptrlist.h> class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class KIcon +class TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -74,7 +74,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group an an icon. */ @@ -148,18 +148,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class KIconTheme +class TDEIconTheme { public: /** @@ -168,8 +168,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -256,17 +256,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -274,7 +274,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -282,20 +282,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -328,8 +328,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde340/kicontheme.h b/extra/kde340/kicontheme.h index fac3fdb..1345d00 100644 --- a/extra/kde340/kicontheme.h +++ b/extra/kde340/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde341/kicontheme.h b/extra/kde341/kicontheme.h index fac3fdb..1345d00 100644 --- a/extra/kde341/kicontheme.h +++ b/extra/kde341/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde342/kicontheme.h b/extra/kde342/kicontheme.h index 9c94b4c..43a53d9 100644 --- a/extra/kde342/kicontheme.h +++ b/extra/kde342/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde343/kicontheme.h b/extra/kde343/kicontheme.h index 9c94b4c..43a53d9 100644 --- a/extra/kde343/kicontheme.h +++ b/extra/kde343/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; -// KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; +// TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde350/kicontheme.h b/extra/kde350/kicontheme.h index 793f4a6..6c5bd06 100644 --- a/extra/kde350/kicontheme.h +++ b/extra/kde350/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde351/kicontheme.h b/extra/kde351/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde351/kicontheme.h +++ b/extra/kde351/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde352/kicontheme.h b/extra/kde352/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde352/kicontheme.h +++ b/extra/kde352/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/extra/kde353/kicontheme.h b/extra/kde353/kicontheme.h index 0bd7e96..2146a08 100644 --- a/extra/kde353/kicontheme.h +++ b/extra/kde353/kicontheme.h @@ -10,8 +10,8 @@ * */ -#ifndef __KIconTheme_h_Included__ -#define __KIconTheme_h_Included__ +#ifndef __TDEIconTheme_h_Included__ +#define __TDEIconTheme_h_Included__ #include <tqstring.h> #include <tqstringlist.h> @@ -19,23 +19,23 @@ #include "tdelibs_export.h" class TDEConfig; -//class KIconThemeDir; +//class TDEIconThemeDir; -class KIconThemePrivate; +class TDEIconThemePrivate; -class KIconPrivate; +class TDEIconPrivate; /** - * One icon as found by KIconTheme. Also serves as a namespace containing + * One icon as found by TDEIconTheme. Also serves as a namespace containing * icon related constants. - * @see KIconEffect - * @see KIconTheme - * @see KIconLoader + * @see TDEIconEffect + * @see TDEIconTheme + * @see TDEIconLoader */ -class TDECORE_EXPORT KIcon +class TDECORE_EXPORT TDEIcon { public: - KIcon() { size = 0; } + TDEIcon() { size = 0; } /** * Return true if this icon is valid, false otherwise. @@ -73,7 +73,7 @@ public: }; // if you add a group here, make sure to change the config reading in - // KIconLoader too + // TDEIconLoader too /** * The group of the icon. */ @@ -165,18 +165,18 @@ public: TQString path; private: - KIconPrivate *d; + TDEIconPrivate *d; }; -inline KIcon::Group& operator++(KIcon::Group& group) { group = static_cast<KIcon::Group>(group+1); return group; } -inline KIcon::Group operator++(KIcon::Group& group,int) { KIcon::Group ret = group; ++group; return ret; } +inline TDEIcon::Group& operator++(TDEIcon::Group& group) { group = static_cast<TDEIcon::Group>(group+1); return group; } +inline TDEIcon::Group operator++(TDEIcon::Group& group,int) { TDEIcon::Group ret = group; ++group; return ret; } /** * Class to use/access icon themes in KDE. This class is used by the * iconloader but can be used by others too. - * @see KIconLoader + * @see TDEIconLoader */ -class TDECORE_EXPORT KIconTheme +class TDECORE_EXPORT TDEIconTheme { public: /** @@ -185,8 +185,8 @@ public: * @param appName the name of the application. Can be null. This argument * allows applications to have themed application icons. */ - KIconTheme(const TQString& name, const TQString& appName=TQString::null); - ~KIconTheme(); + TDEIconTheme(const TQString& name, const TQString& appName=TQString::null); + ~TDEIconTheme(); /** * The stylized name of the icon theme. @@ -273,17 +273,17 @@ public: /** * The default size of this theme for a certain icon group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return The default size in pixels for the given icon group. */ - int defaultSize(KIcon::Group group) const; + int defaultSize(TDEIcon::Group group) const; /** * Query available sizes for a group. - * @param group The icon group. See KIcon::Group. + * @param group The icon group. See TDEIcon::Group. * @return a list of available sized for the given group */ - TQValueList<int> querySizes(KIcon::Group group) const; + TQValueList<int> querySizes(TDEIcon::Group group) const; /** * Query available icons for a size and context. @@ -291,7 +291,7 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIcons(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIcons(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Query available icons for a context and preferred size. @@ -299,20 +299,20 @@ public: * @param context the context of the icons * @return the list of icon names */ - TQStringList queryIconsByContext(int size, KIcon::Context context = KIcon::Any) const; + TQStringList queryIconsByContext(int size, TDEIcon::Context context = TDEIcon::Any) const; /** * Lookup an icon in the theme. * @param name The name of the icon, without extension. * @param size The desired size of the icon. - * @param match The matching mode. KIcon::MatchExact returns an icon - * only if matches exactly. KIcon::MatchBest returns the best matching + * @param match The matching mode. TDEIcon::MatchExact returns an icon + * only if matches exactly. TDEIcon::MatchBest returns the best matching * icon. - * @return A KIcon class that describes the icon. If an icon is found, - * @see KIcon::isValid will return true, and false otherwise. + * @return A TDEIcon class that describes the icon. If an icon is found, + * @see TDEIcon::isValid will return true, and false otherwise. */ - KIcon iconPath(const TQString& name, int size, KIcon::MatchType match) const; + TDEIcon iconPath(const TQString& name, int size, TDEIcon::MatchType match) const; /** * List all icon themes installed on the system, global and local. @@ -345,8 +345,8 @@ private: int mDepth; TQString mDir, mName, mDesc; TQStringList mInherits; -// TQPtrList<KIconThemeDir> mDirs; - KIconThemePrivate *d; +// TQPtrList<TDEIconThemeDir> mDirs; + TDEIconThemePrivate *d; static TQString *_theme; static TQStringList *_theme_list; diff --git a/sip/kio/kmimetype.sip b/sip/kio/kmimetype.sip index 803c70c..279933b 100644 --- a/sip/kio/kmimetype.sip +++ b/sip/kio/kmimetype.sip @@ -43,9 +43,9 @@ public: KMimeType (TQDataStream&, int); virtual TQString icon (const TQString&, bool) const; virtual TQString icon (const KURL&, bool) const; - virtual TQPixmap pixmap (KIcon::Group, int = 0, int = 0, TQString* = 0) const; - virtual TQPixmap pixmap (const KURL&, KIcon::Group, int = 0, int = 0, TQString* = 0) const; - static TQPixmap pixmapForURL (const KURL&, mode_t = 0, KIcon::Group = KIcon ::Desktop , int = 0, int = 0, TQString* = 0); + virtual TQPixmap pixmap (TDEIcon::Group, int = 0, int = 0, TQString* = 0) const; + virtual TQPixmap pixmap (const KURL&, TDEIcon::Group, int = 0, int = 0, TQString* = 0) const; + static TQPixmap pixmapForURL (const KURL&, mode_t = 0, TDEIcon::Group = TDEIcon ::Desktop , int = 0, int = 0, TQString* = 0); static TQString iconForURL (const KURL&, mode_t = 0); static TQString favIconForURL (const KURL&); TQString comment () const; @@ -188,7 +188,7 @@ public: KDEDesktopMimeType (TQDataStream&, int); virtual TQString icon (const TQString&, bool) const; virtual TQString icon (const KURL&, bool) const; - virtual TQPixmap pixmap (const KURL&, KIcon::Group, int = 0, int = 0, TQString* = 0) const; + virtual TQPixmap pixmap (const KURL&, TDEIcon::Group, int = 0, int = 0, TQString* = 0) const; virtual TQString comment (const TQString&, bool) const; virtual TQString comment (const KURL&, bool) const; static TQValueList<KDEDesktopMimeType::Service> builtinServices (const KURL&); @@ -208,7 +208,7 @@ public: static pid_t run (const KURL&, bool); protected: - virtual TQPixmap pixmap (KIcon::Group, int, int, TQString*) const; + virtual TQPixmap pixmap (TDEIcon::Group, int, int, TQString*) const; static pid_t runFSDevice (const KURL&, const KSimpleConfig&); static pid_t runApplication (const KURL&, const TQString&); static pid_t runLink (const KURL&, const KSimpleConfig&); diff --git a/sip/kio/kservice.sip b/sip/kio/kservice.sip index 07799a6..c26cbaa 100644 --- a/sip/kio/kservice.sip +++ b/sip/kio/kservice.sip @@ -46,7 +46,7 @@ public: TQString library () const; TQString init () const; TQString icon () const; - TQPixmap pixmap (KIcon::Group, int = 0, int = 0, TQString* = 0) const; + TQPixmap pixmap (TDEIcon::Group, int = 0, int = 0, TQString* = 0) const; bool terminal () const; TQString terminalOptions () const; bool substituteUid () const; diff --git a/sip/tdecore/kglobal.sip b/sip/tdecore/kglobal.sip index e05454b..645ca68 100644 --- a/sip/tdecore/kglobal.sip +++ b/sip/tdecore/kglobal.sip @@ -40,7 +40,7 @@ public: static TDESharedConfig* sharedConfig (); %End - static KIconLoader* iconLoader (); + static TDEIconLoader* iconLoader (); static TDELocale* locale (); static KCharsets* charsets (); static const TQString& staticQString (const char*); diff --git a/sip/tdecore/kiconeffect.sip b/sip/tdecore/kiconeffect.sip index b6982f5..90e75a6 100644 --- a/sip/tdecore/kiconeffect.sip +++ b/sip/tdecore/kiconeffect.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconEffect +class TDEIconEffect { %TypeHeaderCode #include <kiconeffect.h> @@ -32,7 +32,7 @@ class KIconEffect public: - KIconEffect (); + TDEIconEffect (); %If ( KDE_3_4_0 - ) @@ -98,5 +98,5 @@ public: %End -}; // class KIconEffect +}; // class TDEIconEffect diff --git a/sip/tdecore/kiconloader.sip b/sip/tdecore/kiconloader.sip index 990725d..d805133 100644 --- a/sip/tdecore/kiconloader.sip +++ b/sip/tdecore/kiconloader.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconLoader +class TDEIconLoader { %TypeHeaderCode #include <kiconloader.h> @@ -32,37 +32,37 @@ class KIconLoader public: - KIconLoader (const TQString& = TQString ::null , TDEStandardDirs* = 0); + TDEIconLoader (const TQString& = TQString ::null , TDEStandardDirs* = 0); void addAppDir (const TQString&); - TQPixmap loadIcon (const TQString&, KIcon::Group, int = 0, int = KIcon ::DefaultState , TQString* = 0, bool = 0) const; + TQPixmap loadIcon (const TQString&, TDEIcon::Group, int = 0, int = TDEIcon ::DefaultState , TQString* = 0, bool = 0) const; %If ( KDE_3_5_0 - ) - TQIconSet loadIconSet (const TQString&, KIcon::Group, int, bool, bool); + TQIconSet loadIconSet (const TQString&, TDEIcon::Group, int, bool, bool); %End %If ( KDE_3_1_0 - ) - TQIconSet loadIconSet (const TQString&, KIcon::Group, int, bool); + TQIconSet loadIconSet (const TQString&, TDEIcon::Group, int, bool); %End - TQIconSet loadIconSet (const TQString&, KIcon::Group, int = 0); + TQIconSet loadIconSet (const TQString&, TDEIcon::Group, int = 0); TQString iconPath (const TQString&, int, bool = 0) const; - TQMovie loadMovie (const TQString&, KIcon::Group, int = 0) const; - TQString moviePath (const TQString&, KIcon::Group, int = 0) const; - TQStringList loadAnimated (const TQString&, KIcon::Group, int = 0) const; - TQStringList queryIcons (int, KIcon::Context = KIcon ::Any ) const; - TQStringList queryIconsByContext (int, KIcon::Context = KIcon ::Any ) const; + TQMovie loadMovie (const TQString&, TDEIcon::Group, int = 0) const; + TQString moviePath (const TQString&, TDEIcon::Group, int = 0) const; + TQStringList loadAnimated (const TQString&, TDEIcon::Group, int = 0) const; + TQStringList queryIcons (int, TDEIcon::Context = TDEIcon ::Any ) const; + TQStringList queryIconsByContext (int, TDEIcon::Context = TDEIcon ::Any ) const; %If ( KDE_3_1_0 - ) TQStringList queryIconsByDir (const TQString&) const; %End - int currentSize (KIcon::Group) const; - KIconTheme* theme (); - KIconEffect* iconEffect (); + int currentSize (TDEIcon::Group) const; + TDEIconTheme* theme (); + TDEIconEffect* iconEffect (); void reconfigure (const TQString&, TDEStandardDirs*); static TQPixmap unknown (); - bool alphaBlending (KIcon::Group) const; + bool alphaBlending (TDEIcon::Group) const; %If ( KDE_3_1_0 - ) void addExtraDesktopThemes (); @@ -72,26 +72,26 @@ public: %End -}; // class KIconLoader +}; // class TDEIconLoader %ModuleCode #include <kiconloader.h> %End -TQPixmap DesktopIcon (const TQString&, int = 0, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap DesktopIcon (const TQString&, int = 0, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap DesktopIcon (const TQString&, TDEInstance*); TQIconSet DesktopIconSet (const TQString&, int = 0, TDEInstance* = TDEGlobal ::instance ()); -TQPixmap BarIcon (const TQString&, int = 0, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap BarIcon (const TQString&, int = 0, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap BarIcon (const TQString&, TDEInstance*); TQIconSet BarIconSet (const TQString&, int = 0, TDEInstance* = TDEGlobal ::instance ()); -TQPixmap SmallIcon (const TQString&, int = 0, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap SmallIcon (const TQString&, int = 0, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap SmallIcon (const TQString&, TDEInstance*); TQIconSet SmallIconSet (const TQString&, int = 0, TDEInstance* = TDEGlobal ::instance ()); -TQPixmap MainBarIcon (const TQString&, int = 0, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap MainBarIcon (const TQString&, int = 0, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap MainBarIcon (const TQString&, TDEInstance*); TQIconSet MainBarIconSet (const TQString&, int = 0, TDEInstance* = TDEGlobal ::instance ()); -TQPixmap UserIcon (const TQString&, int = KIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); +TQPixmap UserIcon (const TQString&, int = TDEIcon ::DefaultState , TDEInstance* = TDEGlobal ::instance ()); TQPixmap UserIcon (const TQString&, TDEInstance*); TQIconSet UserIconSet (const TQString&, TDEInstance* = TDEGlobal ::instance ()); -int IconSize (KIcon::Group, TDEInstance* = TDEGlobal ::instance ()); +int IconSize (TDEIcon::Group, TDEInstance* = TDEGlobal ::instance ()); diff --git a/sip/tdecore/kicontheme.sip b/sip/tdecore/kicontheme.sip index c8f2f6a..bbd8ae6 100644 --- a/sip/tdecore/kicontheme.sip +++ b/sip/tdecore/kicontheme.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIcon +class TDEIcon { %TypeHeaderCode #include <kicontheme.h> @@ -32,7 +32,7 @@ class KIcon public: - KIcon (); + TDEIcon (); bool isValid () const; enum Context @@ -198,10 +198,10 @@ public: %End -}; // class KIcon +}; // class TDEIcon -class KIconTheme +class TDEIconTheme { %TypeHeaderCode #include <kicontheme.h> @@ -209,7 +209,7 @@ class KIconTheme public: - KIconTheme (const TQString&, const TQString& = TQString ::null ); + TDEIconTheme (const TQString&, const TQString& = TQString ::null ); TQString name () const; TQString description () const; TQString example () const; @@ -231,11 +231,11 @@ public: %End int depth () const; - int defaultSize (KIcon::Group) const; - TQValueList<int> querySizes (KIcon::Group) const; - TQStringList queryIcons (int, KIcon::Context = KIcon ::Any ) const; - TQStringList queryIconsByContext (int, KIcon::Context = KIcon ::Any ) const; - KIcon iconPath (const TQString&, int, KIcon::MatchType) const; + int defaultSize (TDEIcon::Group) const; + TQValueList<int> querySizes (TDEIcon::Group) const; + TQStringList queryIcons (int, TDEIcon::Context = TDEIcon ::Any ) const; + TQStringList queryIconsByContext (int, TDEIcon::Context = TDEIcon ::Any ) const; + TDEIcon iconPath (const TQString&, int, TDEIcon::MatchType) const; static TQStringList list (); static TQString current (); static void reconfigure (); @@ -245,5 +245,5 @@ public: %End -}; // class KIconTheme +}; // class TDEIconTheme diff --git a/sip/tdecore/kinstance.sip b/sip/tdecore/kinstance.sip index 94a23c3..b960c83 100644 --- a/sip/tdecore/kinstance.sip +++ b/sip/tdecore/kinstance.sip @@ -42,7 +42,7 @@ public: TDESharedConfig* sharedConfig () const; %End - KIconLoader* iconLoader () const; + TDEIconLoader* iconLoader () const; void newIconLoader () const; const TDEAboutData* aboutData () const; TQCString instanceName () const; diff --git a/sip/tdecore/kmimesourcefactory.sip b/sip/tdecore/kmimesourcefactory.sip index 44da6f9..af484a6 100644 --- a/sip/tdecore/kmimesourcefactory.sip +++ b/sip/tdecore/kmimesourcefactory.sip @@ -32,7 +32,7 @@ class KMimeSourceFactory : TQMimeSourceFactory public: - KMimeSourceFactory (KIconLoader* = TDEGlobal ::iconLoader ()); + KMimeSourceFactory (TDEIconLoader* = TDEGlobal ::iconLoader ()); virtual TQString makeAbsolute (const TQString&, const TQString&) const; protected: diff --git a/sip/tdefile/kicondialog.sip b/sip/tdefile/kicondialog.sip index eebdcb0..c53df67 100644 --- a/sip/tdefile/kicondialog.sip +++ b/sip/tdefile/kicondialog.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconCanvas : KIconView +class TDEIconCanvas : TDEIconView { %TypeHeaderCode #include <kicondialog.h> @@ -32,7 +32,7 @@ class KIconCanvas : KIconView public: - KIconCanvas (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEIconCanvas (TQWidget* /TransferThis/ = 0, const char* = 0); void loadFiles (const TQStringList&); TQString getCurrent (); @@ -48,10 +48,10 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KIconCanvas +}; // class TDEIconCanvas -class KIconDialog : KDialogBase +class TDEIconDialog : KDialogBase { %TypeHeaderCode #include <kicondialog.h> @@ -59,8 +59,8 @@ class KIconDialog : KDialogBase public: - KIconDialog (TQWidget* /TransferThis/ = 0, const char* = 0); - KIconDialog (KIconLoader*, TQWidget* /TransferThis/ = 0, const char* = 0); + TDEIconDialog (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEIconDialog (TDEIconLoader*, TQWidget* /TransferThis/ = 0, const char* = 0); void setStrictIconSize (bool); bool strictIconSize () const; @@ -70,11 +70,11 @@ public: void setIconSize (int); int iconSize () const; - TQString selectIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0); - void setup (KIcon::Group, KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0); + TQString selectIcon (TDEIcon::Group = TDEIcon ::Desktop , TDEIcon::Context = TDEIcon ::Application , bool = 0); + void setup (TDEIcon::Group, TDEIcon::Context = TDEIcon ::Application , bool = 0, int = 0, bool = 0); %If ( KDE_3_3_0 - ) - void setup (KIcon::Group, KIcon::Context, bool, int, bool, bool, bool); + void setup (TDEIcon::Group, TDEIcon::Context, bool, int, bool, bool, bool); %End TQString openDialog (); @@ -83,7 +83,7 @@ public: void showDialog (); %End - static TQString getIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); + static TQString getIcon (TDEIcon::Group = TDEIcon ::Desktop , TDEIcon::Context = TDEIcon ::Application , bool = 0, int = 0, bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null ); signals: @@ -102,10 +102,10 @@ protected slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KIconDialog +}; // class TDEIconDialog -class KIconButton : TQPushButton +class TDEIconButton : TQPushButton { %TypeHeaderCode #include <kicondialog.h> @@ -113,11 +113,11 @@ class KIconButton : TQPushButton public: - KIconButton (TQWidget* /TransferThis/ = 0, const char* = 0); - KIconButton (KIconLoader*, TQWidget* /TransferThis/, const char* = 0); + TDEIconButton (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEIconButton (TDEIconLoader*, TQWidget* /TransferThis/, const char* = 0); void setStrictIconSize (bool); bool strictIconSize () const; - void setIconType (KIcon::Group, KIcon::Context, bool = 0); + void setIconType (TDEIcon::Group, TDEIcon::Context, bool = 0); void setIcon (const TQString&); void resetIcon (); const TQString icon (); @@ -127,5 +127,5 @@ public: signals: //ig void iconChanged (TQString); -}; // class KIconButton +}; // class TDEIconButton diff --git a/sip/tdefile/kurlbar.sip b/sip/tdefile/kurlbar.sip index 253a07b..cc15994 100644 --- a/sip/tdefile/kurlbar.sip +++ b/sip/tdefile/kurlbar.sip @@ -34,12 +34,12 @@ class KURLBarItem : TQListBoxPixmap public: %If ( KDE_3_2_0 - ) - KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const TQString& = TQString ::null , const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); + KURLBarItem (KURLBar* /TransferThis/, const KURL&, bool, const TQString& = TQString ::null , const TQString& = TQString ::null , TDEIcon::Group = TDEIcon ::Panel ); %End - KURLBarItem (KURLBar* /TransferThis/, const KURL&, const TQString& = TQString ::null , const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); + KURLBarItem (KURLBar* /TransferThis/, const KURL&, const TQString& = TQString ::null , const TQString& = TQString ::null , TDEIcon::Group = TDEIcon ::Panel ); void setURL (const KURL&); - void setIcon (const TQString&, KIcon::Group = KIcon ::Panel ); + void setIcon (const TQString&, TDEIcon::Group = TDEIcon ::Panel ); void setDescription (const TQString&); void setToolTip (const TQString&); @@ -53,7 +53,7 @@ public: const TQString& description () const; const TQString& icon () const; TQString toolTip () const; - KIcon::Group iconGroup () const; + TDEIcon::Group iconGroup () const; virtual const TQPixmap* pixmap () const; void setApplicationLocal (bool); bool applicationLocal () const; @@ -81,10 +81,10 @@ class KURLBar : TQFrame public: KURLBar (bool, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); - virtual KURLBarItem* insertItem (const KURL&, const TQString&, bool = 1, const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); + virtual KURLBarItem* insertItem (const KURL&, const TQString&, bool = 1, const TQString& = TQString ::null , TDEIcon::Group = TDEIcon ::Panel ); %If ( KDE_3_2_0 - ) - virtual KURLBarItem* insertDynamicItem (const KURL&, const TQString&, const TQString& = TQString ::null , KIcon::Group = KIcon ::Panel ); + virtual KURLBarItem* insertDynamicItem (const KURL&, const TQString&, const TQString& = TQString ::null , TDEIcon::Group = TDEIcon ::Panel ); %End virtual void setOrientation (TQt::Orientation); @@ -198,7 +198,7 @@ class KURLBarItemDialog : KDialogBase public: static bool getInformation (bool, KURL&, TQString&, TQString&, bool&, int, TQWidget* /Transfer/ = 0); - KURLBarItemDialog (bool, const KURL&, const TQString&, TQString, bool = 1, int = KIcon ::SizeMedium , TQWidget* /TransferThis/ = 0, const char* = 0); + KURLBarItemDialog (bool, const KURL&, const TQString&, TQString, bool = 1, int = TDEIcon ::SizeMedium , TQWidget* /TransferThis/ = 0, const char* = 0); KURL url () const; TQString description () const; TQString icon () const; diff --git a/sip/tdefile/tdefiledetailview.sip b/sip/tdefile/tdefiledetailview.sip index 8453f86..3970841 100644 --- a/sip/tdefile/tdefiledetailview.sip +++ b/sip/tdefile/tdefiledetailview.sip @@ -170,9 +170,9 @@ private: {sipName_KFileTreeView, &sipClass_KFileTreeView}, {sipName_KFileTreeViewToolTip, &sipClass_KFileTreeViewToolTip}, {sipName_KFileViewSignaler, &sipClass_KFileViewSignaler}, - {sipName_KIconButton, &sipClass_KIconButton}, - {sipName_KIconCanvas, &sipClass_KIconCanvas}, - {sipName_KIconDialog, &sipClass_KIconDialog}, + {sipName_TDEIconButton, &sipClass_TDEIconButton}, + {sipName_TDEIconCanvas, &sipClass_TDEIconCanvas}, + {sipName_TDEIconDialog, &sipClass_TDEIconDialog}, {sipName_KImageFilePreview, &sipClass_KImageFilePreview}, #if TDE_VERSION >= 0x030100 {sipName_KNotifyDialog, &sipClass_KNotifyDialog}, diff --git a/sip/tdefile/tdefileiconview.sip b/sip/tdefile/tdefileiconview.sip index bd69889..a57d044 100644 --- a/sip/tdefile/tdefileiconview.sip +++ b/sip/tdefile/tdefileiconview.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KFileIconViewItem : KIconViewItem +class KFileIconViewItem : TDEIconViewItem { %TypeHeaderCode #include <tdefileiconview.h> @@ -43,7 +43,7 @@ public: }; // class KFileIconViewItem -class KFileIconView : KIconView, KFileView +class KFileIconView : TDEIconView, KFileView { %TypeHeaderCode #include <tdefileiconview.h> diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip index b00ba76..51eaf8b 100644 --- a/sip/tdeui/kaboutapplication.sip +++ b/sip/tdeui/kaboutapplication.sip @@ -119,7 +119,7 @@ protected: {sipName_KHSSelector, &sipClass_KHSSelector}, {sipName_KHelpMenu, &sipClass_KHelpMenu}, {sipName_KHistoryCombo, &sipClass_KHistoryCombo}, - {sipName_KIconView, &sipClass_KIconView}, + {sipName_TDEIconView, &sipClass_TDEIconView}, {sipName_KIntSpinBox, &sipClass_KIntSpinBox}, {sipName_KIntValidator, &sipClass_KIntValidator}, {sipName_KJanusWidget, &sipClass_KJanusWidget}, diff --git a/sip/tdeui/kguiitem.sip b/sip/tdeui/kguiitem.sip index 23b4f16..9b58e20 100644 --- a/sip/tdeui/kguiitem.sip +++ b/sip/tdeui/kguiitem.sip @@ -38,7 +38,7 @@ public: KGuiItem (const KGuiItem&); TQString text () const; TQString plainText () const; - TQIconSet iconSet (KIcon::Group, int = 0, TDEInstance* = TDEGlobal ::instance ()) const; + TQIconSet iconSet (TDEIcon::Group, int = 0, TDEInstance* = TDEGlobal ::instance ()) const; TQIconSet iconSet () const; TQString iconName () const; TQString toolTip () const; diff --git a/sip/tdeui/kiconview.sip b/sip/tdeui/kiconview.sip index 7940f1a..44bf275 100644 --- a/sip/tdeui/kiconview.sip +++ b/sip/tdeui/kiconview.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KIconView : TQIconView +class TDEIconView : TQIconView { %TypeHeaderCode #include <kiconview.h> @@ -32,7 +32,7 @@ class KIconView : TQIconView public: - KIconView (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + TDEIconView (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); enum Mode { @@ -40,7 +40,7 @@ public: Select }; - void setMode (KIconView::Mode); + void setMode (TDEIconView::Mode); Mode mode () const; virtual void setFont (const TQFont&); @@ -105,10 +105,10 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KIconView +}; // class TDEIconView -class KIconViewItem : TQIconViewItem +class TDEIconViewItem : TQIconViewItem { %TypeHeaderCode #include <kiconview.h> @@ -116,14 +116,14 @@ class KIconViewItem : TQIconViewItem public: - KIconViewItem (TQIconView* /TransferThis/); - KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*); - KIconViewItem (TQIconView* /TransferThis/, const TQString&); - KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&); - KIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&); - KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPixmap&); - KIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPicture&); - KIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPicture&); + TDEIconViewItem (TQIconView* /TransferThis/); + TDEIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*); + TDEIconViewItem (TQIconView* /TransferThis/, const TQString&); + TDEIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&); + TDEIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPixmap&); + TDEIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPixmap&); + TDEIconViewItem (TQIconView* /TransferThis/, const TQString&, const TQPicture&); + TDEIconViewItem (TQIconView* /TransferThis/, TQIconViewItem*, const TQString&, const TQPicture&); %If ( KDE_3_3_0 - ) void setPixmapSize (const TQSize&); @@ -143,5 +143,5 @@ protected: %End -}; // class KIconViewItem +}; // class TDEIconViewItem diff --git a/sip/tdeui/kiconviewsearchline.sip b/sip/tdeui/kiconviewsearchline.sip index cdc6c9e..bde2ab8 100644 --- a/sip/tdeui/kiconviewsearchline.sip +++ b/sip/tdeui/kiconviewsearchline.sip @@ -26,7 +26,7 @@ %If ( KDE_3_4_0 - ) -class KIconViewSearchLine : KLineEdit +class TDEIconViewSearchLine : KLineEdit { %TypeHeaderCode #include <kiconviewsearchline.h> @@ -34,8 +34,8 @@ class KIconViewSearchLine : KLineEdit public: - KIconViewSearchLine (TQWidget* /TransferThis/ = 0, TQIconView* = 0, const char* = 0); - KIconViewSearchLine (TQWidget* /TransferThis/, const char*); + TDEIconViewSearchLine (TQWidget* /TransferThis/ = 0, TQIconView* = 0, const char* = 0); + TDEIconViewSearchLine (TQWidget* /TransferThis/, const char*); bool caseSensitive () const; TQIconView* iconView () const; @@ -55,7 +55,7 @@ protected slots: void queueSearch (const TQString&); void activateSearch (); -}; // class KIconViewSearchLine +}; // class TDEIconViewSearchLine %End diff --git a/sip/tdeui/tdeaction.sip b/sip/tdeui/tdeaction.sip index f0596bf..6a24c6e 100644 --- a/sip/tdeui/tdeaction.sip +++ b/sip/tdeui/tdeaction.sip @@ -77,7 +77,7 @@ public: virtual TQString group () const; virtual TQString whatsThis () const; virtual TQString toolTip () const; - virtual TQIconSet iconSet (KIcon::Group, int = 0) const; + virtual TQIconSet iconSet (TDEIcon::Group, int = 0) const; TQIconSet iconSet () const; virtual TQString icon () const; TDEActionCollection* parentCollection () const; diff --git a/templates/annotated/menuapp1.py b/templates/annotated/menuapp1.py index 5d25e93..f1586ae 100644 --- a/templates/annotated/menuapp1.py +++ b/templates/annotated/menuapp1.py @@ -45,7 +45,7 @@ import sys from qt import TQPopupMenu, SIGNAL -from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, KIcon, KIconLoader +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KMessageBox TOOLBAR_NEW = 1 @@ -143,10 +143,10 @@ class MainWin (TDEMainWindow): self.menuBar ().insertItem (i18n ("&Help"), helpMenu) def initToolBar (self): - # KIconLoader will make it easy to locate the standard KDE icons for + # TDEIconLoader will make it easy to locate the standard KDE icons for # toolbar buttons. For custom icons, a complete path to the icon # (without the loadIcon call) is needed - icons = KIconLoader () + icons = TDEIconLoader () # TDEMainWindow owns at least one TDEToolBar instance, which is returned # by 'self.toolBar ()'. To obtain additional toolbars, add an argument @@ -159,17 +159,17 @@ class MainWin (TDEMainWindow): # are easier ways to do this - see other menuapp templates for easier # methods using TDEAction/KStdAction - self.toolBar ().insertButton (icons.loadIcon ("filenew", KIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ + self.toolBar ().insertButton (icons.loadIcon ("filenew", TDEIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ True, "New") - self.toolBar ().insertButton (icons.loadIcon ("fileopen", KIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ + self.toolBar ().insertButton (icons.loadIcon ("fileopen", TDEIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ True, "Open") - self.toolBar ().insertButton (icons.loadIcon ("filesave", KIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ + self.toolBar ().insertButton (icons.loadIcon ("filesave", TDEIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ True, "Save") - self.toolBar ().insertButton (icons.loadIcon ("editcut", KIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ + self.toolBar ().insertButton (icons.loadIcon ("editcut", TDEIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ True, "Cut") - self.toolBar ().insertButton (icons.loadIcon ("editcopy", KIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ + self.toolBar ().insertButton (icons.loadIcon ("editcopy", TDEIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ True, "Copy") - self.toolBar ().insertButton (icons.loadIcon ("editpaste", KIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ + self.toolBar ().insertButton (icons.loadIcon ("editpaste", TDEIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ True, "Paste") def initStatusBar (self): diff --git a/templates/annotated/systray.py b/templates/annotated/systray.py index 56944a8..1c3745c 100644 --- a/templates/annotated/systray.py +++ b/templates/annotated/systray.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import TQWidget, SIGNAL -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import KSystemTray """ @@ -64,13 +64,13 @@ app = TDEApplication (sys.argv, appName) mainWindow = MainWin (None, "main window") # System tray apps need an icon -icons = KIconLoader () +icons = TDEIconLoader () # The KSystemTray widget shows or hides it's parent widget # when clicked, so parent needs to be the main window systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) +systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) systray.show () diff --git a/templates/annotated/systray1.py b/templates/annotated/systray1.py index 3c1d3d5..eb3429f 100644 --- a/templates/annotated/systray1.py +++ b/templates/annotated/systray1.py @@ -36,7 +36,7 @@ copyright holder. import sys from qt import TQLabel, TQWidget, SIGNAL -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray # This template uses TDEMainWindow as the main window widget @@ -53,11 +53,11 @@ class MainWin (TDEMainWindow): self.exitFlag = False - icons = KIconLoader () + icons = TDEIconLoader () # KSystemTray hides or shows its parent when the system tray icon is clicked self.systray = KSystemTray (self) - self.systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) + self.systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected) self.systray.show () diff --git a/templates/basic/menuapp1.py b/templates/basic/menuapp1.py index c8f86db..dceec10 100644 --- a/templates/basic/menuapp1.py +++ b/templates/basic/menuapp1.py @@ -44,7 +44,7 @@ import sys from qt import TQPopupMenu, SIGNAL -from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, KIcon, KIconLoader +from tdecore import TDEApplication, TDECmdLineArgs, TDEAboutData, i18n, TDEStdAccel, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KMessageBox TOOLBAR_NEW = 1 @@ -102,19 +102,19 @@ class MainWin (TDEMainWindow): self.menuBar ().insertItem (i18n ("&Help"), helpMenu) def initToolBar (self): - icons = KIconLoader () + icons = TDEIconLoader () - self.toolBar ().insertButton (icons.loadIcon ("filenew", KIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ + self.toolBar ().insertButton (icons.loadIcon ("filenew", TDEIcon.Toolbar), TOOLBAR_NEW, SIGNAL ("clicked (int)"), self.slotNew,\ True, "New") - self.toolBar ().insertButton (icons.loadIcon ("fileopen", KIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ + self.toolBar ().insertButton (icons.loadIcon ("fileopen", TDEIcon.Toolbar), TOOLBAR_OPEN, SIGNAL ("clicked (int)"), self.slotOpen,\ True, "Open") - self.toolBar ().insertButton (icons.loadIcon ("filesave", KIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ + self.toolBar ().insertButton (icons.loadIcon ("filesave", TDEIcon.Toolbar), TOOLBAR_SAVE, SIGNAL ("clicked (int)"), self.slotSave,\ True, "Save") - self.toolBar ().insertButton (icons.loadIcon ("editcut", KIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ + self.toolBar ().insertButton (icons.loadIcon ("editcut", TDEIcon.Toolbar), TOOLBAR_CUT, SIGNAL ("clicked (int)"), self.slotCut,\ True, "Cut") - self.toolBar ().insertButton (icons.loadIcon ("editcopy", KIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ + self.toolBar ().insertButton (icons.loadIcon ("editcopy", TDEIcon.Toolbar), TOOLBAR_COPY, SIGNAL ("clicked (int)"), self.slotCopy,\ True, "Copy") - self.toolBar ().insertButton (icons.loadIcon ("editpaste", KIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ + self.toolBar ().insertButton (icons.loadIcon ("editpaste", TDEIcon.Toolbar), TOOLBAR_PASTE, SIGNAL ("clicked (int)"), self.slotPaste,\ True, "Paste") def initStatusBar (self): diff --git a/templates/basic/systray.py b/templates/basic/systray.py index 5dc2a3d..b4bb489 100644 --- a/templates/basic/systray.py +++ b/templates/basic/systray.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import TQWidget, SIGNAL -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import KSystemTray @@ -47,11 +47,11 @@ appName = "template" app = TDEApplication (sys.argv, appName) mainWindow = MainWin (None, "main window") -icons = KIconLoader () +icons = TDEIconLoader () systray = KSystemTray (mainWindow) -systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) +systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) systray.connect (systray, SIGNAL ("quitSelected ()"), slotQuitSelected) systray.show () diff --git a/templates/basic/systray1.py b/templates/basic/systray1.py index 0a660e7..ac5e508 100644 --- a/templates/basic/systray1.py +++ b/templates/basic/systray1.py @@ -30,7 +30,7 @@ copyright holder. import sys from qt import TQLabel, TQWidget, SIGNAL -from tdecore import TDEApplication, KIcon, KIconLoader +from tdecore import TDEApplication, TDEIcon, TDEIconLoader from tdeui import TDEMainWindow, KSystemTray class MainWin (TDEMainWindow): @@ -39,10 +39,10 @@ class MainWin (TDEMainWindow): self.exitFlag = False - icons = KIconLoader () + icons = TDEIconLoader () self.systray = KSystemTray (self) - self.systray.setPixmap (icons.loadIcon("stop", KIcon.Desktop)) + self.systray.setPixmap (icons.loadIcon("stop", TDEIcon.Desktop)) self.systray.connect (self.systray, SIGNAL ("quitSelected ()"), self.slotQuitSelected) self.systray.show () |