summaryrefslogtreecommitdiffstats
path: root/kpf/src/ActiveMonitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpf/src/ActiveMonitor.cpp')
-rw-r--r--kpf/src/ActiveMonitor.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/kpf/src/ActiveMonitor.cpp b/kpf/src/ActiveMonitor.cpp
index 8bd0c34a..5a11848d 100644
--- a/kpf/src/ActiveMonitor.cpp
+++ b/kpf/src/ActiveMonitor.cpp
@@ -21,7 +21,7 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kiconloader.h>
#include <klocale.h>
@@ -38,16 +38,16 @@ namespace KPF
ActiveMonitor::ActiveMonitor
(
WebServer * server,
- QWidget * parent,
+ TQWidget * parent,
const char * name
)
- : QWidget (parent, name),
+ : TQWidget (parent, name),
server_ (server)
{
- view_ = new QListView(this);
+ view_ = new TQListView(this);
view_->setAllColumnsShowFocus(true);
- view_->setSelectionMode(QListView::Extended);
+ view_->setSelectionMode(TQListView::Extended);
view_->addColumn(i18n("Status"));
view_->addColumn(i18n("Progress"));
@@ -57,36 +57,36 @@ namespace KPF
view_->addColumn(i18n("Resource"));
view_->addColumn(i18n("Host"));
- QVBoxLayout * layout = new QVBoxLayout(this);
+ TQVBoxLayout * layout = new TQVBoxLayout(this);
layout->addWidget(view_);
connect
(
view_,
- SIGNAL(selectionChanged()),
- SLOT(slotSelectionChanged())
+ TQT_SIGNAL(selectionChanged()),
+ TQT_SLOT(slotSelectionChanged())
);
connect
(
server_,
- SIGNAL(connection(Server *)),
- SLOT(slotConnection(Server *))
+ TQT_SIGNAL(connection(Server *)),
+ TQT_SLOT(slotConnection(Server *))
);
connect
(
server_,
- SIGNAL(output(Server *, ulong)),
- SLOT(slotOutput(Server *, ulong))
+ TQT_SIGNAL(output(Server *, ulong)),
+ TQT_SLOT(slotOutput(Server *, ulong))
);
- connect(server_, SIGNAL(finished(Server *)), SLOT(slotFinished(Server *)));
- connect(server_, SIGNAL(request(Server *)), SLOT(slotRequest(Server *)));
- connect(server_, SIGNAL(response(Server *)), SLOT(slotResponse(Server *)));
+ connect(server_, TQT_SIGNAL(finished(Server *)), TQT_SLOT(slotFinished(Server *)));
+ connect(server_, TQT_SIGNAL(request(Server *)), TQT_SLOT(slotRequest(Server *)));
+ connect(server_, TQT_SIGNAL(response(Server *)), TQT_SLOT(slotResponse(Server *)));
- connect(&cullTimer_, SIGNAL(timeout()), SLOT(slotCull()));
+ connect(&cullTimer_, TQT_SIGNAL(timeout()), TQT_SLOT(slotCull()));
cullTimer_.start(1000);
@@ -146,9 +146,9 @@ namespace KPF
void
ActiveMonitor::slotCull()
{
- QDateTime dt = QDateTime::currentDateTime();
+ TQDateTime dt = TQDateTime::currentDateTime();
- QListViewItemIterator it(view_);
+ TQListViewItemIterator it(view_);
for (; it.current(); ++it)
{
@@ -165,7 +165,7 @@ namespace KPF
void
ActiveMonitor::slotSelectionChanged()
{
- for (QListViewItemIterator it(view_); it.current(); ++it)
+ for (TQListViewItemIterator it(view_); it.current(); ++it)
{
ActiveMonitorItem * i = static_cast<ActiveMonitorItem *>(it.current());
@@ -189,7 +189,7 @@ namespace KPF
void
ActiveMonitor::slotKillSelected()
{
- for (QListViewItemIterator it(view_); it.current(); ++it)
+ for (TQListViewItemIterator it(view_); it.current(); ++it)
{
ActiveMonitorItem * i = static_cast<ActiveMonitorItem *>(it.current());
@@ -214,9 +214,9 @@ namespace KPF
}
void
- ActiveMonitor::closeEvent(QCloseEvent * e)
+ ActiveMonitor::closeEvent(TQCloseEvent * e)
{
- QWidget::closeEvent(e);
+ TQWidget::closeEvent(e);
emit(dying(this));
}