summaryrefslogtreecommitdiffstats
path: root/kdeprint
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint')
-rw-r--r--kdeprint/kdeprint_part/printpart.cpp4
-rw-r--r--kdeprint/kdeprint_part/printpart.h2
-rw-r--r--kdeprint/kdeprintfax/confsystem.cpp8
-rw-r--r--kdeprint/kdeprintfax/faxctrl.cpp4
4 files changed, 9 insertions, 9 deletions
diff --git a/kdeprint/kdeprint_part/printpart.cpp b/kdeprint/kdeprint_part/printpart.cpp
index 93876d24d..f4c5dbddb 100644
--- a/kdeprint/kdeprint_part/printpart.cpp
+++ b/kdeprint/kdeprint_part/printpart.cpp
@@ -33,7 +33,7 @@
typedef KParts::GenericFactory<PrintPart> PrintPartFactory;
K_EXPORT_COMPONENT_FACTORY( libkdeprint_part, PrintPartFactory )
-PrintPart::PrintPart(TQWidget *tqparentWidget, const char * /*widgetName*/ ,
+PrintPart::PrintPart(TQWidget *parentWidget, const char * /*widgetName*/ ,
TQObject *parent, const char *name,
const TQStringList & /*args*/ )
: KParts::ReadOnlyPart(parent, name)
@@ -42,7 +42,7 @@ PrintPart::PrintPart(TQWidget *tqparentWidget, const char * /*widgetName*/ ,
instance()->iconLoader()->addAppDir("kdeprint");
m_extension = new PrintPartExtension(this);
- m_view = new KMMainView(tqparentWidget, "MainView", actionCollection());
+ m_view = new KMMainView(parentWidget, "MainView", actionCollection());
m_view->setFocusPolicy(TQ_ClickFocus);
m_view->enableToolbar(false);
setWidget(m_view);
diff --git a/kdeprint/kdeprint_part/printpart.h b/kdeprint/kdeprint_part/printpart.h
index f89a3574b..c84fed1cc 100644
--- a/kdeprint/kdeprint_part/printpart.h
+++ b/kdeprint/kdeprint_part/printpart.h
@@ -31,7 +31,7 @@ class PrintPart : public KParts::ReadOnlyPart
{
Q_OBJECT
public:
- PrintPart(TQWidget *tqparentWidget, const char *widgetName,
+ PrintPart(TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name,
const TQStringList & );
virtual ~PrintPart();
diff --git a/kdeprint/kdeprintfax/confsystem.cpp b/kdeprint/kdeprintfax/confsystem.cpp
index e67a6b1e9..7410a0191 100644
--- a/kdeprint/kdeprintfax/confsystem.cpp
+++ b/kdeprint/kdeprintfax/confsystem.cpp
@@ -178,13 +178,13 @@ void ConfSystem::slotSystemChanged(int ID)
m_commands[m_current] = m_command->text();
m_current = ID;
if (ID == EFAX_ID)
- m_device->tqparentWidget()->show();
+ m_device->parentWidget()->show();
else
- m_device->tqparentWidget()->hide();
+ m_device->parentWidget()->hide();
if (ID == HYLAFAX_ID)
- m_server->tqparentWidget()->show();
+ m_server->parentWidget()->show();
else
- m_server->tqparentWidget()->hide();
+ m_server->parentWidget()->hide();
m_command->setText(m_commands[m_current]);
}
diff --git a/kdeprint/kdeprintfax/faxctrl.cpp b/kdeprint/kdeprintfax/faxctrl.cpp
index d721fac0b..51db82870 100644
--- a/kdeprint/kdeprintfax/faxctrl.cpp
+++ b/kdeprint/kdeprintfax/faxctrl.cpp
@@ -553,7 +553,7 @@ void FaxCtrl::viewLog(TQWidget *)
}
else
{
- KWin::activateWindow(m_logview->tqparentWidget()->winId());
+ KWin::activateWindow(m_logview->parentWidget()->winId());
}
}
@@ -605,7 +605,7 @@ void FaxCtrl::slotCloseLog()
TQTextEdit *view = m_logview;
m_logview = 0;
if (obj && obj->inherits(TQPUSHBUTTON_OBJECT_NAME_STRING))
- delete view->tqparentWidget();
+ delete view->parentWidget();
kdDebug() << "slotClose()" << endl;
}
}