summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-19 08:21:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-19 08:21:16 +0000
commite0455e8952a8ad82686421cf6725b950e1c2bda1 (patch)
tree4bedf8ec874093f0f69ac1abf84577c1e8f1537c
parent26a188969ca3722e932a942ad2bb8b5adc85dca0 (diff)
downloadtdelibs-e0455e8952a8ad82686421cf6725b950e1c2bda1.tar.gz
tdelibs-e0455e8952a8ad82686421cf6725b950e1c2bda1.zip
Fixed failure to create new application shrtcut from context menu
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1177007 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kdeui/aboutkde.pngbin33092 -> 29600 bytes
-rw-r--r--kio/kfile/kfilemetainfowidget.cpp10
-rw-r--r--kio/kfile/kpropertiesdialog.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/kdeui/aboutkde.png b/kdeui/aboutkde.png
index 23b6e34f3..c29af2f30 100644
--- a/kdeui/aboutkde.png
+++ b/kdeui/aboutkde.png
Binary files differ
diff --git a/kio/kfile/kfilemetainfowidget.cpp b/kio/kfile/kfilemetainfowidget.cpp
index 5d54af8b9..c9328f026 100644
--- a/kio/kfile/kfilemetainfowidget.cpp
+++ b/kio/kfile/kfilemetainfowidget.cpp
@@ -196,7 +196,7 @@ TQWidget* KFileMetaInfoWidget::makeIntWidget()
if (m_validator)
{
- if (m_validator->inherits("TQIntValidator"))
+ if (m_validator->inherits("QIntValidator"))
{
sb->setMinValue(static_cast<TQIntValidator*>(m_validator)->bottom());
sb->setMaxValue(static_cast<TQIntValidator*>(m_validator)->top());
@@ -221,7 +221,7 @@ TQWidget* KFileMetaInfoWidget::makeDoubleWidget()
if (m_validator)
{
- if (m_validator->inherits("TQDoubleValidator"))
+ if (m_validator->inherits("QDoubleValidator"))
{
dni->setMinValue(static_cast<TQDoubleValidator*>(m_validator)->bottom());
dni->setMaxValue(static_cast<TQDoubleValidator*>(m_validator)->top());
@@ -301,7 +301,7 @@ void KFileMetaInfoWidget::reparentValidator( TQWidget *widget,
void KFileMetaInfoWidget::slotChanged(bool value)
{
- Q_ASSERT(m_widget->inherits("TQComboBox"));
+ Q_ASSERT(m_widget->inherits("QComboBox"));
m_value = TQVariant(value);
emit valueChanged(m_value);
m_dirty = true;
@@ -309,7 +309,7 @@ void KFileMetaInfoWidget::slotChanged(bool value)
void KFileMetaInfoWidget::slotChanged(int value)
{
- Q_ASSERT(m_widget->inherits("TQSpinBox"));
+ Q_ASSERT(m_widget->inherits("QSpinBox"));
m_value = TQVariant(value);
emit valueChanged(m_value);
m_dirty = true;
@@ -342,7 +342,7 @@ void KFileMetaInfoWidget::slotLineEditChanged(const TQString& value)
// that may be a little expensive for long texts, but what can we do?
void KFileMetaInfoWidget::slotMultiLineEditChanged()
{
- Q_ASSERT(m_widget->inherits("TQTextEdit"));
+ Q_ASSERT(m_widget->inherits("QTextEdit"));
m_value = TQVariant( static_cast<const TQTextEdit*>( sender() )->text() );
emit valueChanged(m_value);
m_dirty = true;
diff --git a/kio/kfile/kpropertiesdialog.cpp b/kio/kfile/kpropertiesdialog.cpp
index 89529830a..0116123f1 100644
--- a/kio/kfile/kpropertiesdialog.cpp
+++ b/kio/kfile/kpropertiesdialog.cpp
@@ -1317,7 +1317,7 @@ void KFilePropsPlugin::applyChanges()
kdDebug(250) << "KFilePropsPlugin::applyChanges" << endl;
- if (nameArea->inherits("TQLineEdit"))
+ if (nameArea->inherits("QLineEdit"))
{
TQString n = ((TQLineEdit *) nameArea)->text();
// Remove trailing spaces (#4345)