summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/bluebase.h
authorzecke <zecke>2002-07-08 17:58:50 (UTC)
committer zecke <zecke>2002-07-08 17:58:50 (UTC)
commit35d0ca5cc59b82af7b7ddb343ec092c3171b11ef (patch) (side-by-side diff)
tree8a7dac4bef44014c262c4b5549697229cbecc084 /noncore/net/opietooth/manager/bluebase.h
parent078242aa3182fa98582a4881767f3aa1ff22b165 (diff)
downloadopie-35d0ca5cc59b82af7b7ddb343ec092c3171b11ef.zip
opie-35d0ca5cc59b82af7b7ddb343ec092c3171b11ef.tar.gz
opie-35d0ca5cc59b82af7b7ddb343ec092c3171b11ef.tar.bz2
fix memleaks
fix possible crashes clean up
Diffstat (limited to 'noncore/net/opietooth/manager/bluebase.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/bluebase.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/noncore/net/opietooth/manager/bluebase.h b/noncore/net/opietooth/manager/bluebase.h
index ce0483f..73fac97 100644
--- a/noncore/net/opietooth/manager/bluebase.h
+++ b/noncore/net/opietooth/manager/bluebase.h
@@ -35,43 +35,43 @@ namespace OpieTooth {
BlueBase( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~BlueBase();
protected:
- private slots:
+ private slots:
void startScan();
private:
void readConfig();
void writeConfig();
void readSavedDevices();
void writeSavedDevices();
void writeToHciConfig();
- QString getStatus();
+ QString status()const;
void initGui();
void setInfo();
- Manager *localDevice;
- QMap<QString,BTListItem*> deviceList;
+ Manager *m_localDevice;
+ QMap<QString,BTListItem*> m_deviceList;
- void deviceActive( RemoteDevice *device );
+ void deviceActive( const RemoteDevice &device );
- QString deviceName;
- QString defaultPasskey;
- int useEncryption;
- int enableAuthentification;
- int enablePagescan;
- int enableInquiryscan;
+ QString m_deviceName;
+ QString m_defaultPasskey;
+ bool m_useEncryption;
+ bool m_enableAuthentification;
+ bool m_enablePagescan;
+ bool m_enableInquiryscan;
- QPixmap offPix;
- QPixmap onPix;
+ QPixmap m_offPix;
+ QPixmap m_onPix;
- BTIconLoader *iconLoader;
+ BTIconLoader *m_iconLoader;
private slots:
- void addSearchedDevices( QList<RemoteDevice> &newDevices );
+ void addSearchedDevices( const QValueList<RemoteDevice> &newDevices );
void addServicesToDevice( BTListItem *item );
void addServicesToDevice( const QString& device, Services::ValueList );
void addConnectedDevices();
void addConnectedDevices( Connection::ValueList );
void startServiceActionClicked( QListViewItem *item );
void startServiceActionHold( QListViewItem *, const QPoint &, int );