author | mickeyl <mickeyl> | 2003-06-26 10:34:59 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-06-26 10:34:59 (UTC) |
commit | 8168239a5b1ff80abc02f93ed831c088ca5f2f3d (patch) (side-by-side diff) | |
tree | d19069b730eeb82f02754955366569d52d088248 /noncore/net/wellenreiter/gui/wellenreiter.cpp | |
parent | 3c5746daa26d8353fde9ba84c6183517e26a625a (diff) | |
download | opie-8168239a5b1ff80abc02f93ed831c088ca5f2f3d.zip opie-8168239a5b1ff80abc02f93ed831c088ca5f2f3d.tar.gz opie-8168239a5b1ff80abc02f93ed831c088ca5f2f3d.tar.bz2 |
first bunch of fixes for Qt 3.x compilation
Diffstat (limited to 'noncore/net/wellenreiter/gui/wellenreiter.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/wellenreiter.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/wellenreiter.cpp b/noncore/net/wellenreiter/gui/wellenreiter.cpp index dcf796f..96733ff 100644 --- a/noncore/net/wellenreiter/gui/wellenreiter.cpp +++ b/noncore/net/wellenreiter/gui/wellenreiter.cpp @@ -476,2 +476,3 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa { + #ifdef QWS if ( action == "TouchSound" ) @@ -491,2 +492,5 @@ void Wellenreiter::doAction( const QString& action, const QString& protocol, OPa QString().sprintf( "Got packet with protocol '%s'", (const char*) protocol ) ); + #else + #warning Actions do not work with Qt/X11 yet + #endif } @@ -495,2 +499,3 @@ void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int ch { + #ifdef QWS if ( !iface ) @@ -526,3 +531,5 @@ void Wellenreiter::joinNetwork(const QString& type, const QString& essid, int ch // msg << QString(iface->name()) << QString("MacAddr") << macaddr; - + #else + QMessageBox::warning( this, tr( "Can't do that!" ), tr( "Function only available on Embedded build" ) ); + #endif |