From aef5eada7f51ee48f3d21448db290bd8f06953a8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 24 Jan 2013 13:50:20 -0600 Subject: Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4 --- ksim/monitors/filesystem/filesystemwidget.cpp | 18 +++++++++--------- ksim/monitors/filesystem/filesystemwidget.h | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'ksim/monitors/filesystem') diff --git a/ksim/monitors/filesystem/filesystemwidget.cpp b/ksim/monitors/filesystem/filesystemwidget.cpp index 7286e0f..b7ded52 100644 --- a/ksim/monitors/filesystem/filesystemwidget.cpp +++ b/ksim/monitors/filesystem/filesystemwidget.cpp @@ -169,16 +169,16 @@ bool FilesystemWidget::eventFilter(TQObject *o, TQEvent *e) return TQWidget::eventFilter(o, e); } -void FilesystemWidget::receivedStderr(KProcess *, char *buffer, int length) +void FilesystemWidget::receivedStderr(TDEProcess *, char *buffer, int length) { m_stderrString.setLatin1(buffer, length); } -void FilesystemWidget::processExited(KProcess *) +void FilesystemWidget::processExited(TDEProcess *) { delete m_process; m_process = 0; - kdDebug(2003) << "Deleting KProcess pointer" << endl; + kdDebug(2003) << "Deleting TDEProcess pointer" << endl; if (m_stderrString.isEmpty()) return; @@ -198,16 +198,16 @@ void FilesystemWidget::processExited(KProcess *) void FilesystemWidget::createProcess(const TQString &command, const TQString &point) { - m_process = new KProcess(); + m_process = new TDEProcess(); connect(m_process, - TQT_SIGNAL(receivedStderr(KProcess *, char *, int)), - TQT_SLOT(receivedStderr(KProcess *, char *, int))); + TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), + TQT_SLOT(receivedStderr(TDEProcess *, char *, int))); connect(m_process, - TQT_SIGNAL(processExited(KProcess *)), - TQT_SLOT(processExited(KProcess *))); + TQT_SIGNAL(processExited(TDEProcess *)), + TQT_SLOT(processExited(TDEProcess *))); (*m_process) << command << point; - void(m_process->start(KProcess::NotifyOnExit, KProcess::Stderr)); + void(m_process->start(TDEProcess::NotifyOnExit, TDEProcess::Stderr)); } void FilesystemWidget::showMenu(uint id) diff --git a/ksim/monitors/filesystem/filesystemwidget.h b/ksim/monitors/filesystem/filesystemwidget.h index 9cd3f61..2a8f116 100644 --- a/ksim/monitors/filesystem/filesystemwidget.h +++ b/ksim/monitors/filesystem/filesystemwidget.h @@ -24,7 +24,7 @@ #include -class KProcess; +class TDEProcess; class TQVBoxLayout; class FilesystemWidget : public TQWidget @@ -44,8 +44,8 @@ class FilesystemWidget : public TQWidget bool eventFilter(TQObject *, TQEvent *); private slots: - void receivedStderr(KProcess *, char *, int); - void processExited(KProcess *); + void receivedStderr(TDEProcess *, char *, int); + void processExited(TDEProcess *); private: class Filesystem @@ -73,7 +73,7 @@ class FilesystemWidget : public TQWidget typedef TQPtrList ProgressList; ProgressList m_list; TQVBoxLayout *m_layout; - KProcess *m_process; + TDEProcess *m_process; TQString m_stderrString; }; #endif -- cgit v1.2.1