diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 21:03:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-14 12:59:42 +0900 |
commit | a49b0e2c531c81e420dc103b5130e2fa8643f46d (patch) | |
tree | 42ee6213b300c2366208f6c122bee39845b5a89c /ksplashml/kcmksplash | |
parent | 36eda89f538b610db9dbda129d7c8e81089caf1a (diff) | |
download | tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'ksplashml/kcmksplash')
-rw-r--r-- | ksplashml/kcmksplash/installer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ksplashml/kcmksplash/installer.cpp b/ksplashml/kcmksplash/installer.cpp index 7ee681907..66b6eb83b 100644 --- a/ksplashml/kcmksplash/installer.cpp +++ b/ksplashml/kcmksplash/installer.cpp @@ -56,7 +56,7 @@ void ThemeListBox::dropEvent(TQDropEvent* event) void ThemeListBox::slotMouseButtonPressed(int button, TQListBoxItem *item, const TQPoint &p) { - if ((button & Qt::LeftButton) == 0) return; + if ((button & TQt::LeftButton) == 0) return; mOldPos = p; mDragFile = TQString::null; int cur = index(item); @@ -66,7 +66,7 @@ void ThemeListBox::slotMouseButtonPressed(int button, TQListBoxItem *item, const void ThemeListBox::mouseMoveEvent(TQMouseEvent *e) { - if (((e->state() & Qt::LeftButton) != 0) && !mDragFile.isEmpty()) + if (((e->state() & TQt::LeftButton) != 0) && !mDragFile.isEmpty()) { int delay = TDEGlobalSettings::dndEventDelay(); TQPoint newPos = e->globalPos(); @@ -123,7 +123,7 @@ SplashInstaller::SplashInstaller (TQWidget *aParent, const char *aName, bool aIn mPreview->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ); mPreview->setFrameStyle(TQFrame::Panel|TQFrame::Sunken); mPreview->setMinimumSize(TQSize(320,240)); - mPreview->setAlignment(Qt::AlignHCenter|Qt::AlignVCenter); + mPreview->setAlignment(TQt::AlignHCenter|TQt::AlignVCenter); rightbox->addWidget(mPreview); rightbox->setStretchFactor( mPreview, 3 ); |