diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /examples/qdir/qdir.h | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'examples/qdir/qdir.h')
-rw-r--r-- | examples/qdir/qdir.h | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/examples/qdir/qdir.h b/examples/qdir/qdir.h deleted file mode 100644 index 86dde7072..000000000 --- a/examples/qdir/qdir.h +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. -** -** This file is part of an example program for TQt. This example -** program may be used, distributed and modified without limitation. -** -*****************************************************************************/ - -#ifndef TQDIREXAMPLE_H -#define TQDIREXAMPLE_H - -#include <qscrollview.h> -#include <qfiledialog.h> -#include <qwidgetstack.h> -#include <qvbox.h> -#include <qurl.h> -#include <qpixmap.h> -#include <qstringlist.h> - -class TQMultiLineEdit; -class TQTextView; -class DirectoryView; -class TQSpinBox; -class TQShowEvent; -class TQPopupMenu; - -class PixmapView : public TQScrollView -{ - Q_OBJECT - -public: - PixmapView( TQWidget *parent ); - void setPixmap( const TQPixmap &pix ); - void drawContents( TQPainter *p, int, int, int, int ); - -private: - TQPixmap pixmap; - -}; - -class Preview : public TQWidgetStack -{ - Q_OBJECT - -public: - Preview( TQWidget *parent ); - void showPreview( const TQUrl &u, int size ); - -private: - TQMultiLineEdit *normalText; - TQTextView *html; - PixmapView *pixmap; - -}; - -class PreviewWidget : public TQVBox, - public TQFilePreview -{ - Q_OBJECT - -public: - PreviewWidget( TQWidget *parent ); - void previewUrl( const TQUrl &u ); - -private: - TQSpinBox *sizeSpinBox; - Preview *preview; - -}; - -class CustomFileDialog : public TQFileDialog -{ - Q_OBJECT - -public: - CustomFileDialog(); - ~CustomFileDialog(); - -protected: - void showEvent( TQShowEvent *e ); - -public slots: - void setDir2( const TQString & ); - -private slots: - void bookmarkChosen( int i ); - void goHome(); - -private: - DirectoryView *dirView; - TQPopupMenu *bookmarkMenu; - TQStringList bookmarkList; - int addId; - -}; - -#endif |