summaryrefslogtreecommitdiffstats
path: root/knewsticker
diff options
context:
space:
mode:
Diffstat (limited to 'knewsticker')
-rw-r--r--knewsticker/knewstickerconfig.cpp8
-rw-r--r--knewsticker/knewstickerconfig.h2
-rw-r--r--knewsticker/knewstickerconfigwidget.ui14
-rw-r--r--knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui6
-rw-r--r--knewsticker/newssourcedlg.ui10
5 files changed, 20 insertions, 20 deletions
diff --git a/knewsticker/knewstickerconfig.cpp b/knewsticker/knewstickerconfig.cpp
index 9f868beb..34024edc 100644
--- a/knewsticker/knewstickerconfig.cpp
+++ b/knewsticker/knewstickerconfig.cpp
@@ -421,10 +421,10 @@ void KNewsTickerConfig::slotModifyNewsSource()
void KNewsTickerConfig::slotModifyNewsSource(const NewsSourceBase::Data &nsd)
{
if (m_modifyItem->data().subject != nsd.subject) {
- TQListViewItem *tqparentItem = m_modifyItem->tqparentItem();
- tqparentItem->takeItem(m_modifyItem);
- if (tqparentItem->childCount() == 0)
- delete tqparentItem;
+ TQListViewItem *parentItem = m_modifyItem->parentItem();
+ parentItem->takeItem(m_modifyItem);
+ if (parentItem->childCount() == 0)
+ delete parentItem;
CategoryItem *catItem = 0L;
diff --git a/knewsticker/knewstickerconfig.h b/knewsticker/knewstickerconfig.h
index 79b268d2..0af7255e 100644
--- a/knewsticker/knewstickerconfig.h
+++ b/knewsticker/knewstickerconfig.h
@@ -44,7 +44,7 @@ class NewsSourceItem : public TQCheckListItem
void setData(const NewsSourceBase::Data &);
void setIcon(const TQPixmap &);
- TQListViewItem *tqparentItem() { return TQCheckListItem::tqparent(); }
+ TQListViewItem *parentItem() { return TQCheckListItem::tqparent(); }
private:
TQString m_icon;
diff --git a/knewsticker/knewstickerconfigwidget.ui b/knewsticker/knewstickerconfigwidget.ui
index af476a68..2ad24dd9 100644
--- a/knewsticker/knewstickerconfigwidget.ui
+++ b/knewsticker/knewstickerconfigwidget.ui
@@ -22,9 +22,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="tqlayoutMargin" stdset="0">
+ <property name="layoutMargin" stdset="0">
</property>
- <property name="tqlayoutSpacing" stdset="0">
+ <property name="layoutSpacing" stdset="0">
</property>
<vbox>
<property name="name">
@@ -40,9 +40,9 @@
<property name="name">
<cstring>tabScrollerPreferences</cstring>
</property>
- <property name="tqlayoutMargin" stdset="0">
+ <property name="layoutMargin" stdset="0">
</property>
- <property name="tqlayoutSpacing" stdset="0">
+ <property name="layoutSpacing" stdset="0">
</property>
<widget class="TQWidget">
<property name="name">
@@ -68,9 +68,9 @@
<property name="title">
<string>General</string>
</property>
- <property name="tqlayoutMargin" stdset="0">
+ <property name="layoutMargin" stdset="0">
</property>
- <property name="tqlayoutSpacing" stdset="0">
+ <property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@@ -1160,7 +1160,7 @@ Note that the filters are processed from the top to the bottom so that of two fi
<include location="global" impldecl="in declaration">klistview.h</include>
<include location="global" impldecl="in declaration">knuminput.h</include>
</includes>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
diff --git a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui
index c5e265f6..1b589f5e 100644
--- a/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui
+++ b/knewsticker/kntsrcfilepropsdlg/kntsrcfilepropsdlgwidget.ui
@@ -14,9 +14,9 @@
<height>274</height>
</rect>
</property>
- <property name="tqlayoutMargin" stdset="0">
+ <property name="layoutMargin" stdset="0">
</property>
- <property name="tqlayoutSpacing" stdset="0">
+ <property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@@ -206,7 +206,7 @@
<include location="global" impldecl="in declaration">kurllabel.h</include>
<include location="global" impldecl="in declaration">kseparator.h</include>
</includes>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kurllabel.h</includehint>
<includehint>kseparator.h</includehint>
diff --git a/knewsticker/newssourcedlg.ui b/knewsticker/newssourcedlg.ui
index 29df9791..f6a7c695 100644
--- a/knewsticker/newssourcedlg.ui
+++ b/knewsticker/newssourcedlg.ui
@@ -28,9 +28,9 @@
<property name="icon">
<pixmap>image0</pixmap>
</property>
- <property name="tqlayoutMargin" stdset="0">
+ <property name="layoutMargin" stdset="0">
</property>
- <property name="tqlayoutSpacing" stdset="0">
+ <property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@@ -49,9 +49,9 @@
<property name="title">
<string>News Source Properties</string>
</property>
- <property name="tqlayoutMargin" stdset="0">
+ <property name="layoutMargin" stdset="0">
</property>
- <property name="tqlayoutSpacing" stdset="0">
+ <property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@@ -404,5 +404,5 @@
<slot access="protected">slotSourceFileChanged()</slot>
<slot access="protected">slotSuggestClicked()</slot>
</Q_SLOTS>
-<tqlayoutdefaults spacing="6" margin="11"/>
+<layoutdefaults spacing="6" margin="11"/>
</UI>