diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/randr/configdialog.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/randr/configdialog.h')
-rw-r--r-- | kcontrol/randr/configdialog.h | 26 |
1 files changed, 13 insertions, 13 deletions
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 <qcheckbox.h> -#include <qevent.h> -#include <qgroupbox.h> -#include <qheader.h> -#include <qradiobutton.h> -#include <qvbox.h> +#include <tqcheckbox.h> +#include <tqevent.h> +#include <tqgroupbox.h> +#include <tqheader.h> +#include <tqradiobutton.h> +#include <tqvbox.h> #include <kdialogbase.h> #include <keditlistbox.h> @@ -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 |