|
|
|
@ -27,8 +27,8 @@ Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org>
|
|
|
|
|
KonviBookmarkMenu::KonviBookmarkMenu( KBookmarkManager* mgr,
|
|
|
|
|
KonviBookmarkHandler * _owner, KPopupMenu * _parentMenu,
|
|
|
|
|
KActionCollection *collec, bool _isRoot, bool _add,
|
|
|
|
|
const TQString & tqparentAddress )
|
|
|
|
|
: KBookmarkMenu( mgr, _owner, _parentMenu, collec, _isRoot, _add, tqparentAddress),
|
|
|
|
|
const TQString & parentAddress )
|
|
|
|
|
: KBookmarkMenu( mgr, _owner, _parentMenu, collec, _isRoot, _add, parentAddress),
|
|
|
|
|
m_kOwner(_owner)
|
|
|
|
|
{
|
|
|
|
|
/*
|
|
|
|
@ -86,11 +86,11 @@ void KonviBookmarkMenu::fillBookmarkMenu()
|
|
|
|
|
addNewFolder();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KBookmarkGroup tqparentBookmark = m_pManager->findByAddress( m_parentAddress ).toGroup();
|
|
|
|
|
Q_ASSERT(!tqparentBookmark.isNull());
|
|
|
|
|
KBookmarkGroup parentBookmark = m_pManager->findByAddress( m_parentAddress ).toGroup();
|
|
|
|
|
Q_ASSERT(!parentBookmark.isNull());
|
|
|
|
|
bool separatorInserted = false;
|
|
|
|
|
for ( KBookmark bm = tqparentBookmark.first(); !bm.isNull();
|
|
|
|
|
bm = tqparentBookmark.next(bm) )
|
|
|
|
|
for ( KBookmark bm = parentBookmark.first(); !bm.isNull();
|
|
|
|
|
bm = parentBookmark.next(bm) )
|
|
|
|
|
{
|
|
|
|
|
TQString text = bm.text();
|
|
|
|
|
text.tqreplace( '&', "&&" );
|
|
|
|
|