diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /koshell | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 } |