diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-10 18:56:16 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-10 18:56:16 +0900 |
commit | 252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch) | |
tree | b48be8863db3bc1c223ac270a258b5c1124cb0e3 /examples/qdir/ntqdir.h | |
parent | 87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff) | |
download | tqt-252a2ec8.tar.gz tqt-252a2ec8.zip |
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/qdir/ntqdir.h')
-rw-r--r-- | examples/qdir/ntqdir.h | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/examples/qdir/ntqdir.h b/examples/qdir/ntqdir.h deleted file mode 100644 index a7b5fa4f0..000000000 --- a/examples/qdir/ntqdir.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 <ntqscrollview.h> -#include <ntqfiledialog.h> -#include <tqwidgetstack.h> -#include <ntqvbox.h> -#include <ntqurl.h> -#include <ntqpixmap.h> -#include <tqstringlist.h> - -class TQMultiLineEdit; -class TQTextView; -class DirectoryView; -class TQSpinBox; -class TQShowEvent; -class TQPopupMenu; - -class PixmapView : public TQScrollView -{ - TQ_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 -{ - TQ_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 -{ - TQ_OBJECT - -public: - PreviewWidget( TQWidget *parent ); - void previewUrl( const TQUrl &u ); - -private: - TQSpinBox *sizeSpinBox; - Preview *preview; - -}; - -class CustomFileDialog : public TQFileDialog -{ - TQ_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 |