summaryrefslogtreecommitdiffstats
path: root/kdat/BackupOptDlg.cpp
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/BackupOptDlg.cpp
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/BackupOptDlg.cpp')
-rw-r--r--kdat/BackupOptDlg.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdat/BackupOptDlg.cpp b/kdat/BackupOptDlg.cpp
index de4622a..b5311ac 100644
--- a/kdat/BackupOptDlg.cpp
+++ b/kdat/BackupOptDlg.cpp
@@ -18,7 +18,7 @@
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
-#include <qlayout.h>
+#include <tqlayout.h>
#include <kpushbutton.h>
#include <kstdguiitem.h>
@@ -30,8 +30,8 @@
#include "BackupOptDlg.moc"
-BackupOptDlg::BackupOptDlg( BackupProfile* backupProfile, QWidget* parent, const char* name )
- : QDialog( parent, name, TRUE )
+BackupOptDlg::BackupOptDlg( BackupProfile* backupProfile, TQWidget* parent, const char* name )
+ : TQDialog( parent, name, TRUE )
{
setIconText( i18n( "KDat: Backup Options" ) );
setCaption( i18n( "KDat: Backup Options" ) );
@@ -43,15 +43,15 @@ BackupOptDlg::BackupOptDlg( BackupProfile* backupProfile, QWidget* parent, const
KPushButton* ok = new KPushButton( KStdGuiItem::ok(), this );
ok->setFixedSize( 80, ok->sizeHint().height() );
- connect( ok, SIGNAL( clicked() ), this, SLOT( accept() ) );
+ connect( ok, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
KPushButton* cancel = new KPushButton( KStdGuiItem::cancel(), this );
cancel->setFixedSize( 80, ok->sizeHint().height() );
- connect( cancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
+ connect( cancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
- QVBoxLayout* l1 = new QVBoxLayout( this, 8, 4 );
+ TQVBoxLayout* l1 = new TQVBoxLayout( this, 8, 4 );
l1->addWidget( _profile, 1 );
- QHBoxLayout* l1_1 = new QHBoxLayout();
+ TQHBoxLayout* l1_1 = new TQHBoxLayout();
l1->addLayout( l1_1 );
l1_1->addStretch( 1 );
l1_1->addWidget( ok );
@@ -64,17 +64,17 @@ BackupOptDlg::~BackupOptDlg()
{
}
-QString BackupOptDlg::getArchiveName()
+TQString BackupOptDlg::getArchiveName()
{
return _profile->getArchiveName();
}
-QString BackupOptDlg::getWorkingDirectory()
+TQString BackupOptDlg::getWorkingDirectory()
{
return _profile->getWorkingDirectory();
}
-const QStringList& BackupOptDlg::getRelativeFiles()
+const TQStringList& BackupOptDlg::getRelativeFiles()
{
return _profile->getRelativeFiles();
}
@@ -89,7 +89,7 @@ bool BackupOptDlg::isIncremental()
return _profile->isIncremental();
}
-QString BackupOptDlg::getSnapshotFile()
+TQString BackupOptDlg::getSnapshotFile()
{
return _profile->getSnapshotFile();
}