summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.cpp
authorharlekin <harlekin>2002-06-15 21:19:03 (UTC)
committer harlekin <harlekin>2002-06-15 21:19:03 (UTC)
commite31f557a84055ce00f814fd44427f9b3584243f9 (patch) (side-by-side diff)
tree013a928eb50be77200e361b20df46d846bdf6250 /noncore/net/opietooth/manager/bluebase.cpp
parentbe10ba352f2a89bc5ec816eefc307a4ae2f7ff6b (diff)
downloadopie-e31f557a84055ce00f814fd44427f9b3584243f9.zip
opie-e31f557a84055ce00f814fd44427f9b3584243f9.tar.gz
opie-e31f557a84055ce00f814fd44427f9b3584243f9.tar.bz2
update
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.cpp b/noncore/net/opietooth/manager/bluebase.cpp
index c905ea3..e3b9e53 100644
--- a/noncore/net/opietooth/manager/bluebase.cpp
+++ b/noncore/net/opietooth/manager/bluebase.cpp
@@ -48,24 +48,26 @@ namespace OpieTooth {
QObject::connect( (QObject*) PushButton2, SIGNAL( clicked() ), this, SLOT(startScan()));
QObject::connect((QObject*)configApplyButton, SIGNAL(clicked() ), this, SLOT(applyConfigChanges()));
QPalette pal = this->palette();
QColor col = pal.color(QPalette::Active, QColorGroup::Background);
pal.setColor(QPalette::Active, QColorGroup::Button, col);
pal.setColor(QPalette::Inactive, QColorGroup::Button, col);
pal.setColor(QPalette::Normal, QColorGroup::Button, col);
pal.setColor(QPalette::Disabled, QColorGroup::Button, col);
this->setPalette(pal);
+ setCaption( tr( "Bluetooth Manager" ) );
+
readConfig();
initGui();
}
/**
* Reads all options from the config file
*/
void BlueBase::readConfig() {
Config cfg("bluetoothmanager");
cfg.setGroup("bluezsettings");
@@ -143,23 +145,23 @@ namespace OpieTooth {
box->setText(tr("Changes applied"));
box->show();
// falls nötig hcid killhupen - die funktionalität adden
}
/**
* Open the "scan for devices" dialog
*/
void BlueBase::startScan() {
ScanDialog *scan = new ScanDialog( this, "", true);
- scan->exec();
+ scan->showMaximized();
}
/**
* Decontructor
*/
BlueBase::~BlueBase(){
}
}