File indexing completed on 2024-04-21 03:49:48
0001 // SPDX-License-Identifier: LGPL-2.1-or-later 0002 // 0003 // SPDX-FileCopyrightText: 2010 Gaurav Gupta <1989.gaurav@googlemail.com> 0004 // SPDX-FileCopyrightText: 2012 Thibaut Gridel <tgridel@free.fr> 0005 // 0006 // 0007 0008 #include "NewBookmarkFolderDialog.h" 0009 #include "MarbleDebug.h" 0010 0011 namespace Marble { 0012 0013 NewBookmarkFolderDialog::NewBookmarkFolderDialog( QWidget *parent ) 0014 : QDialog(parent) 0015 { 0016 setupUi(this); 0017 } 0018 0019 NewBookmarkFolderDialog::~NewBookmarkFolderDialog() 0020 { 0021 } 0022 0023 QString NewBookmarkFolderDialog::folderName() const 0024 { 0025 return m_name->text(); 0026 } 0027 0028 void NewBookmarkFolderDialog::setFolderName( const QString &name ) 0029 { 0030 m_name->setText( name ); 0031 m_name->selectAll(); 0032 } 0033 0034 } 0035 0036 #include "moc_NewBookmarkFolderDialog.cpp"