summaryrefslogtreecommitdiff
path: root/noncore/net
authorskyhusker <skyhusker>2005-06-12 14:08:02 (UTC)
committer skyhusker <skyhusker>2005-06-12 14:08:02 (UTC)
commitd6998357a5523188f5273549529193092334303e (patch) (side-by-side diff)
tree82800f1a80db367cdff3c5e9040a1411aafef9d7 /noncore/net
parentdc88bc9ebf2514d53eceb17ebcd1c67b89c6da70 (diff)
downloadopie-d6998357a5523188f5273549529193092334303e.zip
opie-d6998357a5523188f5273549529193092334303e.tar.gz
opie-d6998357a5523188f5273549529193092334303e.tar.bz2
TRUE->true, FALSE->false
Diffstat (limited to 'noncore/net') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opiestumbler/opiestumbler.cpp14
-rw-r--r--noncore/net/opiestumbler/opiestumbler.h2
-rw-r--r--noncore/net/opiestumbler/stationinfo.h2
-rw-r--r--noncore/net/opiestumbler/stumbler.cpp4
-rw-r--r--noncore/net/opiestumbler/stumblersettings.h2
5 files changed, 12 insertions, 12 deletions
diff --git a/noncore/net/opiestumbler/opiestumbler.cpp b/noncore/net/opiestumbler/opiestumbler.cpp
index bc4a7ab..2f4f54b 100644
--- a/noncore/net/opiestumbler/opiestumbler.cpp
+++ b/noncore/net/opiestumbler/opiestumbler.cpp
@@ -63,7 +63,7 @@ OpieStumbler::OpieStumbler(QWidget *parent, const char *name, WFlags)
lay->addWidget(m_listHistory);
grid->addLayout(lay, 0, 0);
- m_stationsCurrent->setAutoDelete(TRUE);
+ m_stationsCurrent->setAutoDelete(true);
m_channel = new QCopChannel( "QPE/OpieStumbler", this );
connect(m_channel, SIGNAL(received(const QCString &, const QByteArray &)),
@@ -71,7 +71,7 @@ OpieStumbler::OpieStumbler(QWidget *parent, const char *name, WFlags)
//setCaption(appCaption());
//setCentralWidget(grid);
- setToolBarsMovable(FALSE);
+ setToolBarsMovable(false);
QPopupMenu *fileMenu = new QPopupMenu(this);
@@ -127,7 +127,7 @@ OpieStumbler::OpieStumbler(QWidget *parent, const char *name, WFlags)
void OpieStumbler::slotConfigure()
{
- StumblerSettings settings(this, "Settings", TRUE);
+ StumblerSettings settings(this, "Settings", true);
if (settings.exec() == QDialog::Accepted)
loadConfig();
}
@@ -234,8 +234,8 @@ void OpieStumbler::slotShowDetails()
StationInfo info(it.current()->st->ssid, it.current()->st->type, QString::number(it.current()->st->channel),
QString::number(it.current()->st->rates.last()/1000000), QString::number(it.current()->st->level),
it.current()->st->encrypted ? "WEP": "No",
- it.current()->st->macAddress.toString(), manufacturer(it.current()->st->macAddress.toString(), TRUE),
- it.current()->lastTimeSeen.toString() ,this, "", TRUE);
+ it.current()->st->macAddress.toString(), manufacturer(it.current()->st->macAddress.toString(), true),
+ it.current()->lastTimeSeen.toString() ,this, "", true);
info.exec();
}
@@ -295,7 +295,7 @@ void OpieStumbler::slotJoinNetwork()
Opie::Net::OStation *station = it.current()->st;
odebug << "Bringing interface down" << oendl;
- wiface->setUp(FALSE);
+ wiface->setUp(false);
odebug << "Setting mode to " << (station->type == "adhoc" ? "adhoc" : "managed") << oendl;
wiface->setMode(station->type == "adhoc" ? "adhoc" : "managed" );
@@ -309,7 +309,7 @@ void OpieStumbler::slotJoinNetwork()
wiface->commit();
odebug << "Bringing interface up" << oendl;
- wiface->setUp(TRUE);
+ wiface->setUp(true);
m_pbar->setProgress(1);
//Wait 5 sec for association
QTimer::singleShot(5000, this, SLOT(slotAssociated()));
diff --git a/noncore/net/opiestumbler/opiestumbler.h b/noncore/net/opiestumbler/opiestumbler.h
index 84a69ba..263af6e 100644
--- a/noncore/net/opiestumbler/opiestumbler.h
+++ b/noncore/net/opiestumbler/opiestumbler.h
@@ -40,7 +40,7 @@ public:
static QString appName() { return QString::fromLatin1("opiestumbler"); }
static QString appCaption();
void displayStations();
- QString manufacturer(const QString &mac, bool extended = FALSE );
+ QString manufacturer(const QString &mac, bool extended = false );
protected slots:
void slotConfigure();
void slotStartScanning();
diff --git a/noncore/net/opiestumbler/stationinfo.h b/noncore/net/opiestumbler/stationinfo.h
index f8798a6..aa42932 100644
--- a/noncore/net/opiestumbler/stationinfo.h
+++ b/noncore/net/opiestumbler/stationinfo.h
@@ -16,7 +16,7 @@ public:
StationInfo( const QString &essid, const QString &type, const QString &channel,
const QString &maxrate, const QString &level, const QString &encryption, const QString &address,
const QString &vendor, const QString &time,
- QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ QWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
protected:
QLabel *m_ssidLabel;
diff --git a/noncore/net/opiestumbler/stumbler.cpp b/noncore/net/opiestumbler/stumbler.cpp
index cda6b99..10e89ce 100644
--- a/noncore/net/opiestumbler/stumbler.cpp
+++ b/noncore/net/opiestumbler/stumbler.cpp
@@ -35,10 +35,10 @@ void Stumbler::start()
if (!m_timer->isActive()) {
odebug << "Starting stumbler" << oendl;
- m_wiface->setUp(FALSE);
+ m_wiface->setUp(false);
m_wiface->setSSID("any");
m_wiface->setAssociatedAP( OMacAddress::broadcast );
- m_wiface->setUp(TRUE);
+ m_wiface->setUp(true);
m_timer->start(m_interval);
}
}
diff --git a/noncore/net/opiestumbler/stumblersettings.h b/noncore/net/opiestumbler/stumblersettings.h
index 997fc85..f444eba 100644
--- a/noncore/net/opiestumbler/stumblersettings.h
+++ b/noncore/net/opiestumbler/stumblersettings.h
@@ -9,7 +9,7 @@ class QLineEdit;
class StumblerSettings: public QDialog {
public:
- StumblerSettings(QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags f = 0);
+ StumblerSettings(QWidget* parent = 0, const char* name = 0, bool modal = false, WFlags f = 0);
~StumblerSettings();
protected slots: