From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/randr/configdialog.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'kcontrol/randr/configdialog.h') diff --git a/kcontrol/randr/configdialog.h b/kcontrol/randr/configdialog.h index c307a8aaa..dab9a7bb8 100644 --- a/kcontrol/randr/configdialog.h +++ b/kcontrol/randr/configdialog.h @@ -20,12 +20,12 @@ #ifndef CONFIGDIALOG_H #define CONFIGDIALOG_H -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include #include #include @@ -59,30 +59,30 @@ private: class ListView : public KListView { public: - ListView( ConfigDialog* configWidget, QWidget *parent, const char *name ) + ListView( ConfigDialog* configWidget, TQWidget *parent, const char *name ) : KListView( parent, name ), _configWidget( configWidget ), _regExpEditor(0L) {} - // QListView has a weird idea of a sizeHint... - virtual QSize sizeHint () const { + // TQListView has a weird idea of a sizeHint... + virtual TQSize sizeHint () const { int w = minimumSizeHint().width(); int h = header()->height(); h += viewport()->sizeHint().height(); h += horizontalScrollBar()->height(); - QListViewItem *item = firstChild(); + TQListViewItem *item = firstChild(); while ( item ) { h += item->totalHeight(); item = item->nextSibling(); } - return QSize( w, h ); + return TQSize( w, h ); } protected: - virtual void rename( QListViewItem* item, int c ); + virtual void rename( TQListViewItem* item, int c ); private: ConfigDialog* _configWidget; - QDialog* _regExpEditor; + TQDialog* _regExpEditor; }; #endif // CONFIGDIALOG_H -- cgit v1.2.3