diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
commit | aa3a1ca934bc541bddd3fa136a85f106f7da266e (patch) | |
tree | 9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kdat/KDatMainWindow.h | |
parent | b10cf7066791a2f362495890cd50c984e8025412 (diff) | |
download | tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdat/KDatMainWindow.h')
-rw-r--r-- | kdat/KDatMainWindow.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/kdat/KDatMainWindow.h b/kdat/KDatMainWindow.h index 33e6732..9091975 100644 --- a/kdat/KDatMainWindow.h +++ b/kdat/KDatMainWindow.h @@ -21,8 +21,8 @@ #include <kmainwindow.h> #include <kdialog.h> -#include <qpushbutton.h> -#include <qlabel.h> +#include <tqpushbutton.h> +#include <tqlabel.h> class KMenuBar; class QSplitter; @@ -57,20 +57,20 @@ class KDatMainWindow : public KMainWindow { private: bool _destroyed; KMenuBar* _menu; - QPopupMenu* _fileMenu; - QPopupMenu* _editMenu; + TQPopupMenu* _fileMenu; + TQPopupMenu* _editMenu; KToolBar* _toolbar; KStatusBar* _statusBar; - QSplitter* _panner; + TQSplitter* _panner; KTreeView* _tree; - QPopupMenu* _tapeDriveMenu; - QPopupMenu* _archiveMenu; - QPopupMenu* _mountedArchiveMenu; - QPopupMenu* _mountedTapeFileMenu; - QPopupMenu* _localFileMenu; - QPopupMenu* _tapeMenu; - QPopupMenu* _backupProfileRootMenu; - QPopupMenu* _backupProfileMenu; + TQPopupMenu* _tapeDriveMenu; + TQPopupMenu* _archiveMenu; + TQPopupMenu* _mountedArchiveMenu; + TQPopupMenu* _mountedTapeFileMenu; + TQPopupMenu* _localFileMenu; + TQPopupMenu* _tapeMenu; + TQPopupMenu* _backupProfileRootMenu; + TQPopupMenu* _backupProfileMenu; ArchiveInfoWidget* _archiveInfo; BackupProfileInfoWidget* _backupProfileInfo; TapeFileInfoWidget* _tapeFileInfo; @@ -84,8 +84,8 @@ private: void doVerify( bool restore = FALSE ); void setTapePresent( bool tapePresent, bool eject = TRUE ); - int calcBackupSize( const QString& workingDir, bool local, const QStringList& files, - bool incremental, const QString& snapshot, bool removeSnapshot ); + int calcBackupSize( const TQString& workingDir, bool local, const TQStringList& files, + bool incremental, const TQString& snapshot, bool removeSnapshot ); KDatMainWindow(); @@ -93,9 +93,9 @@ private: // used in calcBackupSize() to see whether user cancelled the on-going // backup to tape. KDialog* _backupdialog; - QPushButton* _cancel; - QPushButton* _continue; - QLabel* _lbl; + TQPushButton* _cancel; + TQPushButton* _continue; + TQLabel* _lbl; int stop_flag; void create_backup_dialog(); // 2002-01-24 LEW @@ -106,7 +106,7 @@ private slots: void localCollapsed( int index ); void localSelected( int index ); void localHighlighted( int index ); - void localPopupMenu( int index, const QPoint& p ); + void localPopupMenu( int index, const TQPoint& p ); void fileBackup(); void fileRestore(); @@ -153,56 +153,56 @@ public: * * @param p The upper left corner of the menu. */ - void popupTapeDriveMenu( const QPoint& p ); + void popupTapeDriveMenu( const TQPoint& p ); /** * Display the archive node popup menu. * * @param p The upper left corner of the menu. */ - void popupArchiveMenu( const QPoint& p ); + void popupArchiveMenu( const TQPoint& p ); /** * Display the mounted archive node popup menu. * * @param p The upper left corner of the menu. */ - void popupMountedArchiveMenu( const QPoint& p ); + void popupMountedArchiveMenu( const TQPoint& p ); /** * Display the mounted tape file node popup menu. * * @param p The upper left corner of the menu. */ - void popupMountedTapeFileMenu( const QPoint& p ); + void popupMountedTapeFileMenu( const TQPoint& p ); /** * Display the local file node popup menu. * * @param p The upper left corner of the menu. */ - void popupLocalFileMenu( const QPoint& p ); + void popupLocalFileMenu( const TQPoint& p ); /** * Display the tape index node popup menu. * * @param p The upper left corner of the menu. */ - void popupTapeMenu( const QPoint& p ); + void popupTapeMenu( const TQPoint& p ); /** * Display the backup profile root node popup menu. * * @param p The upper left corner of the menu. */ - void popupBackupProfileRootMenu( const QPoint& p ); + void popupBackupProfileRootMenu( const TQPoint& p ); /** * Display the backup profile node popup menu. * * @param p The upper left corner of the menu. */ - void popupBackupProfileMenu( const QPoint& p ); + void popupBackupProfileMenu( const TQPoint& p ); /** * Hide all of the info viewers. @@ -242,7 +242,7 @@ public: * * @param file The full path name of the file to display. */ - void showFileInfo( const QString & name ); + void showFileInfo( const TQString & name ); /** * Make sure that the user interface is consistent for the given mounted @@ -258,14 +258,14 @@ public: * * @param files This list will be filled with the selected files. */ - void getBackupFiles( QStringList& files ); + void getBackupFiles( TQStringList& files ); /** * Set the list of all the files selected for backup. * * @param files This list will become the selection. */ - void setBackupFiles( const QStringList& files ); + void setBackupFiles( const TQStringList& files ); public slots: /** @@ -273,7 +273,7 @@ public slots: * * @param msg The message to display. */ - void status( const QString & msg ); + void status( const TQString & msg ); /** * Initialize the KDat main window before displaying. |