Marble

NewBookmarkFolderDialog.cpp
1// SPDX-License-Identifier: LGPL-2.1-or-later
2//
3// SPDX-FileCopyrightText: 2010 Gaurav Gupta <1989.gaurav@googlemail.com>
4// SPDX-FileCopyrightText: 2012 Thibaut Gridel <tgridel@free.fr>
5//
6//
7
8#include "NewBookmarkFolderDialog.h"
9#include "MarbleDebug.h"
10
11namespace Marble {
12
13NewBookmarkFolderDialog::NewBookmarkFolderDialog( QWidget *parent )
14 : QDialog(parent)
15{
16 setupUi(this);
17}
18
19NewBookmarkFolderDialog::~NewBookmarkFolderDialog()
20{
21}
22
23QString NewBookmarkFolderDialog::folderName() const
24{
25 return m_name->text();
26}
27
28void 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-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:18:17 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.