summaryrefslogtreecommitdiffstats
path: root/src/noteedit.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:35:00 -0600
committerSlávek Banko <[email protected]>2012-06-25 03:21:34 +0200
commit4432e0a1145b0ef95d741fea6d04b565f36fa626 (patch)
tree7b61af36dc90fbe53aefa70337c04b4bfdaf727d /src/noteedit.cpp
parent636a6a6e172e0493af4b19582e07ef8165973329 (diff)
downloadbasket-4432e0a1145b0ef95d741fea6d04b565f36fa626.tar.gz
basket-4432e0a1145b0ef95d741fea6d04b565f36fa626.zip
Remove additional unneeded tq method conversions
(cherry picked from commit 522c7294f06d294c77bc1ea7d0dec4b371c43373)
Diffstat (limited to 'src/noteedit.cpp')
-rw-r--r--src/noteedit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/noteedit.cpp b/src/noteedit.cpp
index 056e98e..bdebdb5 100644
--- a/src/noteedit.cpp
+++ b/src/noteedit.cpp
@@ -279,7 +279,7 @@ void HtmlEditor::cursorPositionChanged()
InlineEditors::instance()->richTextItalic->setChecked( textEdit()->italic() );
InlineEditors::instance()->richTextUnderline->setChecked( textEdit()->underline() );
- switch (textEdit()->tqalignment()) {
+ switch (textEdit()->alignment()) {
default:
case 1/*TQt::AlignLeft*/: InlineEditors::instance()->richTextLeft->setChecked(true); break;
case 4/*TQt::AlignCenter*/: InlineEditors::instance()->richTextCenter->setChecked(true); break;
@@ -560,7 +560,7 @@ LinkEditDialog::LinkEditDialog(LinkContent *contentNote, TQWidget *parent/*, TQK
/* Icon button: */
m_icon->setIcon(m_noteContent->icon());
int minSize = m_autoIcon->sizeHint().height();
- // Make the icon button at least the same heigh than the other buttons for a better tqalignment (nicer to the eyes):
+ // Make the icon button at least the same heigh than the other buttons for a better alignment (nicer to the eyes):
if (m_icon->sizeHint().height() < minSize)
m_icon->setFixedSize(minSize, minSize);
else
@@ -678,7 +678,7 @@ void LinkEditDialog::slotOk()
m_icon->setIconSize(linkLook->iconSize()); // So I store it's name and reload it after size change !
m_icon->setIcon(icon);
int minSize = m_autoIcon->sizeHint().height();
- // Make the icon button at least the same heigh than the other buttons for a better tqalignment (nicer to the eyes):
+ // Make the icon button at least the same heigh than the other buttons for a better alignment (nicer to the eyes):
if (m_icon->sizeHint().height() < minSize)
m_icon->setFixedSize(minSize, minSize);
else
@@ -712,7 +712,7 @@ LauncherEditDialog::LauncherEditDialog(LauncherContent *contentNote, TQWidget *p
/* Icon button: */
m_icon->setIcon(service.icon());
int minSize = guessButton->sizeHint().height();
- // Make the icon button at least the same heigh than the other buttons for a better tqalignment (nicer to the eyes):
+ // Make the icon button at least the same heigh than the other buttons for a better alignment (nicer to the eyes):
if (m_icon->sizeHint().height() < minSize)
m_icon->setFixedSize(minSize, minSize);
else