Marble

NewBookmarkFolderDialog.cpp
1 // SPDX-License-Identifier: LGPL-2.1-or-later
2 //
3 // SPDX-FileCopyrightText: 2010 Gaurav Gupta <[email protected]>
4 // SPDX-FileCopyrightText: 2012 Thibaut Gridel <[email protected]>
5 //
6 //
7 
8 #include "NewBookmarkFolderDialog.h"
9 #include "MarbleDebug.h"
10 
11 namespace Marble {
12 
13 NewBookmarkFolderDialog::NewBookmarkFolderDialog( QWidget *parent )
14  : QDialog(parent)
15 {
16  setupUi(this);
17 }
18 
19 NewBookmarkFolderDialog::~NewBookmarkFolderDialog()
20 {
21 }
22 
23 QString NewBookmarkFolderDialog::folderName() const
24 {
25  return m_name->text();
26 }
27 
28 void NewBookmarkFolderDialog::setFolderName( const QString &name )
29 {
30  m_name->setText( name );
31  m_name->selectAll();
32 }
33 
34 }
35 
36 #include "moc_NewBookmarkFolderDialog.cpp"
Binds a QML item to a specific geodetic location in screen coordinates.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Sep 21 2023 04:12:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.