summaryrefslogtreecommitdiff
path: root/noncore/multimedia/showimg/showimg.h
Side-by-side diff
Diffstat (limited to 'noncore/multimedia/showimg/showimg.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/showimg/showimg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/multimedia/showimg/showimg.h b/noncore/multimedia/showimg/showimg.h
index abbd976..da4c0b6 100644
--- a/noncore/multimedia/showimg/showimg.h
+++ b/noncore/multimedia/showimg/showimg.h
@@ -14,49 +14,49 @@
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#ifndef SHOWIMG_H
#define SHOWIMG_H
#include <qwidget.h>
#include <qmainwindow.h>
#include <qimage.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qscrollview.h>
#include <qdialog.h>
#include <qstringlist.h>
#include <qvaluelist.h>
#include <qwmatrix.h>
class QAction;
class QPEToolBar;
-class QPEMenuBar;
+class QMenuBar;
class QPopupMenu;
class QWidgetStack;
class FileSelector;
class DocLnk;
class QLabel;
class QAction;
class QSpinBox;
class ImageFileSelector;
class QTimer;
class ImageWidget : public QWidget
{
Q_OBJECT
public:
ImageWidget( QWidget *parent=0 )
: QWidget( parent ) {
setBackgroundMode(NoBackground);
}
~ImageWidget() { }
void setPixmap( const QPixmap &pm ) {
pixmap = pm;
show();
@@ -229,50 +229,50 @@ private slots:
void rot90();
void rot270();
void normalView();
void fullScreen();
void stopSlideShow();
void blackAndWhite();
void displayInfoDialog();
void displayControlsDialog();
private:
QWMatrix matrix;
bool rotated90;
enum MENU_ITEMS {
SHOW_THUMBNAILS,
SIZE_TO_SCREEN,
BLACKANDWHITE
};
QString filename;
QString delayLoad;
QImage image; // the loaded image
QPixmap pm; // the converted pixmap
QPixmap pmScaled; // the scaled pixmap
QPEToolBar *toolBar;
QPEToolBar *iconToolBar;
- QPEMenuBar *menuBar;
- QPEMenuBar *current;
+ QMenuBar *menuBar;
+ QMenuBar *current;
QPopupMenu *fileMenuFile;
QPopupMenu *viewMenuFile;
QPopupMenu *optionsMenuFile;
QPopupMenu *fileMenuView;
QPopupMenu *viewMenuView;
QAction *sss; // scale to screen size
QLabel *lab;
ImagePane *imagePanel;
QWidgetStack *stack;
//FileSelector *fileSelector;
ImageFileSelector *fileSelector;
bool isFullScreen;
bool isSized; // true if image is to be resized to fit the window size
bool bFromDocView; // a flag to indicate whether or not we were
// launched from the document view...
int slideDelay;
bool slideRepeat;
bool slideReverse; // show slideshow in reverse order
bool rotateOnLoad; // rotate by 90 degrees on loading