summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2003-06-15 00:12:38 (UTC)
committer llornkcor <llornkcor>2003-06-15 00:12:38 (UTC)
commit7feda6ad0e05602d0a939f9867f296f62ae758cd (patch) (side-by-side diff)
tree8240dd754d2e1dd4a72b5cddc11f37d44a680b6a
parentceaa4586c271b04f312109d6b1dd1be8be6e3afd (diff)
downloadopie-7feda6ad0e05602d0a939f9867f296f62ae758cd.zip
opie-7feda6ad0e05602d0a939f9867f296f62ae758cd.tar.gz
opie-7feda6ad0e05602d0a939f9867f296f62ae758cd.tar.bz2
fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/applets/screenshotapplet/screenshot.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp
index fab4044..b987392 100644
--- a/core/applets/screenshotapplet/screenshot.cpp
+++ b/core/applets/screenshotapplet/screenshot.cpp
@@ -15,41 +15,25 @@
#include "screenshot.h"
#include "inputDialog.h"
-#include <qapplication.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
-#include <qpe/resource.h>
#include <qpe/qpeapplication.h>
-#include <qpe/timestring.h>
-#include <qpe/resource.h>
-#include <qpe/config.h>
#include <qpe/applnk.h>
-#include <qpe/config.h>
#include <qlineedit.h>
#include <qdir.h>
-#include <qfileinfo.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qpainter.h>
-#include <qcombobox.h>
#include <qspinbox.h>
-#include <qslider.h>
#include <qlayout.h>
-#include <qframe.h>
-#include <qpixmap.h>
-#include <qregexp.h>
-#include <qstring.h>
-#include <qfile.h>
-#include <qtimer.h>
-#include <qfile.h>
-#include <qdatastream.h>
#include <qcheckbox.h>
#include <qmessagebox.h>
+#include <qimage.h>
static char * snapshot_xpm[] = {
@@ -201,7 +185,7 @@ void ScreenshotControl::savePixmap()
}
else {
- fileName = "sc_" + TimeString::dateString( QDateTime::currentDateTime(), false, true);
+ fileName = "sc_" + QDateTime::currentDateTime().toString();
fileName.replace(QRegExp("'"), "");
fileName.replace(QRegExp(" "), "_");
fileName.replace(QRegExp(":"), ".");