summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/mainview.cpp
Side-by-side diff
Diffstat (limited to 'noncore/tools/remote/mainview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/mainview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/tools/remote/mainview.cpp b/noncore/tools/remote/mainview.cpp
index eaba7df..724eba9 100644
--- a/noncore/tools/remote/mainview.cpp
+++ b/noncore/tools/remote/mainview.cpp
@@ -7,27 +7,29 @@ License as published by the Free Software Foundation; either version 2 of the Li
version.
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 General
Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "mainview.h"
+#include <opie2/oresource.h>
+
MainView::MainView(QWidget *parent, const char *name) : QWidget(parent, name)
{
- setIcon( Resource::loadPixmap( "remote" ) );
+ setIcon( Opie::Core::OResource::loadPixmap( "remote", Opie::Core::OResource::SmallIcon ) );
setCaption(tr("Remote") );
QVBoxLayout *layout = new QVBoxLayout(this);
QTabWidget *tabs = new QTabWidget(this);
layout->addWidget(tabs);
remote = new RemoteTab(tabs);
learn = new LearnTab(tabs);
config = new ConfigTab(tabs);
help = new HelpTab(tabs);
connect(config, SIGNAL(remotesChanged()), this, SLOT(updateRemotesList()) );