summaryrefslogtreecommitdiffstats
path: root/kommander/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets')
-rw-r--r--kommander/widgets/richtexteditor.cpp4
-rw-r--r--kommander/widgets/richtexteditor.h2
-rw-r--r--kommander/widgets/table.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/kommander/widgets/richtexteditor.cpp b/kommander/widgets/richtexteditor.cpp
index e5de817b..fb3c7697 100644
--- a/kommander/widgets/richtexteditor.cpp
+++ b/kommander/widgets/richtexteditor.cpp
@@ -106,7 +106,7 @@ RichTextEditor::RichTextEditor(TQWidget *a_parent, const char *a_name)
connect(m_alignGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(textAlign(int)));
connect(m_textedit, TQT_SIGNAL(currentFontChanged(const TQFont &)), this, TQT_SLOT(fontChanged(const TQFont &)));
- connect(m_textedit, TQT_SIGNAL(currentAlignmentChanged(int)), this, TQT_SLOT(tqalignmentChanged(int)));
+ connect(m_textedit, TQT_SIGNAL(currentAlignmentChanged(int)), this, TQT_SLOT(alignmentChanged(int)));
connect(m_textedit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(setTextChanged()));
@@ -196,7 +196,7 @@ void RichTextEditor::fontChanged(const TQFont &a_font)
m_buttonTextUnder->setOn(a_font.underline());
}
-void RichTextEditor::tqalignmentChanged(int a_tqalignment)
+void RichTextEditor::alignmentChanged(int a_tqalignment)
{
if((a_tqalignment == AlignAuto) || (a_tqalignment & AlignLeft))
m_buttonTextLeft->setOn(true);
diff --git a/kommander/widgets/richtexteditor.h b/kommander/widgets/richtexteditor.h
index 31347e96..bb55741e 100644
--- a/kommander/widgets/richtexteditor.h
+++ b/kommander/widgets/richtexteditor.h
@@ -63,7 +63,7 @@ public slots:
void textUnder(bool);
void textItalic(bool);
void fontChanged(const TQFont &);
- void tqalignmentChanged(int);
+ void alignmentChanged(int);
virtual void populate();
signals:
void widgetOpened();
diff --git a/kommander/widgets/table.cpp b/kommander/widgets/table.cpp
index 4056431e..f4d21629 100644
--- a/kommander/widgets/table.cpp
+++ b/kommander/widgets/table.cpp
@@ -167,7 +167,7 @@ void Table::setCellText(int row, int col, const TQString& text)
{
KommanderWidget *w = widgetByName(widget->name());
if (w)
- widget->reparent(tqparentDialog(), TQPoint(0,0));
+ widget->reparent(parentDialog(), TQPoint(0,0));
}
setText(row, col, text);
endEdit(row, col, false, false);