Add fancy startup dialog to match the fancy shutdown dialog This is only used if the themed splash screen is turned off git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253056 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
parent
9925fc58bc
commit
b971f9aae7
@ -0,0 +1,86 @@
|
||||
/*****************************************************************
|
||||
ksmserver - the KDE session management server
|
||||
|
||||
Copyright (C) 2010-2011 Timothy Pearson <kb9vqf@pearsoncomputing.net>
|
||||
Copyright (C) 2000 Matthias Ettrich <ettrich@kde.org>
|
||||
******************************************************************/
|
||||
|
||||
#include "startupdlg.h"
|
||||
#include <tqapplication.h>
|
||||
#include <tqlayout.h>
|
||||
#include <tqgroupbox.h>
|
||||
#include <tqvbuttongroup.h>
|
||||
#include <tqlabel.h>
|
||||
#include <tqvbox.h>
|
||||
#include <tqtimer.h>
|
||||
#include <tqstyle.h>
|
||||
#include <tqcombobox.h>
|
||||
#include <tqcursor.h>
|
||||
#include <tqmessagebox.h>
|
||||
#include <tqbuttongroup.h>
|
||||
#include <tqiconset.h>
|
||||
#include <tqpixmap.h>
|
||||
#include <tqpopupmenu.h>
|
||||
#include <tqtooltip.h>
|
||||
#include <tqimage.h>
|
||||
#include <tqpainter.h>
|
||||
#include <tqfontmetrics.h>
|
||||
#include <tqregexp.h>
|
||||
#include <tqeventloop.h>
|
||||
|
||||
#include <klocale.h>
|
||||
#include <kconfig.h>
|
||||
#include <kapplication.h>
|
||||
#include <kdebug.h>
|
||||
#include <kpushbutton.h>
|
||||
#include <kstdguiitem.h>
|
||||
#include <kguiitem.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kglobalsettings.h>
|
||||
#include <kwin.h>
|
||||
#include <kuser.h>
|
||||
#include <kpixmap.h>
|
||||
#include <kimageeffect.h>
|
||||
#include <kdialog.h>
|
||||
#include <kseparator.h>
|
||||
#include <kconfig.h>
|
||||
|
||||
#include <dcopclient.h>
|
||||
#include <dcopref.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/utsname.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <dmctl.h>
|
||||
#include <kaction.h>
|
||||
#include <netwm.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
#include "startupdlg.moc"
|
||||
|
||||
TQWidget* KSMStartupIPDlg::showStartupIP()
|
||||
{
|
||||
kapp->enableStyles();
|
||||
KSMStartupIPDlg* l = new KSMStartupIPDlg( 0 );
|
||||
|
||||
kapp->disableStyles();
|
||||
|
||||
return l;
|
||||
}
|
||||
|
||||
KSMStartupIPDlg::KSMStartupIPDlg(TQWidget* parent)
|
||||
: KSMModalDialog( parent )
|
||||
|
||||
{
|
||||
setStatusMessage(i18n("Loading your settings").append("..."));
|
||||
|
||||
show();
|
||||
setActiveWindow();
|
||||
}
|
||||
|
||||
KSMStartupIPDlg::~KSMStartupIPDlg()
|
||||
{
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/*****************************************************************
|
||||
ksmserver - the KDE session management server
|
||||
|
||||
Copyright (C) 2000 Matthias Ettrich <ettrich@kde.org>
|
||||
******************************************************************/
|
||||
|
||||
#ifndef STARTUPDLG_H
|
||||
#define STARTUPDLG_H
|
||||
|
||||
#include <tqpixmap.h>
|
||||
#include <tqimage.h>
|
||||
#include <tqdatetime.h>
|
||||
#include <kdialog.h>
|
||||
#include <kpushbutton.h>
|
||||
#include <tqpushbutton.h>
|
||||
#include <tqframe.h>
|
||||
#include <kguiitem.h>
|
||||
#include <tqtoolbutton.h>
|
||||
#include <ksharedpixmap.h>
|
||||
|
||||
class TQPushButton;
|
||||
class TQVButtonGroup;
|
||||
class TQPopupMenu;
|
||||
class TQTimer;
|
||||
class TQPainter;
|
||||
class TQString;
|
||||
class KAction;
|
||||
|
||||
#include "timed.h"
|
||||
#include <kapplication.h>
|
||||
#include <kpixmapio.h>
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#ifndef NO_QT3_DBUS_SUPPORT
|
||||
/* We acknowledge the the dbus API is unstable */
|
||||
#define DBUS_API_SUBJECT_TO_CHANGE
|
||||
#include <dbus/connection.h>
|
||||
#endif // NO_QT3_DBUS_SUPPORT
|
||||
|
||||
#ifdef COMPILE_HALBACKEND
|
||||
#include <hal/libhal.h>
|
||||
#endif
|
||||
|
||||
// The startup-in-progress dialog
|
||||
class KSMStartupIPDlg : public KSMModalDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
static TQWidget* showStartupIP();
|
||||
|
||||
protected:
|
||||
~KSMStartupIPDlg();
|
||||
|
||||
private:
|
||||
KSMStartupIPDlg( TQWidget* parent );
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in new issue