[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: QT casts
From: Federico David Sacerdoti <devel () slinuxmachines ! com>
Date: 2000-03-01 17:08:58
[Download RAW message or body]
Hi,
I'm using qt-copy from CVS, my question is in the comment below:
#include <klocale.h>
#include <qlayout.h>
#include <qwidget.h>
QVBoxLayout *speakLayout = new QVBoxLayout(splitter, 6);
QVBoxLayout *listenLayout = new QVBoxLayout(splitter, 6);
//Why do I have to do all these casts?
QLabel *label = new QLabel((const QString &) i18n("&Speak"),(QWidget*)speakLayout);
Thanks for your help
--
Federico David Sacerdoti
S Linux Machines
www.slinuxmachines.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic