summaryrefslogtreecommitdiffstats
path: root/kcontrol/info/memory_linux.cpp
diff options
context:
space:
mode:
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) {