summaryrefslogtreecommitdiff
path: root/noncore/applets/networkapplet
authorchicken <chicken>2004-03-01 18:52:44 (UTC)
committer chicken <chicken>2004-03-01 18:52:44 (UTC)
commit54a73e15350ea3cc4886a81572cef6e7876be26a (patch) (side-by-side diff)
treec76d739875a0b90d69394f1894e30b8345c7b23c /noncore/applets/networkapplet
parent707d84768f4a3b4ada7435ba4c7451feaa11666c (diff)
downloadopie-54a73e15350ea3cc4886a81572cef6e7876be26a.zip
opie-54a73e15350ea3cc4886a81572cef6e7876be26a.tar.gz
opie-54a73e15350ea3cc4886a81572cef6e7876be26a.tar.bz2
fix includes
Diffstat (limited to 'noncore/applets/networkapplet') (more/less context) (show whitespace changes)
-rw-r--r--noncore/applets/networkapplet/networkapplet.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/noncore/applets/networkapplet/networkapplet.cpp b/noncore/applets/networkapplet/networkapplet.cpp
index 9a08568..955ed2e 100644
--- a/noncore/applets/networkapplet/networkapplet.cpp
+++ b/noncore/applets/networkapplet/networkapplet.cpp
@@ -14,61 +14,55 @@
    .i_,=:_.      -<s. This program is distributed in the hope that
     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
    : ..    .:,     . . . without even the implied warranty of
    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
..}^=.=       =       ; Library General Public License for more
++=   -.     .`     .: details.
 :     =  ...= . :.=-
 -.   .:....=;==+<; You should have received a copy of the GNU
  -_. . .   )=.  = Library General Public License along with
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#include "networkapplet.h"
/* OPIE */
#include <opie2/odebug.h>
#include <opie2/onetwork.h>
#include <opie2/otaskbarapplet.h>
#include <qpe/applnk.h>
-#include <qpe/qlibrary.h>
#include <qpe/resource.h>
#include <qpainter.h>
/* QT */
-#include <qhostaddress.h>
-#include <qimage.h>
#include <qlabel.h>
#include <qlayout.h>
-#include <qlineedit.h>
#include <qobjectlist.h>
-#include <qpushbutton.h>
-#include <qtoolbutton.h>
#include <assert.h>
IfaceUpDownButton::IfaceUpDownButton( QWidget* parent, const char* name )
:QToolButton( parent, name )
{
_iface = ONetwork::instance()->interface( name );
assert( _iface );
setToggleButton( true );
//setAutoRaise( true );
setOnIconSet( QIconSet( Resource::loadPixmap( "up" ) ) );
setOffIconSet( QIconSet( Resource::loadPixmap( "down" ) ) );
setOn( _iface->isUp() );
//setFixedWidth( 16 );
connect( this, SIGNAL( clicked() ), this, SLOT( clicked() ) );
}
IfaceUpDownButton::~IfaceUpDownButton()
{
}
void IfaceUpDownButton::clicked()