• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

parley

  • sources
  • kde-4.12
  • kdeedu
  • parley
  • src
  • welcomescreen
welcomescreen.h
Go to the documentation of this file.
1 /***************************************************************************
2  Copyright 2008-2010 Daniel Laidig <d.laidig@gmx.de>
3  ***************************************************************************/
4 
5 /***************************************************************************
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef WELCOMESCREEN_H
15 #define WELCOMESCREEN_H
16 
17 #include "ui_welcomescreen.h"
18 
19 #include <KXmlGuiWindow>
20 
21 class ParleyMainWindow;
22 class KUrl;
23 class QStandardItemModel;
24 
25 namespace Practice {
26  class ThemedBackgroundRenderer;
27  class ImageWidget;
28 }
29 
30 class WelcomeScreen : public KXmlGuiWindow
31 {
32 Q_OBJECT
33 public:
34  WelcomeScreen(ParleyMainWindow *parent);
35  ~WelcomeScreen();
36 
37 public slots:
38  void slotOpenUrl(const KUrl& url);
39  void slotPracticeUrl(const KUrl& url);
40  void slotDoubleClicked(const QModelIndex& index);
41  void slotDoubleClickOpen();
42  void updateRecentFilesModel();
43 
44 private slots:
45  void setTheme();
46  void backgroundChanged(const QPixmap& pixmap);
47  void updateFontColors();
48  void updateBackground();
49 
50 private:
51  Ui::WelcomeScreen *ui;
52  ParleyMainWindow *m_mainWindow;
53  QStandardItemModel *m_recentFilesModel;
54  KUrl m_openUrl;
55  Practice::ThemedBackgroundRenderer *m_themedBackgroundRenderer;
56  Practice::ImageWidget* m_widget;
57 };
58 
59 #endif
WelcomeScreen::slotPracticeUrl
void slotPracticeUrl(const KUrl &url)
Definition: welcomescreen.cpp:138
ParleyMainWindow
Definition: parleymainwindow.h:68
WelcomeScreen::~WelcomeScreen
~WelcomeScreen()
Definition: welcomescreen.cpp:83
WelcomeScreen::slotDoubleClickOpen
void slotDoubleClickOpen()
Definition: welcomescreen.cpp:133
WelcomeScreen::slotOpenUrl
void slotOpenUrl(const KUrl &url)
Definition: welcomescreen.cpp:118
WelcomeScreen::updateRecentFilesModel
void updateRecentFilesModel()
Definition: welcomescreen.cpp:89
KXmlGuiWindow
WelcomeScreen::WelcomeScreen
WelcomeScreen(ParleyMainWindow *parent)
Definition: welcomescreen.cpp:26
Practice::ThemedBackgroundRenderer
Definition: themedbackgroundrenderer.h:30
WelcomeScreen
Definition: welcomescreen.h:30
Practice::ImageWidget
Definition: imagewidget.h:23
WelcomeScreen::slotDoubleClicked
void slotDoubleClicked(const QModelIndex &index)
Definition: welcomescreen.cpp:126
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

parley

Skip menu "parley"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal