summaryrefslogtreecommitdiffstats
path: root/kcontrol/info/memory_linux.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/info/memory_linux.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/info/memory_linux.cpp')
-rw-r--r--kcontrol/info/memory_linux.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/info/memory_linux.cpp b/kcontrol/info/memory_linux.cpp
index c393c01e7..175b2a617 100644
--- a/kcontrol/info/memory_linux.cpp
+++ b/kcontrol/info/memory_linux.cpp
@@ -1,7 +1,7 @@
#include <sys/sysinfo.h>
#include <unistd.h>
#include <stdlib.h>
-#include <qfile.h>
+#include <tqfile.h>
void KMemoryWidget::update()
{
@@ -23,7 +23,7 @@ void KMemoryWidget::update()
Memory_Info[SWAP_MEM] = MEMORY(info.totalswap) * mem_unit; // total size of all swap-partitions
Memory_Info[FREESWAP_MEM] = MEMORY(info.freeswap) * mem_unit; // free memory in swap-partitions
- QFile file("/proc/meminfo");
+ TQFile file("/proc/meminfo");
if (file.open(IO_ReadOnly)) {
char buf[512];
while (file.readLine(buf, sizeof(buf) - 1) > 0) {