From a5edd20f0de599dbe7f7f00a184b78ac5156a846 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:17:20 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1158418 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdm/kfrontend/kchooser.h | 10 +++++----- kdm/kfrontend/kconsole.h | 2 +- kdm/kfrontend/kdmshutdown.h | 12 ++++++------ kdm/kfrontend/kfdialog.h | 2 +- kdm/kfrontend/kgdialog.h | 4 ++-- kdm/kfrontend/kgreeter.cpp | 2 +- kdm/kfrontend/kgreeter.h | 8 ++++---- kdm/kfrontend/kgverify.cpp | 2 +- kdm/kfrontend/kgverify.h | 8 ++++---- kdm/kfrontend/themer/kdmitem.h | 4 ++-- kdm/kfrontend/themer/kdmlabel.h | 2 +- kdm/kfrontend/themer/kdmlayout.h | 4 ++-- kdm/kfrontend/themer/kdmthemer.h | 6 +++--- 13 files changed, 33 insertions(+), 33 deletions(-) (limited to 'kdm/kfrontend') diff --git a/kdm/kfrontend/kchooser.h b/kdm/kfrontend/kchooser.h index 354b3f1ef..da5b83d89 100644 --- a/kdm/kfrontend/kchooser.h +++ b/kdm/kfrontend/kchooser.h @@ -26,11 +26,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "kgdialog.h" -class QSocketNotifier; -class QPopupMenu; -class QLineEdit; -class QListView; -class QListViewItem; +class TQSocketNotifier; +class TQPopupMenu; +class TQLineEdit; +class TQListView; +class TQListViewItem; class ChooserDlg : public KGDialog { Q_OBJECT diff --git a/kdm/kfrontend/kconsole.h b/kdm/kfrontend/kconsole.h index cbf025626..73d13912e 100644 --- a/kdm/kfrontend/kconsole.h +++ b/kdm/kfrontend/kconsole.h @@ -26,7 +26,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include -class QSocketNotifier; +class TQSocketNotifier; class KPty; class KConsole : public TQTextEdit { diff --git a/kdm/kfrontend/kdmshutdown.h b/kdm/kfrontend/kdmshutdown.h index 88b06128a..c9084c153 100644 --- a/kdm/kfrontend/kdmshutdown.h +++ b/kdm/kfrontend/kdmshutdown.h @@ -35,13 +35,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include #include -class QLabel; +class TQLabel; class KPushButton; -class QButtonGroup; -class QGroupBox; -class QComboBox; -class QCheckBox; -class QLineEdit; +class TQButtonGroup; +class TQGroupBox; +class TQComboBox; +class TQCheckBox; +class TQLineEdit; enum { Authed = TQDialog::Accepted + 1, Schedule }; diff --git a/kdm/kfrontend/kfdialog.h b/kdm/kfrontend/kfdialog.h index 3f0524b84..783ce0ae8 100644 --- a/kdm/kfrontend/kfdialog.h +++ b/kdm/kfrontend/kfdialog.h @@ -29,7 +29,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include #include -class QFrame; +class TQFrame; class FDialog : public TQDialog { typedef TQDialog inherited; diff --git a/kdm/kfrontend/kgdialog.h b/kdm/kfrontend/kgdialog.h index f42a506ea..2c683760e 100644 --- a/kdm/kfrontend/kgdialog.h +++ b/kdm/kfrontend/kgdialog.h @@ -31,8 +31,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "kdmconfig.h" #include "kfdialog.h" -class QPopupMenu; -class QGridLayout; +class TQPopupMenu; +class TQGridLayout; class KConsole; class KGVerify; diff --git a/kdm/kfrontend/kgreeter.cpp b/kdm/kfrontend/kgreeter.cpp index aa18afc6c..ebd303525 100644 --- a/kdm/kfrontend/kgreeter.cpp +++ b/kdm/kfrontend/kgreeter.cpp @@ -128,7 +128,7 @@ KGreeter::KGreeter( bool framed ) TQT_SLOT(accept()) ); } if (_userCompletion) - userList = new QStringList; + userList = new TQStringList; if (userView || userList) insertUsers(); diff --git a/kdm/kfrontend/kgreeter.h b/kdm/kfrontend/kgreeter.h index c81e4eaed..61673badf 100644 --- a/kdm/kfrontend/kgreeter.h +++ b/kdm/kfrontend/kgreeter.h @@ -37,10 +37,10 @@ class KdmItem; class KListView; class KSimpleConfig; -class QLabel; -class QPushButton; -class QPopupMenu; -class QListViewItem; +class TQLabel; +class TQPushButton; +class TQPopupMenu; +class TQListViewItem; struct SessType { TQString name, type; diff --git a/kdm/kfrontend/kgverify.cpp b/kdm/kfrontend/kgverify.cpp index ff8804f4d..98abb4fb5 100644 --- a/kdm/kfrontend/kgverify.cpp +++ b/kdm/kfrontend/kgverify.cpp @@ -922,7 +922,7 @@ KGStdVerify::KGStdVerify( KGVerifyHandler *_handler, TQWidget *_parent, _pluginList, _func, _ctx ) , failedLabelState( 0 ) { - grid = new QGridLayout; + grid = new TQGridLayout; grid->setAlignment( AlignCenter ); failedLabel = new TQLabel( parent ); diff --git a/kdm/kfrontend/kgverify.h b/kdm/kfrontend/kgverify.h index ef2ed2469..0276b2f97 100644 --- a/kdm/kfrontend/kgverify.h +++ b/kdm/kfrontend/kgverify.h @@ -71,10 +71,10 @@ class KGVerifyHandler { virtual void updateStatus( bool fail, bool caps, int left ); // for themed only }; -class QWidget; -class QLabel; -class QPopupMenu; -class QTimer; +class TQWidget; +class TQLabel; +class TQPopupMenu; +class TQTimer; class KPushButton; class KLibrary; diff --git a/kdm/kfrontend/themer/kdmitem.h b/kdm/kfrontend/themer/kdmitem.h index 9105f8b93..6a73c889f 100644 --- a/kdm/kfrontend/themer/kdmitem.h +++ b/kdm/kfrontend/themer/kdmitem.h @@ -31,8 +31,8 @@ class KdmItem; class KdmLayoutBox; class KdmLayoutFixed; -class QPainter; -class QLayoutItem; +class TQPainter; +class TQLayoutItem; /** class KdmItem * @short Base class for every kdmthemes' element. diff --git a/kdm/kfrontend/themer/kdmlabel.h b/kdm/kfrontend/themer/kdmlabel.h index 93801d594..0770259c0 100644 --- a/kdm/kfrontend/themer/kdmlabel.h +++ b/kdm/kfrontend/themer/kdmlabel.h @@ -27,7 +27,7 @@ #include #include -class QTimer; +class TQTimer; /* * KdmLabel. A label element diff --git a/kdm/kfrontend/themer/kdmlayout.h b/kdm/kfrontend/themer/kdmlayout.h index 491b20393..4c73e9a1b 100644 --- a/kdm/kfrontend/themer/kdmlayout.h +++ b/kdm/kfrontend/themer/kdmlayout.h @@ -32,8 +32,8 @@ class KdmItem; -class QDomNode; -class QRect; +class TQDomNode; +class TQRect; class KdmLayout { diff --git a/kdm/kfrontend/themer/kdmthemer.h b/kdm/kfrontend/themer/kdmthemer.h index cd93c3c8c..6bf6af00d 100644 --- a/kdm/kfrontend/themer/kdmthemer.h +++ b/kdm/kfrontend/themer/kdmthemer.h @@ -31,9 +31,9 @@ class KdmPixmap; class KdmRect; class KdmBox; -class QRect; -class QWidget; -class QEvent; +class TQRect; +class TQWidget; +class TQEvent; /** * @author Unai Garro -- cgit v1.2.1