summaryrefslogtreecommitdiffstats
path: root/kpf/src/PropertiesDialogPlugin.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:49:40 -0600
commit808e453c56036211f57482ed847d54aca01bba68 (patch)
tree75515d5768dea10d4fbe4cd772e0a89c1c4b3aa9 /kpf/src/PropertiesDialogPlugin.cpp
parentcd9b9ed7fd0ac8a75106148254aa58e2e5c04863 (diff)
downloadtdenetwork-808e453c56036211f57482ed847d54aca01bba68.tar.gz
tdenetwork-808e453c56036211f57482ed847d54aca01bba68.zip
Rename a number of old tq methods that are no longer tq specific
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 028697d3..bd3b9638 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 <tqlayout.h>
+#include <layout.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_kpftqStatus;
+ TQLabel * l_kpfStatus;
TQSpinBox * sb_listenPort;
TQSpinBox * sb_bandwidthLimit;
@@ -298,10 +298,10 @@ namespace KPF
l->addWidget(about);
- d->l_kpftqStatus =
+ d->l_kpfStatus =
new TQLabel(i18n("Applet status: <strong>not running</strong>"), w);
- l->addWidget(d->l_kpftqStatus);
+ l->addWidget(d->l_kpfStatus);
TQHBoxLayout * l2 = new TQHBoxLayout(l);
@@ -395,7 +395,7 @@ namespace KPF
" (%1)"
"</p>"
)
- .tqarg(TQDir::homeDirPath());
+ .arg(TQDir::homeDirPath());
TQString listenPortHelp =
i18n
@@ -507,7 +507,7 @@ namespace KPF
void
PropertiesDialogPlugin::slotStartKPF()
{
- d->l_kpftqStatus
+ d->l_kpfStatus
->setText(i18n("Applet status: <strong>starting...</strong>"));
kapp->dcopClient()
@@ -519,7 +519,7 @@ namespace KPF
void
PropertiesDialogPlugin::slotStartKPFFailed()
{
- d->l_kpftqStatus
+ d->l_kpfStatus
->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_kpftqStatus
+ d->l_kpfStatus
->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_kpftqStatus
+ d->l_kpfStatus
->setText(i18n("Applet status: <strong>not running</strong>"));
d->stack->raiseWidget(d->initWidget);