summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins')
-rw-r--r--korganizer/plugins/datenums/configdialog.h2
-rw-r--r--korganizer/plugins/exchange/exchange.cpp26
-rw-r--r--korganizer/plugins/exchange/exchange.h2
-rw-r--r--korganizer/plugins/exchange/exchangeconfig.cpp6
-rw-r--r--korganizer/plugins/exchange/exchangeconfig.h2
-rw-r--r--korganizer/plugins/exchange/exchangedialog.h2
-rw-r--r--korganizer/plugins/hebrew/configdialog.h2
-rw-r--r--korganizer/plugins/printing/journal/calprintjournalconfig_base.ui7
-rw-r--r--korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui7
-rw-r--r--korganizer/plugins/projectview/koprojectview.cpp10
-rw-r--r--korganizer/plugins/projectview/koprojectview.h2
-rw-r--r--korganizer/plugins/projectview/projectview.cpp2
-rw-r--r--korganizer/plugins/projectview/projectview.h2
-rw-r--r--korganizer/plugins/timespanview/kotimespanview.cpp2
-rw-r--r--korganizer/plugins/timespanview/kotimespanview.h2
-rw-r--r--korganizer/plugins/timespanview/lineview.h2
-rw-r--r--korganizer/plugins/timespanview/timeline.h2
-rw-r--r--korganizer/plugins/timespanview/timespanview.cpp2
-rw-r--r--korganizer/plugins/timespanview/timespanview.h2
-rw-r--r--korganizer/plugins/timespanview/timespanwidget.cpp10
-rw-r--r--korganizer/plugins/timespanview/timespanwidget.h2
21 files changed, 47 insertions, 49 deletions
diff --git a/korganizer/plugins/datenums/configdialog.h b/korganizer/plugins/datenums/configdialog.h
index d5e6a52c..9bc2bc87 100644
--- a/korganizer/plugins/datenums/configdialog.h
+++ b/korganizer/plugins/datenums/configdialog.h
@@ -25,7 +25,7 @@ class TQButtonGroup;
class ConfigDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ConfigDialog(TQWidget *parent=0);
diff --git a/korganizer/plugins/exchange/exchange.cpp b/korganizer/plugins/exchange/exchange.cpp
index e0bc1ab7..3a55cba9 100644
--- a/korganizer/plugins/exchange/exchange.cpp
+++ b/korganizer/plugins/exchange/exchange.cpp
@@ -69,29 +69,29 @@ Exchange::Exchange(KOrg::MainWindow *parent, const char *name) :
setXMLFile("plugins/exchangeui.rc");
- new TDEAction(i18n("&Download..."), 0, this, TQT_SLOT(download()),
+ new TDEAction(i18n("&Download..."), 0, this, TQ_SLOT(download()),
actionCollection(), "exchange_download");
- TDEAction *action = new TDEAction(i18n("&Upload Event..."), 0, this, TQT_SLOT(upload()),
+ TDEAction *action = new TDEAction(i18n("&Upload Event..."), 0, this, TQ_SLOT(upload()),
actionCollection(), "exchange_upload");
- TQObject::connect(mainWindow()->view(),TQT_SIGNAL(incidenceSelected(Incidence *)),
- this, TQT_SLOT(slotIncidenceSelected(Incidence *)));
+ TQObject::connect(mainWindow()->view(),TQ_SIGNAL(incidenceSelected(Incidence *)),
+ this, TQ_SLOT(slotIncidenceSelected(Incidence *)));
action->setEnabled( false );
- TQObject::connect(this,TQT_SIGNAL(enableIncidenceActions(bool)),
- action,TQT_SLOT(setEnabled(bool)));
+ TQObject::connect(this,TQ_SIGNAL(enableIncidenceActions(bool)),
+ action,TQ_SLOT(setEnabled(bool)));
- action = new TDEAction(i18n("De&lete Event"), 0, this, TQT_SLOT(remove()),
+ action = new TDEAction(i18n("De&lete Event"), 0, this, TQ_SLOT(remove()),
actionCollection(), "exchange_delete");
- TQObject::connect(this,TQT_SIGNAL(enableIncidenceActions(bool)),
- action,TQT_SLOT(setEnabled(bool)));
+ TQObject::connect(this,TQ_SIGNAL(enableIncidenceActions(bool)),
+ action,TQ_SLOT(setEnabled(bool)));
action->setEnabled( false );
- new TDEAction(i18n("&Configure..."), 0, this, TQT_SLOT(configure()),
+ new TDEAction(i18n("&Configure..."), 0, this, TQ_SLOT(configure()),
actionCollection(), "exchange_configure");
- connect( this, TQT_SIGNAL( calendarChanged() ), mainWindow()->view(), TQT_SLOT( updateView() ) );
- connect( this, TQT_SIGNAL( calendarChanged(const TQDate &, const TQDate &)),
- mainWindow()->view(), TQT_SLOT(updateView(const TQDate &, const TQDate &)) );
+ connect( this, TQ_SIGNAL( calendarChanged() ), mainWindow()->view(), TQ_SLOT( updateView() ) );
+ connect( this, TQ_SIGNAL( calendarChanged(const TQDate &, const TQDate &)),
+ mainWindow()->view(), TQ_SLOT(updateView(const TQDate &, const TQDate &)) );
}
Exchange::~Exchange()
diff --git a/korganizer/plugins/exchange/exchange.h b/korganizer/plugins/exchange/exchange.h
index 8de777fe..26c5e8de 100644
--- a/korganizer/plugins/exchange/exchange.h
+++ b/korganizer/plugins/exchange/exchange.h
@@ -34,7 +34,7 @@
using namespace KCal;
class Exchange : public KOrg::Part {
- Q_OBJECT
+ TQ_OBJECT
public:
Exchange( KOrg::MainWindow *, const char *name );
diff --git a/korganizer/plugins/exchange/exchangeconfig.cpp b/korganizer/plugins/exchange/exchangeconfig.cpp
index 106fc867..913482f3 100644
--- a/korganizer/plugins/exchange/exchangeconfig.cpp
+++ b/korganizer/plugins/exchange/exchangeconfig.cpp
@@ -53,7 +53,7 @@ ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* parent
m_user = new KLineEdit( mAccount->account(), topFrame );
topLayout->addWidget( new TQLabel( i18n( "User:" ), topFrame ), 2, 0 );
topLayout->addWidget( m_user, 2, 1 );
- connect( m_user, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotUserChanged(const TQString&)) );
+ connect( m_user, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(slotUserChanged(const TQString&)) );
m_password = new KLineEdit( mAccount->password(), topFrame );
topLayout->addWidget( new TQLabel( i18n( "Password:" ), topFrame ), 3, 0 );
@@ -62,7 +62,7 @@ ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* parent
m_autoMailbox = new TQCheckBox( i18n( "Determine mailbox automatically" ), topFrame );
topLayout->addMultiCellWidget( m_autoMailbox, 4, 4, 0, 1 );
- connect( m_autoMailbox, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleAuto(bool)) );
+ connect( m_autoMailbox, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotToggleAuto(bool)) );
m_mailbox= new KLineEdit( mAccount->mailbox(), topFrame );
topLayout->addWidget( new TQLabel( i18n( "Mailbox URL:" ), topFrame ), 5, 0 );
@@ -70,7 +70,7 @@ ExchangeConfig::ExchangeConfig( KPIM::ExchangeAccount* account, TQWidget* parent
m_tryFindMailbox = new TQPushButton( "&Find", topFrame );
topLayout->addWidget( m_tryFindMailbox, 5, 2 );
- connect( m_tryFindMailbox, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFindClicked()) );
+ connect( m_tryFindMailbox, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFindClicked()) );
kapp->config()->setGroup( "Calendar/Exchange Plugin" );
bool autoChecked = kapp->config()->readBoolEntry( "auto-mailbox", true );
diff --git a/korganizer/plugins/exchange/exchangeconfig.h b/korganizer/plugins/exchange/exchangeconfig.h
index a7aa3285..dc46da9b 100644
--- a/korganizer/plugins/exchange/exchangeconfig.h
+++ b/korganizer/plugins/exchange/exchangeconfig.h
@@ -29,7 +29,7 @@
class ExchangeConfig : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ExchangeConfig(KPIM::ExchangeAccount* account, TQWidget *parent=0);
diff --git a/korganizer/plugins/exchange/exchangedialog.h b/korganizer/plugins/exchange/exchangedialog.h
index 8c525f2b..fc102072 100644
--- a/korganizer/plugins/exchange/exchangedialog.h
+++ b/korganizer/plugins/exchange/exchangedialog.h
@@ -26,7 +26,7 @@ class TQComboBox;
class ExchangeDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ExchangeDialog( const TQDate &start, const TQDate &end, TQWidget *parent=0);
diff --git a/korganizer/plugins/hebrew/configdialog.h b/korganizer/plugins/hebrew/configdialog.h
index 805ba970..9a9f0b45 100644
--- a/korganizer/plugins/hebrew/configdialog.h
+++ b/korganizer/plugins/hebrew/configdialog.h
@@ -27,7 +27,7 @@
*/
class ConfigDialog:public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/korganizer/plugins/printing/journal/calprintjournalconfig_base.ui b/korganizer/plugins/printing/journal/calprintjournalconfig_base.ui
index 6868729b..7239719e 100644
--- a/korganizer/plugins/printing/journal/calprintjournalconfig_base.ui
+++ b/korganizer/plugins/printing/journal/calprintjournalconfig_base.ui
@@ -194,8 +194,7 @@
<tabstop>mToDate</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kdateedit.h</includehint>
- <includehint>kdateedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kdateedit.h</include>
+</includes>
</UI>
diff --git a/korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui b/korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui
index a3d4fb69..13922223 100644
--- a/korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui
+++ b/korganizer/plugins/printing/whatsnext/calprintwhatsnextconfig_base.ui
@@ -169,8 +169,7 @@
<tabstop>mToDate</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kdateedit.h</includehint>
- <includehint>kdateedit.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kdateedit.h</include>
+</includes>
</UI>
diff --git a/korganizer/plugins/projectview/koprojectview.cpp b/korganizer/plugins/projectview/koprojectview.cpp
index 033b6ba6..8b0e5cbf 100644
--- a/korganizer/plugins/projectview/koprojectview.cpp
+++ b/korganizer/plugins/projectview/koprojectview.cpp
@@ -79,15 +79,15 @@ KOProjectView::KOProjectView(Calendar *calendar,TQWidget* parent,
TQPushButton *zoomIn = new TQPushButton(i18n("Zoom In"),this);
topBar->addWidget(zoomIn,0);
- connect(zoomIn,TQT_SIGNAL(clicked()),TQT_SLOT(zoomIn()));
+ connect(zoomIn,TQ_SIGNAL(clicked()),TQ_SLOT(zoomIn()));
TQPushButton *zoomOut = new TQPushButton(i18n("Zoom Out"),this);
topBar->addWidget(zoomOut,0);
- connect(zoomOut,TQT_SIGNAL(clicked()),TQT_SLOT(zoomOut()));
+ connect(zoomOut,TQ_SIGNAL(clicked()),TQ_SLOT(zoomOut()));
TQPushButton *menuButton = new TQPushButton(i18n("Select Mode"),this);
topBar->addWidget(menuButton,0);
- connect(menuButton,TQT_SIGNAL(clicked()),TQT_SLOT(showModeMenu()));
+ connect(menuButton,TQ_SIGNAL(clicked()),TQ_SLOT(showModeMenu()));
createMainTask();
@@ -239,8 +239,8 @@ KGanttItem *KOProjectView::createTask(KGanttItem *parent,Todo *todo)
KGanttItem *task = new KOProjectViewItem(todo,parent,todo->summary(),startDt,
endDt);
- connect(task,TQT_SIGNAL(changed(KGanttItem*, KGanttItem::Change)),
- TQT_SLOT(taskChanged(KGanttItem*,KGanttItem::Change)));
+ connect(task,TQ_SIGNAL(changed(KGanttItem*, KGanttItem::Change)),
+ TQ_SLOT(taskChanged(KGanttItem*,KGanttItem::Change)));
if (todo->relations().count() > 0) {
task->setBrush(TQBrush(TQColor(240,240,240), TQBrush::Dense4Pattern));
}
diff --git a/korganizer/plugins/projectview/koprojectview.h b/korganizer/plugins/projectview/koprojectview.h
index 5415d381..fada01d5 100644
--- a/korganizer/plugins/projectview/koprojectview.h
+++ b/korganizer/plugins/projectview/koprojectview.h
@@ -65,7 +65,7 @@ class KOProjectViewItem : public KGanttItem {
*/
class KOProjectView : public KOrg::BaseView
{
- Q_OBJECT
+ TQ_OBJECT
public:
KOProjectView(Calendar *, TQWidget* parent=0, const char* name=0 );
diff --git a/korganizer/plugins/projectview/projectview.cpp b/korganizer/plugins/projectview/projectview.cpp
index 60257623..db354184 100644
--- a/korganizer/plugins/projectview/projectview.cpp
+++ b/korganizer/plugins/projectview/projectview.cpp
@@ -52,7 +52,7 @@ ProjectView::ProjectView(KOrg::MainWindow *parent, const char *name) :
setXMLFile("plugins/projectviewui.rc");
- new TDEAction(i18n("&Project"), "project", 0, this, TQT_SLOT(showView()),
+ new TDEAction(i18n("&Project"), "project", 0, this, TQ_SLOT(showView()),
actionCollection(), "view_project");
}
diff --git a/korganizer/plugins/projectview/projectview.h b/korganizer/plugins/projectview/projectview.h
index 1c78ad84..cbb0e8f0 100644
--- a/korganizer/plugins/projectview/projectview.h
+++ b/korganizer/plugins/projectview/projectview.h
@@ -24,7 +24,7 @@
#include <korganizer/calendarviewbase.h>
class ProjectView : public KOrg::Part {
- Q_OBJECT
+ TQ_OBJECT
public:
ProjectView(KOrg::MainWindow *, const char *);
diff --git a/korganizer/plugins/timespanview/kotimespanview.cpp b/korganizer/plugins/timespanview/kotimespanview.cpp
index 8445edf4..00910bfe 100644
--- a/korganizer/plugins/timespanview/kotimespanview.cpp
+++ b/korganizer/plugins/timespanview/kotimespanview.cpp
@@ -44,7 +44,7 @@ KOTimeSpanView::KOTimeSpanView(Calendar *calendar, TQWidget *parent,
mTimeSpanWidget = new TimeSpanWidget( this );
topLayout->addWidget( mTimeSpanWidget );
- connect( mTimeSpanWidget, TQT_SIGNAL( dateRangeChanged() ), TQT_SLOT( updateView() ) );
+ connect( mTimeSpanWidget, TQ_SIGNAL( dateRangeChanged() ), TQ_SLOT( updateView() ) );
}
KOTimeSpanView::~KOTimeSpanView()
diff --git a/korganizer/plugins/timespanview/kotimespanview.h b/korganizer/plugins/timespanview/kotimespanview.h
index b9dec86a..2e487880 100644
--- a/korganizer/plugins/timespanview/kotimespanview.h
+++ b/korganizer/plugins/timespanview/kotimespanview.h
@@ -31,7 +31,7 @@ class TimeSpanWidget;
class KOTimeSpanView : public KOEventView
{
- Q_OBJECT
+ TQ_OBJECT
public:
KOTimeSpanView( Calendar *calendar, TQWidget *parent = 0,
diff --git a/korganizer/plugins/timespanview/lineview.h b/korganizer/plugins/timespanview/lineview.h
index 5db02c09..26944153 100644
--- a/korganizer/plugins/timespanview/lineview.h
+++ b/korganizer/plugins/timespanview/lineview.h
@@ -29,7 +29,7 @@
class LineView : public TQScrollView
{
- Q_OBJECT
+ TQ_OBJECT
public:
LineView( TQWidget *parent = 0, const char *name = 0 );
diff --git a/korganizer/plugins/timespanview/timeline.h b/korganizer/plugins/timespanview/timeline.h
index 0cb9ad5b..47d3a5d9 100644
--- a/korganizer/plugins/timespanview/timeline.h
+++ b/korganizer/plugins/timespanview/timeline.h
@@ -29,7 +29,7 @@
class TimeLine : public TQScrollView
{
- Q_OBJECT
+ TQ_OBJECT
public:
TimeLine( TQWidget *parent = 0, const char *name = 0 );
diff --git a/korganizer/plugins/timespanview/timespanview.cpp b/korganizer/plugins/timespanview/timespanview.cpp
index 4b3df7ef..5ff4cf0a 100644
--- a/korganizer/plugins/timespanview/timespanview.cpp
+++ b/korganizer/plugins/timespanview/timespanview.cpp
@@ -51,7 +51,7 @@ TimespanView::TimespanView(KOrg::MainWindow *parent, const char *name) :
setXMLFile( "plugins/timespanviewui.rc" );
- new TDEAction( i18n("&Timespan"), "timespan", 0, this, TQT_SLOT( showView() ),
+ new TDEAction( i18n("&Timespan"), "timespan", 0, this, TQ_SLOT( showView() ),
actionCollection(), "view_timespan" );
}
diff --git a/korganizer/plugins/timespanview/timespanview.h b/korganizer/plugins/timespanview/timespanview.h
index ee20bb13..dab3ac48 100644
--- a/korganizer/plugins/timespanview/timespanview.h
+++ b/korganizer/plugins/timespanview/timespanview.h
@@ -24,7 +24,7 @@
#include <korganizer/calendarviewbase.h>
class TimespanView : public KOrg::Part {
- Q_OBJECT
+ TQ_OBJECT
public:
TimespanView(KOrg::MainWindow *, const char *);
diff --git a/korganizer/plugins/timespanview/timespanwidget.cpp b/korganizer/plugins/timespanview/timespanwidget.cpp
index 8b0ff4b3..99f529b3 100644
--- a/korganizer/plugins/timespanview/timespanwidget.cpp
+++ b/korganizer/plugins/timespanview/timespanwidget.cpp
@@ -63,19 +63,19 @@ TimeSpanWidget::TimeSpanWidget( TQWidget *parent, const char *name ) :
TQBoxLayout *buttonLayout = new TQHBoxLayout( rightPaneLayout );
TQPushButton *zoomInButton = new TQPushButton( i18n("Zoom In"), rightPane );
- connect( zoomInButton, TQT_SIGNAL( clicked() ), TQT_SLOT( zoomIn() ) );
+ connect( zoomInButton, TQ_SIGNAL( clicked() ), TQ_SLOT( zoomIn() ) );
buttonLayout->addWidget( zoomInButton );
TQPushButton *zoomOutButton = new TQPushButton( i18n("Zoom Out"), rightPane );
- connect( zoomOutButton, TQT_SIGNAL( clicked() ), TQT_SLOT( zoomOut() ) );
+ connect( zoomOutButton, TQ_SIGNAL( clicked() ), TQ_SLOT( zoomOut() ) );
buttonLayout->addWidget( zoomOutButton );
TQPushButton *centerButton = new TQPushButton( i18n("Center View"), rightPane );
- connect( centerButton, TQT_SIGNAL( clicked() ), TQT_SLOT( centerView() ) );
+ connect( centerButton, TQ_SIGNAL( clicked() ), TQ_SLOT( centerView() ) );
buttonLayout->addWidget( centerButton );
- connect(mLineView->horizontalScrollBar(),TQT_SIGNAL(valueChanged(int)),
- mTimeLine,TQT_SLOT(setContentsPos(int)));
+ connect(mLineView->horizontalScrollBar(),TQ_SIGNAL(valueChanged(int)),
+ mTimeLine,TQ_SLOT(setContentsPos(int)));
}
TimeSpanWidget::~TimeSpanWidget()
diff --git a/korganizer/plugins/timespanview/timespanwidget.h b/korganizer/plugins/timespanview/timespanwidget.h
index cf2991df..187786ad 100644
--- a/korganizer/plugins/timespanview/timespanwidget.h
+++ b/korganizer/plugins/timespanview/timespanwidget.h
@@ -37,7 +37,7 @@ class TimeLine;
class TimeSpanWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
TimeSpanWidget( TQWidget *parent=0, const char *name=0 );