summaryrefslogtreecommitdiffstats
path: root/kpf/src/ActiveMonitorItem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kpf/src/ActiveMonitorItem.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpf/src/ActiveMonitorItem.cpp')
-rw-r--r--kpf/src/ActiveMonitorItem.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kpf/src/ActiveMonitorItem.cpp b/kpf/src/ActiveMonitorItem.cpp
index 1cc8fdcb..6721080e 100644
--- a/kpf/src/ActiveMonitorItem.cpp
+++ b/kpf/src/ActiveMonitorItem.cpp
@@ -21,7 +21,7 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <qpainter.h>
+#include <tqpainter.h>
#include <kiconloader.h>
#include "Defines.h"
@@ -31,8 +31,8 @@
namespace KPF
{
- ActiveMonitorItem::ActiveMonitorItem(Server * server, QListView * parent)
- : QListViewItem (parent),
+ ActiveMonitorItem::ActiveMonitorItem(Server * server, TQListView * parent)
+ : TQListViewItem (parent),
server_ (server),
size_ (0),
sent_ (0)
@@ -54,8 +54,8 @@ namespace KPF
void
ActiveMonitorItem::paintCell
(
- QPainter * p,
- const QColorGroup & g,
+ TQPainter * p,
+ const TQColorGroup & g,
int c,
int w,
int a
@@ -63,7 +63,7 @@ namespace KPF
{
if (c != Progress)
{
- QListViewItem::paintCell(p, g, c, w, a);
+ TQListViewItem::paintCell(p, g, c, w, a);
return;
}
@@ -86,8 +86,8 @@ namespace KPF
int
ActiveMonitorItem::width
(
- const QFontMetrics & fm,
- const QListView * lv,
+ const TQFontMetrics & fm,
+ const TQListView * lv,
int c
) const
{
@@ -102,7 +102,7 @@ namespace KPF
break;
default:
- return QListViewItem::width(fm, lv, c);
+ return TQListViewItem::width(fm, lv, c);
break;
}
}
@@ -164,7 +164,7 @@ namespace KPF
size_ = server_->response().size();
- setText(Size, QString::number(size_));
+ setText(Size, TQString::number(size_));
updateState();
}
@@ -176,7 +176,7 @@ namespace KPF
if (0 != server_)
{
sent_ += l;
- setText(Sent, QString::number(sent_));
+ setText(Sent, TQString::number(sent_));
updateState();
repaint();
}