Rename additional KDE strings

pull/1/head
Timothy Pearson 13 years ago
parent 1ccab9e244
commit cd9b9ed7fd

@ -361,7 +361,7 @@
1998-04-15 David Faure <faure@kde.org> (0.5.1) 1998-04-15 David Faure <faure@kde.org> (0.5.1)
ktalkd doesn't use anymore kdedir() because it's protected. ktalkd doesn't use anymore tdedir() because it's protected.
It sets now $KDEBINDIR, for portable ktalkdrc files. KDEBINDIR It sets now $KDEBINDIR, for portable ktalkdrc files. KDEBINDIR
is determined by a call to the kde_bindir() function. is determined by a call to the kde_bindir() function.
Makefile doesn't define TALKD_CONF anymore for compilation : Makefile doesn't define TALKD_CONF anymore for compilation :

@ -143,10 +143,10 @@ void
KWiFiManagerApp::init_whois_db () KWiFiManagerApp::init_whois_db ()
{ {
KStandardDirs finder; KStandardDirs finder;
TQString kdedir = TQString tdedir =
finder.findResourceDir ("data", "kwifimanager/locations/NOWHERE.loc"); finder.findResourceDir ("data", "kwifimanager/locations/NOWHERE.loc");
kdedir += "kwifimanager/locations/"; tdedir += "kwifimanager/locations/";
TQDir *locations = new TQDir (kdedir); TQDir *locations = new TQDir (tdedir);
if (!locations->exists ()) if (!locations->exists ())
kdDebug () << kdDebug () <<
"A grave error occurred while searching for files with AccessPoint information." << endl; "A grave error occurred while searching for files with AccessPoint information." << endl;
@ -158,7 +158,7 @@ KWiFiManagerApp::init_whois_db ()
{ {
if ((*it) != "." && (*it) != "..") if ((*it) != "." && (*it) != "..")
{ {
TQFile datei (kdedir + (*it)); TQFile datei (tdedir + (*it));
datei.open (IO_ReadOnly); datei.open (IO_ReadOnly);
while (datei.readLine (content, 255) != -1) while (datei.readLine (content, 255) != -1)
{ {

@ -30,12 +30,12 @@ Picture::Picture (TQWidget * parent, Interface_wireless * device):TQWidget (pare
{ {
this->device = device; this->device = device;
KStandardDirs finder; KStandardDirs finder;
kdedir = finder.findResourceDir ("data", "kwifimanager/pics/no_card.png"); tdedir = finder.findResourceDir ("data", "kwifimanager/pics/no_card.png");
kdedir += "kwifimanager/pics/"; tdedir += "kwifimanager/pics/";
NO_CARD = new TQPixmap (kdedir + "no_card.png"); NO_CARD = new TQPixmap (tdedir + "no_card.png");
AD_HOC = new TQPixmap (kdedir + "ad_hoc.png"); AD_HOC = new TQPixmap (tdedir + "ad_hoc.png");
ALL_ALONE = new TQPixmap (kdedir + "all_alone.png"); ALL_ALONE = new TQPixmap (tdedir + "all_alone.png");
AP_CONNECT = new TQPixmap (kdedir + "ap_connect.png"); AP_CONNECT = new TQPixmap (tdedir + "ap_connect.png");
} }
TQSize Picture::mySizeHint() { TQSize Picture::mySizeHint() {

@ -30,7 +30,7 @@ public:
private: private:
void paintEvent (TQPaintEvent *); void paintEvent (TQPaintEvent *);
TQPixmap *NO_CARD, *ALL_ALONE, *AD_HOC, *AP_CONNECT; TQPixmap *NO_CARD, *ALL_ALONE, *AD_HOC, *AP_CONNECT;
TQString kdedir; TQString tdedir;
Interface_wireless *device; Interface_wireless *device;
}; };

@ -32,14 +32,14 @@ Strength::Strength (TQWidget * parent, Interface_wireless * device):TQWidget (pa
{ {
this->device = device; this->device = device;
KStandardDirs finder; KStandardDirs finder;
kdedir = finder.findResourceDir ("data", "kwifimanager/pics/no_card.png"); tdedir = finder.findResourceDir ("data", "kwifimanager/pics/no_card.png");
kdedir += "kwifimanager/pics/"; tdedir += "kwifimanager/pics/";
NOT_CON_OFFLINE_ADHOC = new TQPixmap (kdedir + "offline.png"); NOT_CON_OFFLINE_ADHOC = new TQPixmap (tdedir + "offline.png");
EXCELLENT = new TQPixmap (kdedir + "excellent.png"); EXCELLENT = new TQPixmap (tdedir + "excellent.png");
GOOD = new TQPixmap (kdedir + "good.png"); GOOD = new TQPixmap (tdedir + "good.png");
MARGINAL = new TQPixmap (kdedir + "marginal.png"); MARGINAL = new TQPixmap (tdedir + "marginal.png");
OOR_MINIMUM = new TQPixmap (kdedir + "oor_minimum.png"); OOR_MINIMUM = new TQPixmap (tdedir + "oor_minimum.png");
OOR_DOWN = new TQPixmap (kdedir + "oor_down.png"); OOR_DOWN = new TQPixmap (tdedir + "oor_down.png");
} }
TQSize Strength::mySizeHint () TQSize Strength::mySizeHint ()

@ -35,7 +35,7 @@ class Strength:public TQWidget
public slots: public slots:
void updateInfo (TQPaintEvent *); void updateInfo (TQPaintEvent *);
private: private:
TQString kdedir; TQString tdedir;
void paintEvent (TQPaintEvent *); void paintEvent (TQPaintEvent *);
Interface_wireless *device; Interface_wireless *device;
}; };

Loading…
Cancel
Save