From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/info/info_osx.cpp | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'kcontrol/info/info_osx.cpp') diff --git a/kcontrol/info/info_osx.cpp b/kcontrol/info/info_osx.cpp index 25f23c2d9..5f18aebea 100644 --- a/kcontrol/info/info_osx.cpp +++ b/kcontrol/info/info_osx.cpp @@ -45,12 +45,12 @@ #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include @@ -63,10 +63,10 @@ #include -bool GetInfo_CPU (QListView *lBox) +bool GetInfo_CPU (TQListView *lBox) { - QString cpustring; + TQString cpustring; kern_return_t ret; struct host_basic_info basic_info; @@ -81,37 +81,37 @@ bool GetInfo_CPU (QListView *lBox) kdDebug() << "got Host Info: (" << basic_info.avail_cpus << ") CPUs available" << endl; const NXArchInfo *archinfo; archinfo=NXGetArchInfoFromCpuType(basic_info.cpu_type, basic_info.cpu_subtype); - new QListViewItem(lBox, i18n("Kernel is configured for %1 CPUs").arg(basic_info.max_cpus)); + new TQListViewItem(lBox, i18n("Kernel is configured for %1 CPUs").arg(basic_info.max_cpus)); for (int i = 1; i <= basic_info.avail_cpus; i++) { cpustring = i18n("CPU %1: %2").arg(i).arg(archinfo->description); - new QListViewItem(lBox, cpustring); + new TQListViewItem(lBox, cpustring); } return true; } return false; } -bool GetInfo_IRQ (QListView *) +bool GetInfo_IRQ (TQListView *) { return false; } -bool GetInfo_DMA (QListView *) +bool GetInfo_DMA (TQListView *) { return false; } -bool GetInfo_PCI (QListView *) +bool GetInfo_PCI (TQListView *) { return false; } -bool GetInfo_IO_Ports (QListView *) +bool GetInfo_IO_Ports (TQListView *) { return false; } -bool GetInfo_Sound (QListView *lBox) +bool GetInfo_Sound (TQListView *lBox) { #ifdef HAVE_COREAUDIO #define kMaxStringSize 1024 @@ -137,7 +137,7 @@ bool GetInfo_Sound (QListView *lBox) kdDebug() << "get device name failed, status = " << (int)status << endl; return false; } - new QListViewItem(lBox, i18n("Device Name: %1").arg(deviceName)); + new TQListViewItem(lBox, i18n("Device Name: %1").arg(deviceName)); /* Manufacturer */ status = AudioDeviceGetProperty(gOutputDeviceID, 1, 0, kAudioDevicePropertyDeviceManufacturer, &propertySize, manufacturer); @@ -145,7 +145,7 @@ bool GetInfo_Sound (QListView *lBox) kdDebug() << "get manufacturer failed, status = " << (int)status << endl; return false; } - new QListViewItem(lBox, i18n("Manufacturer: %1").arg(manufacturer)); + new TQListViewItem(lBox, i18n("Manufacturer: %1").arg(manufacturer)); return true; } else { return false; @@ -155,22 +155,22 @@ bool GetInfo_Sound (QListView *lBox) #endif } -bool GetInfo_SCSI (QListView *lbox) +bool GetInfo_SCSI (TQListView *lbox) { return false; } -bool GetInfo_Partitions (QListView *lbox) +bool GetInfo_Partitions (TQListView *lbox) { return false; } -bool GetInfo_XServer_and_Video (QListView *lBox) +bool GetInfo_XServer_and_Video (TQListView *lBox) { return GetInfo_XServer_Generic( lBox ); } -bool GetInfo_Devices (QListView *lbox) +bool GetInfo_Devices (TQListView *lbox) { return false; } -- cgit v1.2.1