author | llornkcor <llornkcor> | 2003-06-15 00:12:38 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-06-15 00:12:38 (UTC) |
commit | 7feda6ad0e05602d0a939f9867f296f62ae758cd (patch) (side-by-side diff) | |
tree | 8240dd754d2e1dd4a72b5cddc11f37d44a680b6a /core/applets/screenshotapplet | |
parent | ceaa4586c271b04f312109d6b1dd1be8be6e3afd (diff) | |
download | opie-7feda6ad0e05602d0a939f9867f296f62ae758cd.zip opie-7feda6ad0e05602d0a939f9867f296f62ae758cd.tar.gz opie-7feda6ad0e05602d0a939f9867f296f62ae758cd.tar.bz2 |
fix
-rw-r--r-- | core/applets/screenshotapplet/screenshot.cpp | 20 |
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 @@ -16,5 +16,4 @@ #include "inputDialog.h" -#include <qapplication.h> #include <stdlib.h> #include <sys/socket.h> @@ -23,32 +22,17 @@ #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> @@ -202,5 +186,5 @@ void ScreenshotControl::savePixmap() else { - fileName = "sc_" + TimeString::dateString( QDateTime::currentDateTime(), false, true); + fileName = "sc_" + QDateTime::currentDateTime().toString(); fileName.replace(QRegExp("'"), ""); fileName.replace(QRegExp(" "), "_"); |