diff options
Diffstat (limited to 'koshell')
-rw-r--r-- | koshell/iconsidepane.cpp | 12 | ||||
-rw-r--r-- | koshell/iconsidepane.h | 8 | ||||
-rw-r--r-- | koshell/koshell_shell.cc | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/koshell/iconsidepane.cpp b/koshell/iconsidepane.cpp index d8d5550f..93bbb6c4 100644 --- a/koshell/iconsidepane.cpp +++ b/koshell/iconsidepane.cpp @@ -44,8 +44,8 @@ #include "iconsidepane.h" -EntryItem::EntryItem( Navigator *tqparent, int _id, const TQString &_text, const TQString & _pix ) - : TQListBoxItem( tqparent ), +EntryItem::EntryItem( Navigator *parent, int _id, const TQString &_text, const TQString & _pix ) + : TQListBoxItem( parent ), mPixmapName(_pix), mId(_id), mHasHover( false ), @@ -203,8 +203,8 @@ void EntryItem::setPaintActive( bool paintActive ) // ************************************************ -Navigator::Navigator(bool _selectable, KPopupMenu * menu, IconSidePane *_iconsidepane, TQWidget *tqparent, const char *name ) - : KListBox( tqparent, name ), mSidePane( _iconsidepane ), mPopupMenu( menu ) +Navigator::Navigator(bool _selectable, KPopupMenu * menu, IconSidePane *_iconsidepane, TQWidget *parent, const char *name ) + : KListBox( parent, name ), mSidePane( _iconsidepane ), mPopupMenu( menu ) { setSelectionMode( KListBox::Single ); viewport()->setBackgroundMode( PaletteBackground ); @@ -402,8 +402,8 @@ void Navigator::slotShowRMBMenu( TQListBoxItem *, const TQPoint &pos ) // ************************************************ -IconSidePane::IconSidePane(TQWidget *tqparent, const char *name ) - : TQVBox( tqparent, name ) +IconSidePane::IconSidePane(TQWidget *parent, const char *name ) + : TQVBox( parent, name ) { m_buttongroup = new TQButtonGroup(1, Qt::Horizontal, this); m_buttongroup->setExclusive(true); diff --git a/koshell/iconsidepane.h b/koshell/iconsidepane.h index 3838967a..e0c4f7f0 100644 --- a/koshell/iconsidepane.h +++ b/koshell/iconsidepane.h @@ -90,8 +90,8 @@ class EntryItem : public TQListBoxItem class EntryItemToolTip : public TQToolTip { public: - EntryItemToolTip( TQListBox* tqparent ) - : TQToolTip( tqparent->viewport() ), mListBox( tqparent ) + EntryItemToolTip( TQListBox* parent ) + : TQToolTip( parent->viewport() ), mListBox( parent ) {} protected: void maybeTip( const TQPoint& p ) { @@ -119,7 +119,7 @@ class Navigator : public KListBox Q_OBJECT TQ_OBJECT public: - Navigator(bool _selectable, KPopupMenu*, IconSidePane *, TQWidget *tqparent = 0, const char *name = 0 ); + Navigator(bool _selectable, KPopupMenu*, IconSidePane *, TQWidget *parent = 0, const char *name = 0 ); int insertItem(const TQString &_text, const TQString &_pix); @@ -166,7 +166,7 @@ class IconSidePane :public TQVBox Q_OBJECT TQ_OBJECT public: - IconSidePane( TQWidget *tqparent, const char *name = 0 ); + IconSidePane( TQWidget *parent, const char *name = 0 ); ~IconSidePane(); void setActionCollection( KActionCollection *actionCollection ); diff --git a/koshell/koshell_shell.cc b/koshell/koshell_shell.cc index 181fd88b..be7b2af9 100644 --- a/koshell/koshell_shell.cc +++ b/koshell/koshell_shell.cc @@ -143,7 +143,7 @@ KoShellWindow::~KoShellWindow() } m_lstPages.clear(); - setRootDocumentDirect( 0L, TQPtrList<KoView>() ); // prevent our tqparent destructor from doing stupid things + setRootDocumentDirect( 0L, TQPtrList<KoView>() ); // prevent our parent destructor from doing stupid things saveSettings(); // Now save our settings before exiting } |