summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/ui/kiviotextformatdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/ui/kiviotextformatdlg.cpp')
-rw-r--r--kivio/kiviopart/ui/kiviotextformatdlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kivio/kiviopart/ui/kiviotextformatdlg.cpp b/kivio/kiviopart/ui/kiviotextformatdlg.cpp
index 43f783e1..94dd995d 100644
--- a/kivio/kiviopart/ui/kiviotextformatdlg.cpp
+++ b/kivio/kiviopart/ui/kiviotextformatdlg.cpp
@@ -31,8 +31,8 @@
#include "kivio_view.h"
#include "kivio_doc.h"
-KivioTextFormatDlg::KivioTextFormatDlg(KivioView* tqparent, const char* name)
- : KDialogBase(Tabbed, i18n("Text Format"), Ok|Cancel|Default, Ok, tqparent, name)
+KivioTextFormatDlg::KivioTextFormatDlg(KivioView* parent, const char* name)
+ : KDialogBase(Tabbed, i18n("Text Format"), Ok|Cancel|Default, Ok, parent, name)
{
m_valign = TQt::AlignVCenter;
m_halign = TQt::AlignHCenter;
@@ -183,7 +183,7 @@ void KivioTextFormatDlg::setTextColor(TQColor c)
void KivioTextFormatDlg::slotDefault()
{
- setFont((static_cast<KivioView*>(TQT_TQWIDGET(tqparent())))->doc()->defaultFont());
+ setFont((static_cast<KivioView*>(TQT_TQWIDGET(parent())))->doc()->defaultFont());
setTextColor(TQColor(0, 0, 0));
setHAlign(TQt::AlignHCenter);
setVAlign(TQt::AlignVCenter);