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{
13
14NewBookmarkFolderDialog::NewBookmarkFolderDialog(QWidget *parent)
15 : QDialog(parent)
16{
17 setupUi(this);
18}
19
20NewBookmarkFolderDialog::~NewBookmarkFolderDialog() = default;
21
22QString NewBookmarkFolderDialog::folderName() const
23{
24 return m_name->text();
25}
26
27void NewBookmarkFolderDialog::setFolderName(const QString &name)
28{
29 m_name->setText(name);
30 m_name->selectAll();
31}
32
33}
34
35#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 Fri Nov 8 2024 12:02:44 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.