summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2006-05-25 22:44:37 (UTC)
committer mickeyl <mickeyl>2006-05-25 22:44:37 (UTC)
commitb8da33d26189ae36814335e77bef05203df4e2b2 (patch) (side-by-side diff)
tree4b7430f8e95a561530908a4f831658bce59223a7
parent22caa97cd10f2b81107bc83f50deab373afd2ca8 (diff)
downloadopie-b8da33d26189ae36814335e77bef05203df4e2b2.zip
opie-b8da33d26189ae36814335e77bef05203df4e2b2.tar.gz
opie-b8da33d26189ae36814335e77bef05203df4e2b2.tar.bz2
g++ 4.1.1 fixes
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/graphwindow.h2
-rw-r--r--noncore/net/wellenreiter/gui/scanlist.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/wellenreiter/gui/graphwindow.h b/noncore/net/wellenreiter/gui/graphwindow.h
index 392d85b..8b027ed 100644
--- a/noncore/net/wellenreiter/gui/graphwindow.h
+++ b/noncore/net/wellenreiter/gui/graphwindow.h
@@ -39,25 +39,25 @@ class MFrequencySpectrum : public QWidget
_values[channel] -= amount;
_dirty[channel] = true;
}
};
protected:
virtual void paintEvent( QPaintEvent* );
virtual void mousePressEvent( QMouseEvent* );
void drawLine( QPainter* p, int x, int y, int width, const QColor& c );
void drawTopLine( QPainter* p, int x, int y, int width, const QColor& c );
void drawBottomLine( QPainter* p, int x, int y, int width, const QColor& c );
- void MFrequencySpectrum::drawBar( QPainter* p, int x, int y, int width, int height, int maxheight );
+ void drawBar( QPainter* p, int x, int y, int width, int height, int maxheight );
private:
int _channels;
int* _values;
bool* _dirty;
};
class Legende : public QFrame
{
public:
Legende( int channels, QWidget* parent = 0, const char* name = "Legende", WFlags f = 0 );
diff --git a/noncore/net/wellenreiter/gui/scanlist.h b/noncore/net/wellenreiter/gui/scanlist.h
index eec51af..c7d4562 100644
--- a/noncore/net/wellenreiter/gui/scanlist.h
+++ b/noncore/net/wellenreiter/gui/scanlist.h
@@ -57,34 +57,34 @@ class MScanListView: public Opie::Ui::OListView
void rightButtonClicked(QListViewItem*,const QPoint&,int);
protected:
void addIfNotExisting( MScanListItem* parent, const Opie::Net::OMacAddress& addr, const QString& type = "station" );
};
//****************************** MScanListItem ****************************************************************
class MScanListItem: public Opie::Ui::OListViewItem
{
public:
- MScanListItem::MScanListItem( QListView* parent,
+ MScanListItem( QListView* parent,
const QString& type = "unknown",
const QString& essid = "unknown",
const QString& macaddr = "unknown",
bool wep = false,
int channel = 0,
int signal = 0,
bool probed = false );
- MScanListItem::MScanListItem( QListViewItem* parent,
+ MScanListItem( QListViewItem* parent,
const QString& type = "unknown",
const QString& essid = "unknown",
const QString& macaddr = "unknown",
bool wep = false,
int channel = 0,
int signal = 0 );
protected:
virtual void decorateItem( QString type, QString essid, QString macaddr, bool wep, int channel, int signal, bool probed );
public: