summaryrefslogtreecommitdiffstats
path: root/ksirc/KSProgress
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 /ksirc/KSProgress
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 'ksirc/KSProgress')
-rw-r--r--ksirc/KSProgress/ksprogress.cpp8
-rw-r--r--ksirc/KSProgress/ksprogress.h12
-rw-r--r--ksirc/KSProgress/ksprogressdata.cpp10
-rw-r--r--ksirc/KSProgress/ksprogressdata.h10
4 files changed, 20 insertions, 20 deletions
diff --git a/ksirc/KSProgress/ksprogress.cpp b/ksirc/KSProgress/ksprogress.cpp
index 369b0742..ccf3b194 100644
--- a/ksirc/KSProgress/ksprogress.cpp
+++ b/ksirc/KSProgress/ksprogress.cpp
@@ -10,7 +10,7 @@
KSProgress::KSProgress
(
- QWidget* parent,
+ TQWidget* parent,
const char* name
)
:
@@ -22,7 +22,7 @@ KSProgress::KSProgress
}
-void KSProgress::setID(QString _id)
+void KSProgress::setID(TQString _id)
{
id = _id;
}
@@ -32,12 +32,12 @@ void KSProgress::setRange(int minValue, int maxValue)
progress->setRange(minValue, maxValue);
}
-void KSProgress::setTopText(QString text)
+void KSProgress::setTopText(TQString text)
{
fileName->setText(text);
}
-void KSProgress::setBotText(QString text)
+void KSProgress::setBotText(TQString text)
{
transferStatus->setText(text);
}
diff --git a/ksirc/KSProgress/ksprogress.h b/ksirc/KSProgress/ksprogress.h
index c3feb2c6..2613047d 100644
--- a/ksirc/KSProgress/ksprogress.h
+++ b/ksirc/KSProgress/ksprogress.h
@@ -20,16 +20,16 @@ public:
KSProgress
(
- QWidget* parent = NULL,
+ TQWidget* parent = NULL,
const char* name = NULL
);
virtual ~KSProgress();
- virtual void setID(QString);
+ virtual void setID(TQString);
virtual void setRange(int minValue, int maxValue);
- virtual void setTopText(QString text);
- virtual void setBotText(QString text);
+ virtual void setTopText(TQString text);
+ virtual void setBotText(TQString text);
public slots:
virtual void setValue(int value);
@@ -37,10 +37,10 @@ public slots:
signals:
void cancel();
- void cancel(QString);
+ void cancel(TQString);
private:
- QString id;
+ TQString id;
bool canceled;
};
diff --git a/ksirc/KSProgress/ksprogressdata.cpp b/ksirc/KSProgress/ksprogressdata.cpp
index 0feb524b..7d146fd9 100644
--- a/ksirc/KSProgress/ksprogressdata.cpp
+++ b/ksirc/KSProgress/ksprogressdata.cpp
@@ -22,7 +22,7 @@
ksprogressData::ksprogressData
(
- QWidget* parent,
+ TQWidget* parent,
const char* name
)
:
@@ -33,15 +33,15 @@ ksprogressData::ksprogressData
progress->setMinimumSize( 10, 10 );
progress->setMaximumSize( 32767, 32767 );
- QPushButton* dlgedit_PushButton_1;
+ TQPushButton* dlgedit_PushButton_1;
dlgedit_PushButton_1 = new KPushButton( KStdGuiItem::cancel(), this, "PushButton_1" );
dlgedit_PushButton_1->setGeometry( 70, 90, 100, 30 );
dlgedit_PushButton_1->setMinimumSize( 10, 10 );
dlgedit_PushButton_1->setMaximumSize( 32767, 32767 );
- connect( dlgedit_PushButton_1, SIGNAL(clicked()), SLOT(cancelPressed()) );
+ connect( dlgedit_PushButton_1, TQT_SIGNAL(clicked()), TQT_SLOT(cancelPressed()) );
dlgedit_PushButton_1->setAutoRepeat( FALSE );
- fileName = new QLabel( this, "Label_1" );
+ fileName = new TQLabel( this, "Label_1" );
fileName->setGeometry( 10, 10, 230, 20 );
fileName->setMinimumSize( 10, 10 );
fileName->setMaximumSize( 32767, 32767 );
@@ -49,7 +49,7 @@ ksprogressData::ksprogressData
fileName->setAlignment( 289 );
fileName->setMargin( -1 );
- transferStatus = new QLabel( this, "Label_2" );
+ transferStatus = new TQLabel( this, "Label_2" );
transferStatus->setGeometry( 10, 35, 230, 20 );
transferStatus->setMinimumSize( 10, 10 );
transferStatus->setMaximumSize( 32767, 32767 );
diff --git a/ksirc/KSProgress/ksprogressdata.h b/ksirc/KSProgress/ksprogressdata.h
index a2282baf..37e3cf29 100644
--- a/ksirc/KSProgress/ksprogressdata.h
+++ b/ksirc/KSProgress/ksprogressdata.h
@@ -13,8 +13,8 @@
#ifndef ksprogressData_included
#define ksprogressData_included
-#include <qframe.h>
-#include <qlabel.h>
+#include <tqframe.h>
+#include <tqlabel.h>
#include "kprogress.h"
class ksprogressData : public QFrame
@@ -25,7 +25,7 @@ public:
ksprogressData
(
- QWidget* parent = NULL,
+ TQWidget* parent = NULL,
const char* name = NULL
);
@@ -40,8 +40,8 @@ protected slots:
protected:
KProgress* progress;
- QLabel* fileName;
- QLabel* transferStatus;
+ TQLabel* fileName;
+ TQLabel* transferStatus;
};