delay a few things on startup, such as setting the visibility mode, which ensures...
[personal-kdebase.git] / runtime / knetattach / main.cpp
bloba6fba29dd60085da24df74848d59e6bb613af1e1
1 /*
2 Copyright (C) 2004 George Staikos <staikos@kde.org>
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public
6 License as published by the Free Software Foundation; either
7 version 2 of the License, or (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; see the file COPYING. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
20 #include <kaboutdata.h>
21 #include <kapplication.h>
22 #include <kcmdlineargs.h>
23 #include <kglobal.h>
24 #include <klocale.h>
26 #include "knetattach.h"
28 int main(int argc, char **argv) {
29 KAboutData about("knetattach", 0, ki18n("KDE Network Wizard"), "1.0",
30 ki18n("KDE Network Wizard"),
31 KAboutData::License_GPL,
32 ki18n("(c) 2004 George Staikos"), KLocalizedString(),
33 "http://www.kde.org/");
35 about.addAuthor(ki18n("George Staikos"), ki18n("Primary author and maintainer"), "staikos@kde.org");
37 KCmdLineArgs::init(argc, argv, &about);
38 KApplication a;
40 KNetAttach na;
41 a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
42 na.show();
44 return a.exec();