summaryrefslogtreecommitdiffstats
path: root/src/splashscreen.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /src/splashscreen.cpp
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'src/splashscreen.cpp')
-rw-r--r--src/splashscreen.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/splashscreen.cpp b/src/splashscreen.cpp
index 446705b8..205656bd 100644
--- a/src/splashscreen.cpp
+++ b/src/splashscreen.cpp
@@ -10,7 +10,7 @@
#include <tdelocale.h>
#include <tdeglobalsettings.h>
-TDevSplashScreen::TDevSplashScreen(const TQPixmap& pixmap, WFlags f) : TQSplashScreen(pixmap, f)
+KDevSplashScreen::KDevSplashScreen(const TQPixmap& pixmap, WFlags f) : TQSplashScreen(pixmap, f)
{
TQTimer *timer = new TQTimer( this );
TQObject::connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(animate()));
@@ -21,19 +21,19 @@ TDevSplashScreen::TDevSplashScreen(const TQPixmap& pixmap, WFlags f) : TQSplashS
}
-TDevSplashScreen::~TDevSplashScreen()
+KDevSplashScreen::~KDevSplashScreen()
{
}
-void TDevSplashScreen::animate()
+void KDevSplashScreen::animate()
{
state = ((state + 1) % (2*progress_bar_size-1));
repaint();
}
-void TDevSplashScreen::message( const TQString &str, int flags, const TQColor &color)
+void KDevSplashScreen::message( const TQString &str, int flags, const TQColor &color)
{
TQSplashScreen::message(str,flags,color);
animate();
@@ -41,7 +41,7 @@ void TDevSplashScreen::message( const TQString &str, int flags, const TQColor &c
}
-void TDevSplashScreen::drawContents (TQPainter* painter)
+void KDevSplashScreen::drawContents (TQPainter* painter)
{
int position;
TQColor base_color (201,229,165); // Base green color