summaryrefslogtreecommitdiffstats
path: root/kplato/kptrelationdialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptrelationdialog.cc')
-rw-r--r--kplato/kptrelationdialog.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kplato/kptrelationdialog.cc b/kplato/kptrelationdialog.cc
index ec936af5..938496b0 100644
--- a/kplato/kptrelationdialog.cc
+++ b/kplato/kptrelationdialog.cc
@@ -25,11 +25,11 @@
#include "kptdurationwidget.h"
#include "relationpanel.h"
-#include <qlayout.h>
-#include <qvbox.h>
-#include <qlabel.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
+#include <tqlayout.h>
+#include <tqvbox.h>
+#include <tqlabel.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
#include <kmessagebox.h>
#include <klocale.h>
@@ -39,7 +39,7 @@
namespace KPlato
{
-AddRelationDialog::AddRelationDialog(Relation *rel, QWidget *p, QString caption, int buttons, const char *n)
+AddRelationDialog::AddRelationDialog(Relation *rel, TQWidget *p, TQString caption, int buttons, const char *n)
: KDialogBase(Swallow, caption, buttons, Ok, p, n, true, true)
{
if (caption.isEmpty())
@@ -49,7 +49,7 @@ AddRelationDialog::AddRelationDialog(Relation *rel, QWidget *p, QString caption,
setMainWidget(m_panel);
m_panel->setActiveWindow();
- m_panel->fromName->setText(rel->parent()->name());
+ m_panel->fromName->setText(rel->tqparent()->name());
m_panel->toName->setText(rel->child()->name());
m_panel->relationType->setButton(rel->type());
@@ -61,8 +61,8 @@ AddRelationDialog::AddRelationDialog(Relation *rel, QWidget *p, QString caption,
m_panel->relationType->setFocus();
enableButtonOK(true);
- connect(m_panel->relationType, SIGNAL(clicked(int)), SLOT(typeClicked(int)));
- connect(m_panel->lag, SIGNAL(valueChanged()), SLOT(lagChanged()));
+ connect(m_panel->relationType, TQT_SIGNAL(clicked(int)), TQT_SLOT(typeClicked(int)));
+ connect(m_panel->lag, TQT_SIGNAL(valueChanged()), TQT_SLOT(lagChanged()));
}
KCommand *AddRelationDialog::buildCommand(Part *part) {
@@ -88,7 +88,7 @@ void AddRelationDialog::typeClicked(int id) {
//////////////////
-ModifyRelationDialog::ModifyRelationDialog(Relation *rel, QWidget *p, const char *n)
+ModifyRelationDialog::ModifyRelationDialog(Relation *rel, TQWidget *p, const char *n)
: AddRelationDialog(rel, p, i18n("Edit Relationship"), Ok|Cancel|User1, n)
{
setButtonText( KDialogBase::User1, i18n("Delete") );