diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-07-27 17:13:06 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-27 18:48:47 +0200 |
commit | a915aa74dc1acdd12de97f9d95a848b3b2a17abb (patch) | |
tree | f65d926875557195c5f6dd840a517e195eeda20e /src/newstreamosd.cpp | |
parent | 7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (diff) | |
download | tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.tar.gz tork-a915aa74dc1acdd12de97f9d95a848b3b2a17abb.zip |
Initial TDE conversion
Diffstat (limited to 'src/newstreamosd.cpp')
-rw-r--r-- | src/newstreamosd.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/newstreamosd.cpp b/src/newstreamosd.cpp index 6c52760..e8785e3 100644 --- a/src/newstreamosd.cpp +++ b/src/newstreamosd.cpp @@ -40,13 +40,13 @@ #include "newstreamosd.h" #include "torkview.h" -#include <kwin.h> +#include <twin.h> #include <kiconloader.h> #include <kdebug.h> #include <kcursor.h> -#include <kconfig.h> -#include <klocale.h> -#include <kpopupmenu.h> +#include <tdeconfig.h> +#include <tdelocale.h> +#include <tdepopupmenu.h> #include <ntqlistview.h> #include <ntqlayout.h> #include <ntqheader.h> @@ -56,7 +56,7 @@ #include <ntqapplication.h> #include <ntqframe.h> #include <ntqtoolbutton.h> -#include <kapplication.h> +#include <tdeapplication.h> #include <kiconloader.h> #include <X11/Xlib.h> @@ -197,7 +197,7 @@ void StreamOSD::renderOSD() infoList = new TQListView( this, "infoList" ); infoList->addColumn( "StreamID" ); infoList->addColumn( "Host" ); - infoList->addColumn( kapp->iconLoader()->loadIconSet("tork_torsmall", KIcon::Small),"", 24 ); + infoList->addColumn( kapp->iconLoader()->loadIconSet("tork_torsmall", TDEIcon::Small),"", 24 ); infoList->addColumn( "KB/s" ); infoList->addColumn( "Exit" ); infoList->setColumnWidthMode(0, TQListView::Manual); @@ -398,7 +398,7 @@ void StreamOSD::mousePressEvent( TQMouseEvent* e ) m_dragging = true; } /* else if( e->button() == RightButton ) { - KPopupMenu m; + TDEPopupMenu m; if( m.insertItem( i18n("Hide OSD") ) == m.exec( e->pos() ) ) hide(); }*/ @@ -465,7 +465,7 @@ TQPoint StreamOSD::fixupPosition( const TQPoint& pp ) } -void StreamOSD::readSettings( KConfigBase* c ) +void StreamOSD::readSettings( TDEConfigBase* c ) { TQString oldGroup = c->group(); if (m_tortraffic) @@ -480,7 +480,7 @@ void StreamOSD::readSettings( KConfigBase* c ) } -void StreamOSD::saveSettings( KConfigBase* c ) +void StreamOSD::saveSettings( TDEConfigBase* c ) { TQString oldGroup = c->group(); if (m_tortraffic) |