summaryrefslogtreecommitdiffstats
path: root/tdeprint/tdeprintfax
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 21:03:36 +0900
committerMichele Calgaro <[email protected]>2023-11-14 12:59:42 +0900
commita49b0e2c531c81e420dc103b5130e2fa8643f46d (patch)
tree42ee6213b300c2366208f6c122bee39845b5a89c /tdeprint/tdeprintfax
parent36eda89f538b610db9dbda129d7c8e81089caf1a (diff)
downloadtdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz
tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'tdeprint/tdeprintfax')
-rw-r--r--tdeprint/tdeprintfax/faxctrl.cpp2
-rw-r--r--tdeprint/tdeprintfax/tdeprintfax.cpp20
2 files changed, 11 insertions, 11 deletions
diff --git a/tdeprint/tdeprintfax/faxctrl.cpp b/tdeprint/tdeprintfax/faxctrl.cpp
index 0c3febd86..f87ee4377 100644
--- a/tdeprint/tdeprintfax/faxctrl.cpp
+++ b/tdeprint/tdeprintfax/faxctrl.cpp
@@ -522,7 +522,7 @@ void FaxCtrl::viewLog(TQWidget *)
m_logview = new KTextEdit(topView);
m_logview->setTextFormat( TQt::LogText );
m_logview->setWordWrap( TQTextEdit::WidgetWidth );
- m_logview->setPaper( Qt::white );
+ m_logview->setPaper( TQt::white );
//m_logview->setReadOnly(true);
//m_logview->setWordWrap(TQTextEdit::NoWrap);
TQPushButton *m_clear = new KPushButton(KStdGuiItem::clear(), topView);
diff --git a/tdeprint/tdeprintfax/tdeprintfax.cpp b/tdeprint/tdeprintfax/tdeprintfax.cpp
index 2927d4e88..4cf67d0ca 100644
--- a/tdeprint/tdeprintfax/tdeprintfax.cpp
+++ b/tdeprint/tdeprintfax/tdeprintfax.cpp
@@ -133,7 +133,7 @@ KdeprintFax::KdeprintFax(TQWidget *parent, const char *name)
TQGridLayout *l0 = new TQGridLayout(mainw, 10, 2, 10, 5);
l0->setColStretch(1,1);
- l0->addWidget(m_filelabel, 0, 0, Qt::AlignLeft|Qt::AlignTop);
+ l0->addWidget(m_filelabel, 0, 0, TQt::AlignLeft|TQt::AlignTop);
TQHBoxLayout *l2 = new TQHBoxLayout( 0, 0, 10 );
TQVBoxLayout *l3 = new TQVBoxLayout( 0, 0, 5 );
l0->addLayout( l2, 0, 1 );
@@ -159,7 +159,7 @@ KdeprintFax::KdeprintFax(TQWidget *parent, const char *name)
l0->addWidget( m_cover, 6, 1 );
l0->addWidget( m_subjectlabel, 7, 0 );
l0->addWidget( m_subject, 7, 1 );
- l0->addWidget(m_commentlabel, 8, 0, Qt::AlignTop|Qt::AlignLeft);
+ l0->addWidget(m_commentlabel, 8, 0, TQt::AlignTop|TQt::AlignLeft);
l0->addWidget(m_comment, 8, 1);
l0->addWidget(m_timelabel, 9, 0);
TQHBoxLayout *l1 = new TQHBoxLayout(0, 0, 5);
@@ -188,14 +188,14 @@ KdeprintFax::~KdeprintFax()
void KdeprintFax::initActions()
{
- new TDEAction(i18n("&Add File..."), "document-new", Qt::Key_Insert, TQT_TQOBJECT(this), TQT_SLOT(slotAdd()), actionCollection(), "file_add");
- new TDEAction(i18n("&Remove File"), "remove", Qt::Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemove()), actionCollection(), "file_remove");
- new TDEAction(i18n("&Send Fax"), "connect_established", Qt::Key_Return, TQT_TQOBJECT(this), TQT_SLOT(slotFax()), actionCollection(), "fax_send");
- new TDEAction(i18n("A&bort"), "process-stop", Qt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(slotAbort()), actionCollection(), "fax_stop");
- new TDEAction(i18n("A&ddress Book"), "kaddressbook", Qt::CTRL+Qt::Key_A, TQT_TQOBJECT(this), TQT_SLOT(slotKab()), actionCollection(), "fax_ab");
- new TDEAction(i18n("V&iew Log"), "contents", Qt::CTRL+Qt::Key_L, TQT_TQOBJECT(this), TQT_SLOT(slotViewLog()), actionCollection(), "fax_log");
- new TDEAction(i18n("Vi&ew File"), "filefind", Qt::CTRL+Qt::Key_O, TQT_TQOBJECT(this), TQT_SLOT(slotView()), actionCollection(), "file_view");
- new TDEAction( i18n( "&New Fax Recipient..." ), "edit", Qt::CTRL+Qt::Key_N, TQT_TQOBJECT(this), TQT_SLOT( slotFaxAdd() ), actionCollection(), "fax_add" );
+ new TDEAction(i18n("&Add File..."), "document-new", TQt::Key_Insert, TQT_TQOBJECT(this), TQT_SLOT(slotAdd()), actionCollection(), "file_add");
+ new TDEAction(i18n("&Remove File"), "remove", TQt::Key_Delete, TQT_TQOBJECT(this), TQT_SLOT(slotRemove()), actionCollection(), "file_remove");
+ new TDEAction(i18n("&Send Fax"), "connect_established", TQt::Key_Return, TQT_TQOBJECT(this), TQT_SLOT(slotFax()), actionCollection(), "fax_send");
+ new TDEAction(i18n("A&bort"), "process-stop", TQt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(slotAbort()), actionCollection(), "fax_stop");
+ new TDEAction(i18n("A&ddress Book"), "kaddressbook", TQt::CTRL+TQt::Key_A, TQT_TQOBJECT(this), TQT_SLOT(slotKab()), actionCollection(), "fax_ab");
+ new TDEAction(i18n("V&iew Log"), "contents", TQt::CTRL+TQt::Key_L, TQT_TQOBJECT(this), TQT_SLOT(slotViewLog()), actionCollection(), "fax_log");
+ new TDEAction(i18n("Vi&ew File"), "filefind", TQt::CTRL+TQt::Key_O, TQT_TQOBJECT(this), TQT_SLOT(slotView()), actionCollection(), "file_view");
+ new TDEAction( i18n( "&New Fax Recipient..." ), "edit", TQt::CTRL+TQt::Key_N, TQT_TQOBJECT(this), TQT_SLOT( slotFaxAdd() ), actionCollection(), "fax_add" );
KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(slotQuit()), actionCollection());
setStandardToolBarMenuEnabled(true);