-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 @@ -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(":"), "."); |