kwave
18.07.70
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
f
h
i
l
m
o
p
r
s
t
u
w
y
z
Functions
Typedefs
Enumerations
+
Enumerator
a
b
c
f
i
l
o
p
r
s
u
w
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
i
l
m
p
q
r
s
t
x
z
Variables
Typedefs
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
AboutPlugin.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
AboutPlugin.cpp - plugin that shows the Kwave's about dialog
3
-------------------
4
begin : Sun Oct 29 2000
5
copyright : (C) 2000 by Thomas Eschenbacher
6
email : Thomas.Eschenbacher@gmx.de
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#include "config.h"
19
#include <errno.h>
20
21
#include <KLocalizedString>
22
23
#include "
libkwave/Plugin.h
"
24
#include "
libkwave/PluginManager.h
"
25
26
#include "
AboutDialog.h
"
27
#include "
AboutPlugin.h
"
28
29
KWAVE_PLUGIN
(about, AboutPlugin)
30
31
//***************************************************************************
32
Kwave
::
AboutPlugin
::
AboutPlugin
(QObject *parent, const QVariantList &args)
33
:
Kwave
::
Plugin
(parent, args)
34
{
35
}
36
37
//***************************************************************************
38
int
Kwave::AboutPlugin::start
(QStringList& params)
39
{
40
Q_UNUSED(params);
41
42
// create a new "about" dialog and show it
43
Kwave::AboutDialog
*dlg =
new
Kwave::AboutDialog
(
44
parentWidget
(),
45
manager
().pluginInfoList()
46
);
47
Q_ASSERT(dlg);
48
if
(!dlg)
return
ENOMEM;
49
dlg->exec();
50
delete
dlg;
51
52
return
0;
53
}
54
55
//***************************************************************************
56
#include "AboutPlugin.moc"
57
//***************************************************************************
58
//***************************************************************************
Kwave
Definition:
App.h:33
Plugin.h
Kwave::Plugin::parentWidget
QWidget * parentWidget() const
Definition:
Plugin.cpp:450
Kwave::AboutPlugin::start
virtual int start(QStringList ¶ms) Q_DECL_OVERRIDE
Definition:
AboutPlugin.cpp:38
AboutPlugin.h
Kwave::Plugin::manager
Kwave::PluginManager & manager() const
Definition:
Plugin.cpp:437
Kwave::AboutDialog
Definition:
AboutDialog.h:38
Kwave::Plugin
Definition:
Plugin.h:75
AboutDialog.h
KWAVE_PLUGIN
#define KWAVE_PLUGIN(name, class)
Definition:
Plugin.h:54
PluginManager.h
Kwave::AboutPlugin
Definition:
AboutPlugin.h:29
plugins
about
AboutPlugin.cpp
Generated on Sat Mar 24 2018 09:10:26 for kwave by
1.8.13