lmms
Cross-platform music production software
Toggle main menu visibility
Loading...
Searching...
No Matches
include
TrackRenameLineEdit.h
Go to the documentation of this file.
1
/*
2
* TrackRenameLineEdit.h - class TrackRenameLineEdit
3
*
4
* Copyright (c) 2004-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
5
* Copyright (c) 2017 Alexandre Almeida <http://m374lx.users.sourceforge.net/>
6
*
7
* This file is part of LMMS - https://lmms.io
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public
11
* License as published by the Free Software Foundation; either
12
* version 2 of the License, or (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public
20
* License along with this program (see COPYING); if not, write to the
21
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22
* Boston, MA 02110-1301 USA.
23
*
24
*/
25
26
#ifndef LMMS_GUI_TRACK_RENAME_LINE_EDIT_H
27
#define LMMS_GUI_TRACK_RENAME_LINE_EDIT_H
28
29
#include <QLineEdit>
30
31
namespace
lmms::gui
32
{
33
34
class
TrackRenameLineEdit
:
public
QLineEdit
35
{
36
Q_OBJECT
37
public
:
38
TrackRenameLineEdit
( QWidget * parent );
39
void
show
();
40
41
protected
:
42
void
keyPressEvent
( QKeyEvent * ke )
override
;
43
44
private
:
45
QString
m_oldName
;
46
} ;
47
48
}
// namespace lmms::gui
49
50
#endif
// LMMS_GUI_TRACK_RENAME_LINE_EDIT_H
lmms::gui::TrackRenameLineEdit::keyPressEvent
void keyPressEvent(QKeyEvent *ke) override
Definition
TrackRenameLineEdit.cpp:54
lmms::gui::TrackRenameLineEdit::m_oldName
QString m_oldName
Definition
TrackRenameLineEdit.h:45
lmms::gui::TrackRenameLineEdit::TrackRenameLineEdit
TrackRenameLineEdit(QWidget *parent)
Definition
TrackRenameLineEdit.cpp:37
lmms::gui::TrackRenameLineEdit::show
void show()
Definition
TrackRenameLineEdit.cpp:45
lmms::gui
Definition
AudioPortAudio.cpp:209
Generated on
for lmms by
1.18.0