summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitors/filesystem')
-rw-r--r--ksim/monitors/filesystem/filesystemstats.cpp16
-rw-r--r--ksim/monitors/filesystem/filesystemstats.h14
-rw-r--r--ksim/monitors/filesystem/filesystemwidget.cpp68
-rw-r--r--ksim/monitors/filesystem/filesystemwidget.h28
-rw-r--r--ksim/monitors/filesystem/fsystemconfig.cpp66
-rw-r--r--ksim/monitors/filesystem/fsystemconfig.h12
-rw-r--r--ksim/monitors/filesystem/ksimfsystem.cpp32
-rw-r--r--ksim/monitors/filesystem/ksimfsystem.h6
8 files changed, 121 insertions, 121 deletions
diff --git a/ksim/monitors/filesystem/filesystemstats.cpp b/ksim/monitors/filesystem/filesystemstats.cpp
index eeb5c62..1aa156d 100644
--- a/ksim/monitors/filesystem/filesystemstats.cpp
+++ b/ksim/monitors/filesystem/filesystemstats.cpp
@@ -19,9 +19,9 @@
#include "filesystemstats.h"
-#include <qglobal.h>
-#include <qfile.h>
-#include <qstringlist.h>
+#include <tqglobal.h>
+#include <tqfile.h>
+#include <tqstringlist.h>
#include <kdebug.h>
@@ -184,16 +184,16 @@ FilesystemStats::List FilesystemStats::readEntries()
#endif
#ifdef USE_FAILSAFE
- QFile file( QString::fromLatin1( _PATH_MOUNTED ) );
+ TQFile file( TQString::fromLatin1( _PATH_MOUNTED ) );
if ( !file.open( IO_ReadOnly ) )
return list;
- QTextStream stream( &file );
+ TQTextStream stream( &file );
while ( !stream.atEnd() )
{
- QStringList line = QStringList::split( " ", stream.readLine() );
+ TQStringList line = TQStringList::split( " ", stream.readLine() );
Entry entry;
entry.dir = line[1].stripWhiteSpace();
@@ -206,10 +206,10 @@ FilesystemStats::List FilesystemStats::readEntries()
return list;
}
-bool FilesystemStats::readStats( const QString & mntPoint, int & totalBlocks, int & freeBlocks )
+bool FilesystemStats::readStats( const TQString & mntPoint, int & totalBlocks, int & freeBlocks )
{
ksim_statfs sysStats;
- if ( fsystemStats( QFile::encodeName( mntPoint ).data(), sysStats ) < 0 )
+ if ( fsystemStats( TQFile::encodeName( mntPoint ).data(), sysStats ) < 0 )
{
kdError() << "While reading filesystem information for " << mntPoint << endl;
totalBlocks = 0;
diff --git a/ksim/monitors/filesystem/filesystemstats.h b/ksim/monitors/filesystem/filesystemstats.h
index 3ea8f74..51f2f7b 100644
--- a/ksim/monitors/filesystem/filesystemstats.h
+++ b/ksim/monitors/filesystem/filesystemstats.h
@@ -20,21 +20,21 @@
#ifndef FILESYSTEMSTATS_H
#define FILESYSTEMSTATS_H
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
namespace FilesystemStats
{
struct Entry
{
- QString dir;
- QString fsname;
- QString type;
+ TQString dir;
+ TQString fsname;
+ TQString type;
};
- typedef QValueList<Entry> List;
+ typedef TQValueList<Entry> List;
List readEntries();
- bool readStats( const QString &, int &, int & );
+ bool readStats( const TQString &, int &, int & );
}
#endif
diff --git a/ksim/monitors/filesystem/filesystemwidget.cpp b/ksim/monitors/filesystem/filesystemwidget.cpp
index 0428ee3..aca7694 100644
--- a/ksim/monitors/filesystem/filesystemwidget.cpp
+++ b/ksim/monitors/filesystem/filesystemwidget.cpp
@@ -21,10 +21,10 @@
#include <pluginmodule.h>
-#include <qlayout.h>
-#include <qpopupmenu.h>
-#include <qregexp.h>
-#include <qcursor.h>
+#include <tqlayout.h>
+#include <tqpopupmenu.h>
+#include <tqregexp.h>
+#include <tqcursor.h>
#include <kprocess.h>
#include <kmessagebox.h>
@@ -38,7 +38,7 @@ FilesystemWidget::Filesystem::Filesystem()
}
FilesystemWidget::Filesystem::Filesystem(KSim::Progress *display,
- const QString &point)
+ const TQString &point)
{
m_display = display;
m_mountPoint = point;
@@ -54,12 +54,12 @@ KSim::Progress *FilesystemWidget::Filesystem::display() const
return m_display;
}
-const QString &FilesystemWidget::Filesystem::mountPoint() const
+const TQString &FilesystemWidget::Filesystem::mountPoint() const
{
return m_mountPoint;
}
-const QString &FilesystemWidget::Filesystem::text() const
+const TQString &FilesystemWidget::Filesystem::text() const
{
return m_display->text();
}
@@ -69,7 +69,7 @@ int FilesystemWidget::Filesystem::value() const
return m_display->value();
}
-void FilesystemWidget::Filesystem::setText(const QString &text)
+void FilesystemWidget::Filesystem::setText(const TQString &text)
{
if (!m_display)
return;
@@ -85,11 +85,11 @@ void FilesystemWidget::Filesystem::setValue(int value)
m_display->setValue(value);
}
-FilesystemWidget::FilesystemWidget(QWidget *parent, const char *name)
- : QWidget(parent, name)
+FilesystemWidget::FilesystemWidget(TQWidget *parent, const char *name)
+ : TQWidget(parent, name)
{
m_list.setAutoDelete(true);
- m_layout = new QVBoxLayout(this);
+ m_layout = new TQVBoxLayout(this);
m_process = 0;
}
@@ -98,7 +98,7 @@ FilesystemWidget::~FilesystemWidget()
delete m_process;
}
-void FilesystemWidget::append(int max, const QString &mountPoint)
+void FilesystemWidget::append(int max, const TQString &mountPoint)
{
KSim::Progress *progress = new KSim::Progress(max, this);
progress->installEventFilter(this);
@@ -108,7 +108,7 @@ void FilesystemWidget::append(int max, const QString &mountPoint)
m_list.append(new Filesystem(progress, mountPoint));
}
-void FilesystemWidget::setText(uint id, const QString &text)
+void FilesystemWidget::setText(uint id, const TQString &text)
{
if (id > m_list.count())
return;
@@ -129,14 +129,14 @@ void FilesystemWidget::clear()
m_list.clear();
}
-bool FilesystemWidget::eventFilter(QObject *o, QEvent *e)
+bool FilesystemWidget::eventFilter(TQObject *o, TQEvent *e)
{
if (!o->isA("KSim::Progress"))
- return QWidget::eventFilter(o, e);
+ return TQWidget::eventFilter(o, e);
KSim::Progress *progressBar = 0;
int i = 0;
- QPtrListIterator<Filesystem> it(m_list);
+ TQPtrListIterator<Filesystem> it(m_list);
Filesystem *filesystem;
while ((filesystem = it.current()) != 0) {
++it;
@@ -149,15 +149,15 @@ bool FilesystemWidget::eventFilter(QObject *o, QEvent *e)
++i;
}
- if (o == progressBar && e->type() == QEvent::MouseButtonPress)
+ if (o == progressBar && e->type() == TQEvent::MouseButtonPress)
{
- switch(static_cast<QMouseEvent *>(e)->button()) {
- case QMouseEvent::RightButton:
+ switch(static_cast<TQMouseEvent *>(e)->button()) {
+ case TQMouseEvent::RightButton:
showMenu(i);
break;
default:
break;
- case QMouseEvent::LeftButton:
+ case TQMouseEvent::LeftButton:
if (parentWidget()->inherits("KSim::PluginView"))
static_cast<KSim::PluginView *>(parentWidget())->doCommand();
break;
@@ -166,7 +166,7 @@ bool FilesystemWidget::eventFilter(QObject *o, QEvent *e)
return true;
}
- return QWidget::eventFilter(o, e);
+ return TQWidget::eventFilter(o, e);
}
void FilesystemWidget::receivedStderr(KProcess *, char *buffer, int length)
@@ -183,28 +183,28 @@ void FilesystemWidget::processExited(KProcess *)
if (m_stderrString.isEmpty())
return;
- QStringList errorList = QStringList::split("\n", m_stderrString);
- QString message = i18n("<qt>The following errors occurred:<ul>");
+ TQStringList errorList = TQStringList::split("\n", m_stderrString);
+ TQString message = i18n("<qt>The following errors occurred:<ul>");
- QStringList::Iterator it;
+ TQStringList::Iterator it;
for (it = errorList.begin(); it != errorList.end(); ++it) {
- message += QString::fromLatin1("<li>%1</li>")
- .arg((*it).replace(QRegExp("[u]?mount: "), QString::null));
+ message += TQString::fromLatin1("<li>%1</li>")
+ .arg((*it).replace(TQRegExp("[u]?mount: "), TQString::null));
}
- message += QString::fromLatin1("</ul></qt>");
+ message += TQString::fromLatin1("</ul></qt>");
KMessageBox::sorry(0, message);
}
-void FilesystemWidget::createProcess(const QString &command, const QString &point)
+void FilesystemWidget::createProcess(const TQString &command, const TQString &point)
{
m_process = new KProcess();
connect(m_process,
- SIGNAL(receivedStderr(KProcess *, char *, int)),
- SLOT(receivedStderr(KProcess *, char *, int)));
+ TQT_SIGNAL(receivedStderr(KProcess *, char *, int)),
+ TQT_SLOT(receivedStderr(KProcess *, char *, int)));
connect(m_process,
- SIGNAL(processExited(KProcess *)),
- SLOT(processExited(KProcess *)));
+ TQT_SIGNAL(processExited(KProcess *)),
+ TQT_SLOT(processExited(KProcess *)));
(*m_process) << command << point;
void(m_process->start(KProcess::NotifyOnExit, KProcess::Stderr));
@@ -215,11 +215,11 @@ void FilesystemWidget::showMenu(uint id)
if (id > m_list.count())
return;
- QPopupMenu menu;
+ TQPopupMenu menu;
menu.insertItem(SmallIcon("hdd_mount"), i18n("&Mount Device"), 1);
menu.insertItem(SmallIcon("hdd_unmount"), i18n("&Unmount Device"), 2);
- switch (menu.exec(QCursor::pos())) {
+ switch (menu.exec(TQCursor::pos())) {
case 1:
createProcess("mount", m_list.at(id)->mountPoint());
break;
diff --git a/ksim/monitors/filesystem/filesystemwidget.h b/ksim/monitors/filesystem/filesystemwidget.h
index d169b9a..143010a 100644
--- a/ksim/monitors/filesystem/filesystemwidget.h
+++ b/ksim/monitors/filesystem/filesystemwidget.h
@@ -22,7 +22,7 @@
#include <progress.h>
-#include <qptrlist.h>
+#include <tqptrlist.h>
class KProcess;
class QVBoxLayout;
@@ -31,16 +31,16 @@ class FilesystemWidget : public QWidget
{
Q_OBJECT
public:
- FilesystemWidget(QWidget *parent, const char *name);
+ FilesystemWidget(TQWidget *parent, const char *name);
~FilesystemWidget();
- void append(int, const QString &);
- void setText(uint, const QString &);
+ void append(int, const TQString &);
+ void setText(uint, const TQString &);
void setValue(uint, int);
void clear();
protected:
- bool eventFilter(QObject *, QEvent *);
+ bool eventFilter(TQObject *, TQEvent *);
private slots:
void receivedStderr(KProcess *, char *, int);
@@ -51,28 +51,28 @@ class FilesystemWidget : public QWidget
{
public:
Filesystem();
- Filesystem(KSim::Progress *, const QString &);
+ Filesystem(KSim::Progress *, const TQString &);
~Filesystem();
KSim::Progress *display() const;
- const QString &mountPoint() const;
- const QString &text() const;
+ const TQString &mountPoint() const;
+ const TQString &text() const;
int value() const;
- void setText(const QString &);
+ void setText(const TQString &);
void setValue(int);
- QString m_mountPoint;
+ TQString m_mountPoint;
KSim::Progress *m_display;
};
- void createProcess(const QString &, const QString &);
+ void createProcess(const TQString &, const TQString &);
void showMenu(uint);
- typedef QPtrList<Filesystem> ProgressList;
+ typedef TQPtrList<Filesystem> ProgressList;
ProgressList m_list;
- QVBoxLayout *m_layout;
+ TQVBoxLayout *m_layout;
KProcess *m_process;
- QString m_stderrString;
+ TQString m_stderrString;
};
#endif
diff --git a/ksim/monitors/filesystem/fsystemconfig.cpp b/ksim/monitors/filesystem/fsystemconfig.cpp
index 9b07ee4..67026d1 100644
--- a/ksim/monitors/filesystem/fsystemconfig.cpp
+++ b/ksim/monitors/filesystem/fsystemconfig.cpp
@@ -28,18 +28,18 @@
#include <knuminput.h>
#include <kdebug.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qlabel.h>
-#include <qwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqtooltip.h>
+#include <tqlabel.h>
+#include <tqwhatsthis.h>
class FSysViewItem : public QCheckListItem
{
public:
- FSysViewItem(QListView *parent, const QString &text1,
- const QString &text2, const QString &text3)
- : QCheckListItem(parent, text1, CheckBox)
+ FSysViewItem(TQListView *parent, const TQString &text1,
+ const TQString &text2, const TQString &text3)
+ : TQCheckListItem(parent, text1, CheckBox)
{
setText(1, text2);
setText(2, text3);
@@ -49,7 +49,7 @@ class FSysViewItem : public QCheckListItem
FsystemConfig::FsystemConfig(KSim::PluginObject *parent, const char *name)
: KSim::PluginPage(parent, name)
{
- m_mainLayout = new QGridLayout(this);
+ m_mainLayout = new TQGridLayout(this);
m_mainLayout->setSpacing(6);
m_availableMounts = new KListView(this);
@@ -58,32 +58,32 @@ FsystemConfig::FsystemConfig(KSim::PluginObject *parent, const char *name)
m_availableMounts->addColumn(i18n("Type"));
m_mainLayout->addMultiCellWidget(m_availableMounts, 0, 0, 0, 3);
- m_showPercentage = new QCheckBox(this);
+ m_showPercentage = new TQCheckBox(this);
m_showPercentage->setText(i18n("Show percentage"));
m_mainLayout->addMultiCellWidget(m_showPercentage, 1, 1, 0, 3);
- m_splitNames = new QCheckBox(this);
+ m_splitNames = new TQCheckBox(this);
m_splitNames->setText(i18n("Display short mount point names"));
- QWhatsThis::add(m_splitNames, i18n("This option shortens the text"
+ TQWhatsThis::add(m_splitNames, i18n("This option shortens the text"
" to shrink down a mount point. E.G: a mount point /home/myuser"
" would become myuser."));
m_mainLayout->addMultiCellWidget(m_splitNames, 2, 2, 0, 3);
- m_intervalLabel = new QLabel(this);
+ m_intervalLabel = new TQLabel(this);
m_intervalLabel->setText( i18n("Update interval:"));
- m_intervalLabel->setSizePolicy(QSizePolicy(QSizePolicy::Fixed,
- QSizePolicy::Fixed));
+ m_intervalLabel->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed,
+ TQSizePolicy::Fixed));
m_mainLayout->addMultiCellWidget(m_intervalLabel, 3, 3, 0, 0);
m_updateTimer = new KIntSpinBox(this);
m_updateTimer->setValue(60);
- QToolTip::add(m_updateTimer, i18n("0 means no update"));
+ TQToolTip::add(m_updateTimer, i18n("0 means no update"));
m_mainLayout->addMultiCellWidget(m_updateTimer, 3, 3, 1, 1);
- QLabel *intervalLabel = new QLabel(this);
+ TQLabel *intervalLabel = new TQLabel(this);
intervalLabel->setText(i18n("seconds"));
- intervalLabel->setSizePolicy(QSizePolicy(QSizePolicy::Fixed,
- QSizePolicy::Fixed));
+ intervalLabel->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed,
+ TQSizePolicy::Fixed));
m_mainLayout->addMultiCellWidget(intervalLabel, 3, 3, 2, 2);
m_entries = FilesystemStats::readEntries();
@@ -104,10 +104,10 @@ void FsystemConfig::readConfig()
if (!m_availableMounts->childCount())
return;
- QStringList list = config()->readListEntry("mountEntries");
- for (QListViewItemIterator it(m_availableMounts); it.current(); ++it) {
- QString string = it.current()->text(0) + ":" + splitString(it.current()->text(0));
- static_cast<QCheckListItem *>(it.current())->setOn(list.contains(string) > 0);
+ TQStringList list = config()->readListEntry("mountEntries");
+ for (TQListViewItemIterator it(m_availableMounts); it.current(); ++it) {
+ TQString string = it.current()->text(0) + ":" + splitString(it.current()->text(0));
+ static_cast<TQCheckListItem *>(it.current())->setOn(list.contains(string) > 0);
}
}
@@ -118,16 +118,16 @@ void FsystemConfig::saveConfig()
config()->writeEntry("updateValue", m_updateTimer->value());
config()->writeEntry("ShortenEntries", m_splitNames->isChecked());
- QStringList list;
- for (QListViewItemIterator it(m_availableMounts); it.current(); ++it) {
- if (static_cast<QCheckListItem *>(it.current())->isOn())
+ TQStringList list;
+ for (TQListViewItemIterator it(m_availableMounts); it.current(); ++it) {
+ if (static_cast<TQCheckListItem *>(it.current())->isOn())
list.append(it.current()->text(0) + ":" + splitString(it.current()->text(0)));
}
config()->writeEntry("mountEntries", list);
}
-void FsystemConfig::showEvent(QShowEvent *)
+void FsystemConfig::showEvent(TQShowEvent *)
{
// FIXME: Maybe this is the slow method of doing this?
// Eitherway, i need to find a way to only update the list
@@ -166,19 +166,19 @@ void FsystemConfig::getStats()
return;
config()->setGroup("Fsystem");
- QStringList list = config()->readListEntry("mountEntries");
- for (QListViewItemIterator it(m_availableMounts); it.current(); ++it) {
- QString string = it.current()->text(0) + ":" + splitString(it.current()->text(0));
- static_cast<QCheckListItem *>(it.current())->setOn(list.contains(string) > 0);
+ TQStringList list = config()->readListEntry("mountEntries");
+ for (TQListViewItemIterator it(m_availableMounts); it.current(); ++it) {
+ TQString string = it.current()->text(0) + ":" + splitString(it.current()->text(0));
+ static_cast<TQCheckListItem *>(it.current())->setOn(list.contains(string) > 0);
}
}
-QString FsystemConfig::splitString(const QString &string) const
+TQString FsystemConfig::splitString(const TQString &string) const
{
if (string == "/" || !m_splitNames->isChecked())
return string;
int location = string.findRev("/");
- QString newString(string);
+ TQString newString(string);
return newString.remove(0, location + 1);
}
diff --git a/ksim/monitors/filesystem/fsystemconfig.h b/ksim/monitors/filesystem/fsystemconfig.h
index 353dcf8..7e17e79 100644
--- a/ksim/monitors/filesystem/fsystemconfig.h
+++ b/ksim/monitors/filesystem/fsystemconfig.h
@@ -41,18 +41,18 @@ class FsystemConfig : public KSim::PluginPage
virtual void readConfig();
protected:
- void showEvent(QShowEvent *);
+ void showEvent(TQShowEvent *);
private:
void getStats();
- QString splitString(const QString &string) const;
+ TQString splitString(const TQString &string) const;
- QCheckBox *m_showPercentage;
- QCheckBox *m_splitNames;
- QLabel *m_intervalLabel;
+ TQCheckBox *m_showPercentage;
+ TQCheckBox *m_splitNames;
+ TQLabel *m_intervalLabel;
KIntSpinBox *m_updateTimer;
KListView *m_availableMounts;
- QGridLayout *m_mainLayout;
+ TQGridLayout *m_mainLayout;
FilesystemStats::List m_entries;
};
#endif // FILESYSTEM_H
diff --git a/ksim/monitors/filesystem/ksimfsystem.cpp b/ksim/monitors/filesystem/ksimfsystem.cpp
index 3303f6d..039447a 100644
--- a/ksim/monitors/filesystem/ksimfsystem.cpp
+++ b/ksim/monitors/filesystem/ksimfsystem.cpp
@@ -21,11 +21,11 @@
#include <config.h>
-#include <qlayout.h>
-#include <qvaluelist.h>
-#include <qtimer.h>
-#include <qfile.h>
-#include <qregexp.h>
+#include <tqlayout.h>
+#include <tqvaluelist.h>
+#include <tqtimer.h>
+#include <tqfile.h>
+#include <tqregexp.h>
#include <kdebug.h>
#include <klocale.h>
@@ -64,7 +64,7 @@ KSim::PluginPage *PluginModule::createConfigPage(const char *className)
void PluginModule::showAbout()
{
- QString version = kapp->aboutData()->version();
+ TQString version = kapp->aboutData()->version();
KAboutData aboutData(instanceName(),
I18N_NOOP("KSim FileSystem Plugin"), version.latin1(),
@@ -86,10 +86,10 @@ Fsystem::Fsystem(KSim::PluginObject *parent, const char *name)
KSim::PluginView(parent, name)
{
config()->setGroup("Fsystem");
- QVBoxLayout *vbLayout = new QVBoxLayout(this);
+ TQVBoxLayout *vbLayout = new TQVBoxLayout(this);
vbLayout->setAutoAdd(true);
- QSpacerItem *item = new QSpacerItem(0, 0, QSizePolicy::Expanding, QSizePolicy::Expanding);
+ TQSpacerItem *item = new TQSpacerItem(0, 0, TQSizePolicy::Expanding, TQSizePolicy::Expanding);
vbLayout->addItem(item);
m_mountEntries = makeList(config()->readListEntry("mountEntries"));
@@ -99,8 +99,8 @@ Fsystem::Fsystem(KSim::PluginObject *parent, const char *name)
createFreeInfo();
- m_updateTimer = new QTimer(this);
- connect(m_updateTimer, SIGNAL(timeout()), SLOT(updateFS()));
+ m_updateTimer = new TQTimer(this);
+ connect(m_updateTimer, TQT_SIGNAL(timeout()), TQT_SLOT(updateFS()));
m_updateTimer->start(config()->readNumEntry("updateValue", 60) * 1000);
}
@@ -155,7 +155,7 @@ void Fsystem::createFreeInfo()
m_widget->setValue(i, total - free);
if (m_showPercentage)
m_widget->setText(i, ((*it).second.isEmpty() ? (*it).first : (*it).second)
- + " - " + QString::number(percent) + "%");
+ + " - " + TQString::number(percent) + "%");
else
m_widget->setText(i, ((*it).second.isEmpty() ? (*it).first : (*it).second));
i++;
@@ -179,20 +179,20 @@ void Fsystem::updateFS()
m_widget->setValue(i, total - free);
if (m_showPercentage)
m_widget->setText(i, ((*it).second.isEmpty() ? (*it).first : (*it).second)
- + " - " + QString::number(percent) + "%");
+ + " - " + TQString::number(percent) + "%");
else
m_widget->setText(i, ((*it).second.isEmpty() ? (*it).first : (*it).second));
i++;
}
}
-Fsystem::MountEntryList Fsystem::makeList(const QStringList &list) const
+Fsystem::MountEntryList Fsystem::makeList(const TQStringList &list) const
{
MountEntryList newList;
- QStringList splitList;
- QStringList::ConstIterator it;
+ TQStringList splitList;
+ TQStringList::ConstIterator it;
for (it = list.begin(); it != list.end(); ++it) {
- splitList = QStringList::split(":", (*it));
+ splitList = TQStringList::split(":", (*it));
newList.append(qMakePair(splitList[0], splitList[1]));
}
diff --git a/ksim/monitors/filesystem/ksimfsystem.h b/ksim/monitors/filesystem/ksimfsystem.h
index c3d403f..8c95fde 100644
--- a/ksim/monitors/filesystem/ksimfsystem.h
+++ b/ksim/monitors/filesystem/ksimfsystem.h
@@ -65,11 +65,11 @@ class Fsystem : public KSim::PluginView, public FsystemIface
void updateFS();
private:
- typedef QValueList<QPair<QString, QString> > MountEntryList;
- MountEntryList makeList(const QStringList &list) const;
+ typedef TQValueList<QPair<TQString, TQString> > MountEntryList;
+ MountEntryList makeList(const TQStringList &list) const;
FilesystemWidget *m_widget;
- QTimer *m_updateTimer;
+ TQTimer *m_updateTimer;
MountEntryList m_mountEntries;
bool m_showPercentage;
};