Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent b95264b186
commit ebcececd59

@ -39,7 +39,7 @@
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconLoader instance</i></td></tr> <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>a KIconLoader instance</i></td></tr>
</table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></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>appname</td><td>TQString</td><td>TQString .null</td></tr>
<tr><td>dirs</td><td>KStandardDirs</td><td>0</td></tr> <tr><td>dirs</td><td>TDEStandardDirs</td><td>0</td></tr>
</table> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>addAppDir</b> (appname) <li><b>addAppDir</b> (appname)
@ -179,7 +179,7 @@
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>nothing</i></td></tr> <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> </table><table><tr bgcolor="#fff0ff"><th>Argument</th><th>Type</th><th>Default</th></tr>
<tr><td>_appname</td><td>TQString</td><td></td></tr> <tr><td>_appname</td><td>TQString</td><td></td></tr>
<tr><td>_dirs</td><td>KStandardDirs</td><td></td></tr> <tr><td>_dirs</td><td>TDEStandardDirs</td><td></td></tr>
</table> </table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>theme</b> () <li><b>theme</b> ()

@ -52,7 +52,7 @@
<tr><td><i>static</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> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>dirs</b> () <li><b>dirs</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KStandardDirs)</i></td></tr> <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEStandardDirs)</i></td></tr>
<tr><td><i>static</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> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>iconLoader</b> () <li><b>iconLoader</b> ()

@ -72,7 +72,7 @@
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEConfig)</i></td></tr> <table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(TDEConfig)</i></td></tr>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>dirs</b> () <li><b>dirs</b> ()
<table width = "100%"><tr><td width="50%" valign="top"><table><tr><td>returns <i>(KStandardDirs)</i></td></tr> <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> </table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>iconLoader</b> () <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>(KIconLoader)</i></td></tr>

@ -96,7 +96,7 @@ tdecore,KShortcut,,,
tdecore,KShortcutList,,, tdecore,KShortcutList,,,
tdecore,KSimpleConfig,,, tdecore,KSimpleConfig,,,
tdecore,TDESocket,,, tdecore,TDESocket,,,
tdecore,KStandardDirs,,, tdecore,TDEStandardDirs,,,
tdecore,KStartupInfo,,, tdecore,KStartupInfo,,,
tdecore,KStartupInfoData,,, tdecore,KStartupInfoData,,,
tdecore,KStartupInfoId,,, tdecore,KStartupInfoId,,,

@ -33,7 +33,7 @@ class TDEGlobal
public: public:
static TDEInstance* instance (); static TDEInstance* instance ();
static KStandardDirs* dirs (); static TDEStandardDirs* dirs ();
static TDEConfig* config (); static TDEConfig* config ();
%If ( KDE_3_2_0 - ) %If ( KDE_3_2_0 - )

@ -32,7 +32,7 @@ class KIconLoader
public: public:
KIconLoader (const TQString& = TQString ::null , KStandardDirs* = 0); KIconLoader (const TQString& = TQString ::null , TDEStandardDirs* = 0);
void addAppDir (const TQString&); void addAppDir (const TQString&);
TQPixmap loadIcon (const TQString&, KIcon::Group, int = 0, int = KIcon ::DefaultState , TQString* = 0, bool = 0) const; TQPixmap loadIcon (const TQString&, KIcon::Group, int = 0, int = KIcon ::DefaultState , TQString* = 0, bool = 0) const;
@ -60,7 +60,7 @@ public:
int currentSize (KIcon::Group) const; int currentSize (KIcon::Group) const;
KIconTheme* theme (); KIconTheme* theme ();
KIconEffect* iconEffect (); KIconEffect* iconEffect ();
void reconfigure (const TQString&, KStandardDirs*); void reconfigure (const TQString&, TDEStandardDirs*);
static TQPixmap unknown (); static TQPixmap unknown ();
bool alphaBlending (KIcon::Group) const; bool alphaBlending (KIcon::Group) const;

@ -35,7 +35,7 @@ public:
TDEInstance (const TQCString&); TDEInstance (const TQCString&);
TDEInstance (const TDEAboutData*); TDEInstance (const TDEAboutData*);
TDEInstance (TDEInstance*); TDEInstance (TDEInstance*);
KStandardDirs* dirs () const; TDEStandardDirs* dirs () const;
TDEConfig* config () const; TDEConfig* config () const;
%If ( KDE_3_2_0 - ) %If ( KDE_3_2_0 - )

@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
class KStandardDirs class TDEStandardDirs
{ {
%TypeHeaderCode %TypeHeaderCode
#include <kstddirs.h> #include <kstddirs.h>
@ -32,7 +32,7 @@ class KStandardDirs
public: public:
KStandardDirs (); TDEStandardDirs ();
void addPrefix (const TQString&); void addPrefix (const TQString&);
bool addResourceType (const char*, const TQString&); bool addResourceType (const char*, const TQString&);
bool addResourceDir (const char*, const TQString&); bool addResourceDir (const char*, const TQString&);
@ -56,9 +56,9 @@ public:
static bool exists (const TQString&); static bool exists (const TQString&);
private: private:
KStandardDirs (const KStandardDirs&); TDEStandardDirs (const TDEStandardDirs&);
}; // class KStandardDirs }; // class TDEStandardDirs
%ModuleCode %ModuleCode

Loading…
Cancel
Save