summaryrefslogtreecommitdiffstats
path: root/kppp/docking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/docking.cpp')
-rw-r--r--kppp/docking.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kppp/docking.cpp b/kppp/docking.cpp
index d3f449a1..e5cd0c5e 100644
--- a/kppp/docking.cpp
+++ b/kppp/docking.cpp
@@ -38,7 +38,7 @@ extern KPPPWidget *p_kppp;
// static member
DockWidget *DockWidget::dock_widget = 0;
-DockWidget::DockWidget(QWidget *parent, const char *name, PPPStats *st)
+DockWidget::DockWidget(TQWidget *parent, const char *name, PPPStats *st)
: KSystemTray(parent, name), stats(st) {
// load pixmaps
@@ -50,12 +50,12 @@ DockWidget::DockWidget(QWidget *parent, const char *name, PPPStats *st)
// popup menu for right mouse button
popup_m = contextMenu();
toggleID = popup_m->insertItem(i18n("Restore"),
- this, SLOT(toggle_window_state()));
- popup_m->insertItem(i18n("Details"), p_kppp, SLOT(showStats()));
+ this, TQT_SLOT(toggle_window_state()));
+ popup_m->insertItem(i18n("Details"), p_kppp, TQT_SLOT(showStats()));
popup_m->insertSeparator();
- popup_m->insertItem(i18n("Disconnect"), p_kppp, SLOT(disconnect()));
+ popup_m->insertItem(i18n("Disconnect"), p_kppp, TQT_SLOT(disconnect()));
// connect to stats for little modem animation
- connect(stats, SIGNAL(statsChanged(int)), SLOT(paintIcon(int)));
+ connect(stats, TQT_SIGNAL(statsChanged(int)), TQT_SLOT(paintIcon(int)));
DockWidget::dock_widget = this;
}
@@ -66,7 +66,7 @@ DockWidget::~DockWidget() {
}
-void DockWidget::paintEvent (QPaintEvent *) {
+void DockWidget::paintEvent (TQPaintEvent *) {
paintIcon(PPPStats::BytesNone);
}
@@ -74,7 +74,7 @@ void DockWidget::paintEvent (QPaintEvent *) {
void DockWidget::paintIcon (int status) {
// animate modem lights
- const QPixmap *pixmap;
+ const TQPixmap *pixmap;
if(isVisible()) {
switch(status)
@@ -112,7 +112,7 @@ void DockWidget::stop_stats() {
}
-void DockWidget::mousePressEvent(QMouseEvent *e) {
+void DockWidget::mousePressEvent(TQMouseEvent *e) {
// open/close connect-window on right mouse button
if ( e->button() == LeftButton ) {
toggle_window_state();
@@ -120,7 +120,7 @@ void DockWidget::mousePressEvent(QMouseEvent *e) {
// open popup menu on left mouse button
if ( e->button() == RightButton ) {
- QString text;
+ TQString text;
if(p_kppp->con_win->isVisible())
text = i18n("Minimize");
else