diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/kpfileselectpage.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/kpfileselectpage.cpp')
-rw-r--r-- | kdeprint/kpfileselectpage.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdeprint/kpfileselectpage.cpp b/kdeprint/kpfileselectpage.cpp index da7f9e115..5292c613f 100644 --- a/kdeprint/kpfileselectpage.cpp +++ b/kdeprint/kpfileselectpage.cpp @@ -20,14 +20,14 @@ #include "kpfileselectpage.h" #include "kfilelist.h" -#include <qlayout.h> -#include <qstringlist.h> -#include <qregexp.h> -#include <qheader.h> +#include <tqlayout.h> +#include <tqstringlist.h> +#include <tqregexp.h> +#include <tqheader.h> #include <klocale.h> #include <kiconloader.h> -KPFileSelectPage::KPFileSelectPage(QWidget *parent, const char *name) +KPFileSelectPage::KPFileSelectPage(TQWidget *parent, const char *name) : KPrintDialogPage(parent, name) { setTitle(i18n("&Files")); @@ -35,13 +35,13 @@ KPFileSelectPage::KPFileSelectPage(QWidget *parent, const char *name) m_files = new KFileList(this); - QHBoxLayout *l0 = new QHBoxLayout(this, 0, 10); + QHBoxLayout *l0 = new TQHBoxLayout(this, 0, 10); l0->addWidget(m_files); resize(100, 100); } -void KPFileSelectPage::getOptions(QMap<QString,QString>& opts, bool incldef) +void KPFileSelectPage::getOptions(TQMap<TQString,TQString>& opts, bool incldef) { // (incldef == false) is a hint telling that it should be the last time // and we want to do it only once @@ -52,12 +52,12 @@ void KPFileSelectPage::getOptions(QMap<QString,QString>& opts, bool incldef) } } -void KPFileSelectPage::setOptions(const QMap<QString,QString>& opts) +void KPFileSelectPage::setOptions(const TQMap<TQString,TQString>& opts) { // do it only once as files will only be selected there if (m_first) { - QStringList l = QStringList::split("@@", opts["kde-filelist"], false); + QStringList l = TQStringList::split("@@", opts["kde-filelist"], false); m_files->setFileList(l); m_first = false; |