summaryrefslogtreecommitdiffstats
path: root/kpf/src/PropertiesDialogPlugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:59:34 -0600
commit83677e35509b4dafac63b76995652bdf3b49f209 (patch)
tree591f1dc22278addb439726c42896376b17bb42bd /kpf/src/PropertiesDialogPlugin.cpp
parent808e453c56036211f57482ed847d54aca01bba68 (diff)
downloadtdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.tar.gz
tdenetwork-83677e35509b4dafac63b76995652bdf3b49f209.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 808e453c56036211f57482ed847d54aca01bba68.
Diffstat (limited to 'kpf/src/PropertiesDialogPlugin.cpp')
-rw-r--r--kpf/src/PropertiesDialogPlugin.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kpf/src/PropertiesDialogPlugin.cpp b/kpf/src/PropertiesDialogPlugin.cpp
index bd3b9638..028697d3 100644
--- a/kpf/src/PropertiesDialogPlugin.cpp
+++ b/kpf/src/PropertiesDialogPlugin.cpp
@@ -21,7 +21,7 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <tqcheckbox.h>
#include <tqspinbox.h>
#include <tqlabel.h>
@@ -136,7 +136,7 @@ namespace KPF
TQLabel * l_bandwidthLimit;
// TQLabel * l_connectionLimit;
TQLabel * l_serverName;
- TQLabel * l_kpfStatus;
+ TQLabel * l_kpftqStatus;
TQSpinBox * sb_listenPort;
TQSpinBox * sb_bandwidthLimit;
@@ -298,10 +298,10 @@ namespace KPF
l->addWidget(about);
- d->l_kpfStatus =
+ d->l_kpftqStatus =
new TQLabel(i18n("Applet status: <strong>not running</strong>"), w);
- l->addWidget(d->l_kpfStatus);
+ l->addWidget(d->l_kpftqStatus);
TQHBoxLayout * l2 = new TQHBoxLayout(l);
@@ -395,7 +395,7 @@ namespace KPF
" (%1)"
"</p>"
)
- .arg(TQDir::homeDirPath());
+ .tqarg(TQDir::homeDirPath());
TQString listenPortHelp =
i18n
@@ -507,7 +507,7 @@ namespace KPF
void
PropertiesDialogPlugin::slotStartKPF()
{
- d->l_kpfStatus
+ d->l_kpftqStatus
->setText(i18n("Applet status: <strong>starting...</strong>"));
kapp->dcopClient()
@@ -519,7 +519,7 @@ namespace KPF
void
PropertiesDialogPlugin::slotStartKPFFailed()
{
- d->l_kpfStatus
+ d->l_kpftqStatus
->setText(i18n("Applet status: <strong>failed to start</strong>"));
d->pb_startKPF->setEnabled(true);
@@ -532,7 +532,7 @@ namespace KPF
{
d->kpfRunning = true;
- d->l_kpfStatus
+ d->l_kpftqStatus
->setText(i18n("Applet status: <strong>running</strong>"));
d->pb_startKPF->setEnabled(false);
@@ -554,7 +554,7 @@ namespace KPF
d->pb_startKPF->setEnabled(true);
- d->l_kpfStatus
+ d->l_kpftqStatus
->setText(i18n("Applet status: <strong>not running</strong>"));
d->stack->raiseWidget(d->initWidget);