@ -33,6 +33,7 @@
# include <QtPrintSupport/QPrinter>
# include <QtPrintSupport/QPrinter>
# include <QtPrintSupport/QPrintDialog>
# include <QtPrintSupport/QPrintDialog>
# include <QScrollBar>
# include <QScrollBar>
# include <QInputDialog>
# include <kvbox.h>
# include <kvbox.h>
# include <kaboutapplicationdialog.h>
# include <kaboutapplicationdialog.h>
@ -43,7 +44,6 @@
# include <kstandardaction.h>
# include <kstandardaction.h>
# include <kpluginfactory.h>
# include <kpluginfactory.h>
# include <kfiledialog.h>
# include <kfiledialog.h>
# include <kinputdialog.h>
# include <kmessagebox.h>
# include <kmessagebox.h>
# include <knuminput.h>
# include <knuminput.h>
# include <kio/netaccess.h>
# include <kio/netaccess.h>
@ -2049,7 +2049,7 @@ void Part::slotRenameBookmark( const DocumentViewport &viewport )
if ( m_document - > bookmarkManager ( ) - > isBookmarked ( viewport ) )
if ( m_document - > bookmarkManager ( ) - > isBookmarked ( viewport ) )
{
{
KBookmark bookmark = m_document - > bookmarkManager ( ) - > bookmark ( viewport ) ;
KBookmark bookmark = m_document - > bookmarkManager ( ) - > bookmark ( viewport ) ;
const QString newName = K InputDialog: : getText ( i18n ( " Rename Bookmark " ) , i18n ( " Enter the new name of the bookmark: " ) , bookmark . fullText ( ) , 0 , widge t( ) ) ;
const QString newName = Q InputDialog: : getText ( widget ( ) , i18n ( " Rename Bookmark " ) , i18n ( " Enter the new name of the bookmark: " ) , QLineEdit : : Normal , bookmark . fullTex t( ) ) ;
if ( ! newName . isEmpty ( ) )
if ( ! newName . isEmpty ( ) )
{
{
m_document - > bookmarkManager ( ) - > renameBookmark ( & bookmark , newName ) ;
m_document - > bookmarkManager ( ) - > renameBookmark ( & bookmark , newName ) ;