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><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>KStandardDirs</td><td>0</td></tr>
<tr><td>dirs</td><td>TDEStandardDirs</td><td>0</td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<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><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>_dirs</td><td>KStandardDirs</td><td></td></tr>
<tr><td>_dirs</td><td>TDEStandardDirs</td><td></td></tr>
</table>
</td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<li><b>theme</b> ()

@ -52,7 +52,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>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>
</table></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<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></td><td width="50%"><table><tr><td></td></tr></table></td></tr></table></li><hr>
<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>
<li><b>iconLoader</b> ()
<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,KSimpleConfig,,,
tdecore,TDESocket,,,
tdecore,KStandardDirs,,,
tdecore,TDEStandardDirs,,,
tdecore,KStartupInfo,,,
tdecore,KStartupInfoData,,,
tdecore,KStartupInfoId,,,

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

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

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

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

Loading…
Cancel
Save