summaryrefslogtreecommitdiffstats
path: root/kdat/BackupProfile.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:25:18 +0000
commitaa3a1ca934bc541bddd3fa136a85f106f7da266e (patch)
tree9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kdat/BackupProfile.h
parentb10cf7066791a2f362495890cd50c984e8025412 (diff)
downloadtdeadmin-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/BackupProfile.h')
-rw-r--r--kdat/BackupProfile.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kdat/BackupProfile.h b/kdat/BackupProfile.h
index 2438fc5..048690d 100644
--- a/kdat/BackupProfile.h
+++ b/kdat/BackupProfile.h
@@ -19,22 +19,22 @@
#ifndef _BackupProfile_h_
#define _BackupProfile_h_
-#include <qstring.h>
-#include <qstrlist.h>
+#include <tqstring.h>
+#include <tqstrlist.h>
/**
* @short This class stores all the information necessary to perform a backup.
*/
class BackupProfile {
- QString _name;
- QString _lastSavedName;
- QString _archiveName;
- QString _workingDirectory;
- QStringList _relativeFiles;
- QStringList _absoluteFiles;
+ TQString _name;
+ TQString _lastSavedName;
+ TQString _archiveName;
+ TQString _workingDirectory;
+ TQStringList _relativeFiles;
+ TQStringList _absoluteFiles;
bool _oneFilesystem;
bool _incremental;
- QString _snapshotFile;
+ TQString _snapshotFile;
bool _removeSnapshot;
void calcRelativeFiles();
@@ -49,7 +49,7 @@ public:
*
* @param name The name of the backup profile.
*/
- BackupProfile( const QString & name );
+ BackupProfile( const TQString & name );
/**
* Destroy the backup profile.
@@ -72,35 +72,35 @@ public:
*
* @return The name of this profile.
*/
- QString getName();
+ TQString getName();
/**
* Query the name of the archive.
*
* @return The name of the new archive.
*/
- QString getArchiveName();
+ TQString getArchiveName();
/**
* Query the working directory for the tar command.
*
* @return The working directory.
*/
- QString getWorkingDirectory();
+ TQString getWorkingDirectory();
/**
* Query the list of files to backup, relative to the working directory.
*
* @return The file list.
*/
- const QStringList& getRelativeFiles();
+ const TQStringList& getRelativeFiles();
/**
* Query the list of files to backup, with their full paths.
*
* @return The file list.
*/
- const QStringList& getAbsoluteFiles();
+ const TQStringList& getAbsoluteFiles();
/**
* Query whether or not to cross filesystem boundaries when performing the
@@ -123,7 +123,7 @@ public:
*
* @return The name of the snapshot file.
*/
- QString getSnapshotFile();
+ TQString getSnapshotFile();
/**
* Query whether to remove the snapshot file before beginning an
@@ -138,28 +138,28 @@ public:
*
* @param name The name of this profile.
*/
- void setName( const QString & name );
+ void setName( const TQString & name );
/**
* Set the name of the archive.
*
* @param archiveName The name of the new archive.
*/
- void setArchiveName( const QString & archiveName );
+ void setArchiveName( const TQString & archiveName );
/**
* Set the working directory for the tar command.
*
* @param workingDirectory The working directory.
*/
- void setWorkingDirectory( const QString & workingDirectory );
+ void setWorkingDirectory( const TQString & workingDirectory );
/**
* Set the list of files to backup, with their full paths.
*
* @param files The file list.
*/
- void setAbsoluteFiles( const QStringList& files );
+ void setAbsoluteFiles( const TQStringList& files );
/**
* Set whether or not to cross filesystem boundaries when performing the
@@ -183,7 +183,7 @@ public:
*
* @param snapshotFile The name of the snapshot file.
*/
- void setSnapshotFile( const QString & snapshotFile );
+ void setSnapshotFile( const TQString & snapshotFile );
/**
* Set whether to remove the snapshot file before beginning an