summaryrefslogtreecommitdiffstats
path: root/kcontrol/usbview/kcmusb.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kcontrol/usbview/kcmusb.cpp
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/usbview/kcmusb.cpp')
-rw-r--r--kcontrol/usbview/kcmusb.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kcontrol/usbview/kcmusb.cpp b/kcontrol/usbview/kcmusb.cpp
index f3a5a85df..5939e5997 100644
--- a/kcontrol/usbview/kcmusb.cpp
+++ b/kcontrol/usbview/kcmusb.cpp
@@ -39,7 +39,7 @@ USBViewer::USBViewer(TQWidget *parent, const char *name, const TQStringList &)
gbox->setColumnLayout( 0, Qt::Horizontal );
vbox->addWidget(gbox);
- TQVBoxLayout *vvbox = new TQVBoxLayout(gbox->layout(), KDialog::spacingHint());
+ TQVBoxLayout *vvbox = new TQVBoxLayout(gbox->tqlayout(), KDialog::spacingHint());
TQSplitter *splitter = new TQSplitter(gbox);
vvbox->addWidget(splitter);
@@ -87,12 +87,12 @@ void USBViewer::load()
refresh();
}
-static Q_UINT32 key( USBDevice &dev )
+static TQ_UINT32 key( USBDevice &dev )
{
return dev.bus()*256 + dev.device();
}
-static Q_UINT32 key_parent( USBDevice &dev )
+static TQ_UINT32 key_parent( USBDevice &dev )
{
return dev.bus()*256 + dev.parent();
}
@@ -130,7 +130,7 @@ void USBViewer::refresh()
for ( ; it.current(); ++it)
if (it.current()->level() == level)
{
- Q_UINT32 k = key(*it.current());
+ TQ_UINT32 k = key(*it.current());
if (level == 0)
{
TQListViewItem *item = _items.find(k);
@@ -178,7 +178,7 @@ void USBViewer::selectionChanged(TQListViewItem *item)
{
if (item)
{
- Q_UINT32 busdev = item->text(1).toUInt();
+ TQ_UINT32 busdev = item->text(1).toUInt();
USBDevice *dev = USBDevice::find(busdev>>8, busdev&255);
if (dev)
{